1 LOCAL_PATH:= $(call my-dir) 2 include $(CLEAR_VARS) 3 4 LOCAL_SRC_FILES:= \ 5 BitTube.cpp \ 6 BufferItemConsumer.cpp \ 7 BufferQueue.cpp \ 8 ConsumerBase.cpp \ 9 CpuConsumer.cpp \ 10 DisplayEventReceiver.cpp \ 11 DummyConsumer.cpp \ 12 GLConsumer.cpp \ 13 GraphicBufferAlloc.cpp \ 14 GuiConfig.cpp \ 15 IDisplayEventConnection.cpp \ 16 IGraphicBufferAlloc.cpp \ 17 IGraphicBufferProducer.cpp \ 18 ISensorEventConnection.cpp \ 19 ISensorServer.cpp \ 20 ISurfaceComposer.cpp \ 21 ISurfaceComposerClient.cpp \ 22 LayerState.cpp \ 23 Sensor.cpp \ 24 SensorEventQueue.cpp \ 25 SensorManager.cpp \ 26 Surface.cpp \ 27 SurfaceControl.cpp \ 28 SurfaceComposerClient.cpp \ 29 SyncFeatures.cpp \ 30 31 LOCAL_SHARED_LIBRARIES := \ 32 libbinder \ 33 libcutils \ 34 libEGL \ 35 libGLESv2 \ 36 libsync \ 37 libui \ 38 libutils \ 39 liblog 40 41 42 LOCAL_MODULE:= libgui 43 44 ifeq ($(TARGET_BOARD_PLATFORM), tegra) 45 LOCAL_CFLAGS += -DDONT_USE_FENCE_SYNC 46 endif 47 ifeq ($(TARGET_BOARD_PLATFORM), tegra3) 48 LOCAL_CFLAGS += -DDONT_USE_FENCE_SYNC 49 endif 50 51 include $(BUILD_SHARED_LIBRARY) 52 53 ifeq (,$(ONE_SHOT_MAKEFILE)) 54 include $(call first-makefiles-under,$(LOCAL_PATH)) 55 endif 56