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