Home | History | Annotate | Download | only in surfaceflinger
      1 LOCAL_PATH:= $(call my-dir)
      2 include $(CLEAR_VARS)
      3 
      4 LOCAL_SRC_FILES:= \
      5     clz.cpp.arm \
      6     DisplayHardware/DisplayHardware.cpp \
      7     DisplayHardware/DisplayHardwareBase.cpp \
      8     BlurFilter.cpp.arm \
      9     GLExtensions.cpp \
     10     Layer.cpp \
     11     LayerBase.cpp \
     12     LayerBuffer.cpp \
     13     LayerBlur.cpp \
     14     LayerDim.cpp \
     15     MessageQueue.cpp \
     16     SurfaceFlinger.cpp \
     17     TextureManager.cpp \
     18     Transform.cpp
     19 
     20 LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\"
     21 LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES
     22 
     23 ifeq ($(TARGET_BOARD_PLATFORM), omap3)
     24 	LOCAL_CFLAGS += -DNO_RGBX_8888
     25 endif
     26 ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
     27 	LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY
     28 endif
     29 
     30 
     31 # need "-lrt" on Linux simulator to pick up clock_gettime
     32 ifeq ($(TARGET_SIMULATOR),true)
     33 	ifeq ($(HOST_OS),linux)
     34 		LOCAL_LDLIBS += -lrt -lpthread
     35 	endif
     36 endif
     37 
     38 LOCAL_SHARED_LIBRARIES := \
     39 	libcutils \
     40 	libpixelflinger \
     41 	libhardware \
     42 	libutils \
     43 	libEGL \
     44 	libGLESv1_CM \
     45 	libbinder \
     46 	libui \
     47 	libsurfaceflinger_client
     48 
     49 LOCAL_C_INCLUDES := \
     50 	$(call include-path-for, corecg graphics)
     51 
     52 LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc
     53 
     54 LOCAL_MODULE:= libsurfaceflinger
     55 
     56 include $(BUILD_SHARED_LIBRARY)
     57