1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES:= \ 5 ISurfaceComposer.cpp \ 6 ISurface.cpp \ 7 ISurfaceFlingerClient.cpp \ 8 LayerState.cpp \ 9 SharedBufferStack.cpp \ 10 Surface.cpp \ 11 SurfaceComposerClient.cpp 12 13 LOCAL_SHARED_LIBRARIES := \ 14 libcutils \ 15 libutils \ 16 libbinder \ 17 libhardware \ 18 libui 19 20 LOCAL_MODULE:= libsurfaceflinger_client 21 22 ifeq ($(TARGET_SIMULATOR),true) 23 LOCAL_LDLIBS += -lpthread 24 endif 25 26 include $(BUILD_SHARED_LIBRARY) 27