Android.mk revision 81bac09fa6b01dd1495644d9c825c3666762fced
1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_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 20LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\" 21LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES 22 23ifeq ($(TARGET_BOARD_PLATFORM), omap3) 24 LOCAL_CFLAGS += -DNO_RGBX_8888 25endif 26 27# need "-lrt" on Linux simulator to pick up clock_gettime 28ifeq ($(TARGET_SIMULATOR),true) 29 ifeq ($(HOST_OS),linux) 30 LOCAL_LDLIBS += -lrt -lpthread 31 endif 32endif 33 34LOCAL_SHARED_LIBRARIES := \ 35 libcutils \ 36 libpixelflinger \ 37 libhardware \ 38 libutils \ 39 libEGL \ 40 libGLESv1_CM \ 41 libbinder \ 42 libui \ 43 libsurfaceflinger_client 44 45LOCAL_C_INCLUDES := \ 46 $(call include-path-for, corecg graphics) 47 48LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc 49 50LOCAL_MODULE:= libsurfaceflinger 51 52include $(BUILD_SHARED_LIBRARY) 53