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 \ |
Eino-Ville Talvala | e41b318 | 2012-04-16 17:54:33 -0700 | [diff] [blame] | 24 | DummyConsumer.cpp \ |
| 25 | CpuConsumer.cpp |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 26 | |
| 27 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 28 | libbinder \ |
Jesse Hall | ef19414 | 2012-06-14 14:45:17 -0700 | [diff] [blame^] | 29 | libcutils \ |
Jamie Gennis | 8ba32fa | 2010-12-20 11:27:26 -0800 | [diff] [blame] | 30 | libEGL \ |
| 31 | libGLESv2 \ |
Jesse Hall | ef19414 | 2012-06-14 14:45:17 -0700 | [diff] [blame^] | 32 | libhardware \ |
| 33 | libhardware_legacy \ |
| 34 | libsync \ |
| 35 | libui \ |
| 36 | libutils \ |
Jamie Gennis | 8ba32fa | 2010-12-20 11:27:26 -0800 | [diff] [blame] | 37 | |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 38 | |
| 39 | LOCAL_MODULE:= libgui |
| 40 | |
Daniel Lam | bff957f | 2012-01-22 15:40:56 -0800 | [diff] [blame] | 41 | ifeq ($(TARGET_BOARD_PLATFORM), omap4) |
| 42 | LOCAL_CFLAGS += -DUSE_FENCE_SYNC |
| 43 | endif |
| 44 | ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) |
| 45 | LOCAL_CFLAGS += -DUSE_FENCE_SYNC |
| 46 | endif |
Jesse Hall | e108249 | 2012-05-21 11:23:28 -0700 | [diff] [blame] | 47 | ifneq ($(filter generic%,$(TARGET_DEVICE)),) |
| 48 | # Emulator build |
| 49 | LOCAL_CFLAGS += -DUSE_FENCE_SYNC |
| 50 | endif |
Daniel Lam | bff957f | 2012-01-22 15:40:56 -0800 | [diff] [blame] | 51 | |
Mathias Agopian | 7c6eba6 | 2011-11-14 19:17:37 -0800 | [diff] [blame] | 52 | ifeq ($(TARGET_BOARD_PLATFORM), tegra) |
| 53 | LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER |
| 54 | endif |
| 55 | |
Mathias Agopian | 589ce85 | 2010-07-13 22:21:56 -0700 | [diff] [blame] | 56 | include $(BUILD_SHARED_LIBRARY) |
Jamie Gennis | 7fcb077 | 2011-04-26 17:26:37 -0700 | [diff] [blame] | 57 | |
| 58 | ifeq (,$(ONE_SHOT_MAKEFILE)) |
| 59 | include $(call first-makefiles-under,$(LOCAL_PATH)) |
| 60 | endif |