Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
Mathias Agopian | 5cae0d0 | 2011-10-20 18:42:02 -0700 | [diff] [blame] | 5 | BitTube.cpp \ |
Daniel Lam | 6b091c5 | 2012-01-22 15:26:27 -0800 | [diff] [blame] | 6 | BufferQueue.cpp \ |
Mathias Agopian | d0566bc | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 7 | DisplayEventReceiver.cpp \ |
| 8 | IDisplayEventConnection.cpp \ |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 9 | ISensorEventConnection.cpp \ |
| 10 | ISensorServer.cpp \ |
Jamie Gennis | 8ba32fa | 2010-12-20 11:27:26 -0800 | [diff] [blame] | 11 | ISurfaceTexture.cpp \ |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 12 | Sensor.cpp \ |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 13 | SensorEventQueue.cpp \ |
Jamie Gennis | 8ba32fa | 2010-12-20 11:27:26 -0800 | [diff] [blame] | 14 | SensorManager.cpp \ |
| 15 | SurfaceTexture.cpp \ |
Mathias Agopian | d87f162 | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 16 | SurfaceTextureClient.cpp \ |
| 17 | ISurfaceComposer.cpp \ |
| 18 | ISurface.cpp \ |
| 19 | ISurfaceComposerClient.cpp \ |
| 20 | IGraphicBufferAlloc.cpp \ |
| 21 | LayerState.cpp \ |
Mathias Agopian | d87f162 | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 22 | Surface.cpp \ |
| 23 | SurfaceComposerClient.cpp \ |
Daniel Lam | f71c4ae | 2012-03-23 18:12:04 -0700 | [diff] [blame] | 24 | DummyConsumer.cpp |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 25 | |
| 26 | LOCAL_SHARED_LIBRARIES := \ |
| 27 | libcutils \ |
| 28 | libutils \ |
| 29 | libbinder \ |
| 30 | libhardware \ |
Jamie Gennis | 8ba32fa | 2010-12-20 11:27:26 -0800 | [diff] [blame] | 31 | libhardware_legacy \ |
| 32 | libui \ |
| 33 | libEGL \ |
| 34 | libGLESv2 \ |
Jamie Gennis | 8ba32fa | 2010-12-20 11:27:26 -0800 | [diff] [blame] | 35 | |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 36 | |
| 37 | LOCAL_MODULE:= libgui |
| 38 | |
Daniel Lam | bff957f | 2012-01-22 15:40:56 -0800 | [diff] [blame] | 39 | ifeq ($(TARGET_BOARD_PLATFORM), omap4) |
| 40 | LOCAL_CFLAGS += -DUSE_FENCE_SYNC |
| 41 | endif |
| 42 | ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) |
| 43 | LOCAL_CFLAGS += -DUSE_FENCE_SYNC |
| 44 | endif |
Jesse Hall | e108249 | 2012-05-21 11:23:28 -0700 | [diff] [blame^] | 45 | ifneq ($(filter generic%,$(TARGET_DEVICE)),) |
| 46 | # Emulator build |
| 47 | LOCAL_CFLAGS += -DUSE_FENCE_SYNC |
| 48 | endif |
Daniel Lam | bff957f | 2012-01-22 15:40:56 -0800 | [diff] [blame] | 49 | |
Mathias Agopian | 7c6eba6 | 2011-11-14 19:17:37 -0800 | [diff] [blame] | 50 | ifeq ($(TARGET_BOARD_PLATFORM), tegra) |
| 51 | LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER |
| 52 | endif |
| 53 | |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 54 | include $(BUILD_SHARED_LIBRARY) |
Jamie Gennis | 7fcb077 | 2011-04-26 17:26:37 -0700 | [diff] [blame] | 55 | |
| 56 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 57 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 58 | endif |