The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES:= \ |
Mathias Agopian | 79f39eb | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 5 | EventThread.cpp \ |
| 6 | Layer.cpp \ |
| 7 | LayerBase.cpp \ |
| 8 | LayerDim.cpp \ |
| 9 | LayerScreenshot.cpp \ |
| 10 | DdmConnection.cpp \ |
| 11 | DisplayHardware/DisplayHardware.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 12 | DisplayHardware/DisplayHardwareBase.cpp \ |
Mathias Agopian | 79f39eb | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 13 | DisplayHardware/HWComposer.cpp \ |
| 14 | DisplayHardware/VSyncBarrier.cpp \ |
| 15 | DisplayEventConnection.cpp \ |
| 16 | GLExtensions.cpp \ |
| 17 | MessageQueue.cpp \ |
| 18 | SurfaceFlinger.cpp \ |
| 19 | SurfaceTextureLayer.cpp \ |
| 20 | Transform.cpp \ |
Mathias Agopian | 7bb843c | 2011-04-20 14:20:59 -0700 | [diff] [blame] | 21 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 22 | |
Mathias Agopian | 1473f46 | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 23 | LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\" |
| 24 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 25 | |
Mathias Agopian | e02f7b3 | 2012-01-24 16:39:14 -0800 | [diff] [blame] | 26 | ifeq ($(TARGET_HAS_WAITFORVSYNC), true) |
| 27 | LOCAL_CFLAGS += -DHAS_WAITFORVSYNC |
| 28 | endif |
| 29 | |
Mathias Agopian | 4cfb3a6 | 2010-06-30 15:43:47 -0700 | [diff] [blame] | 30 | ifeq ($(TARGET_BOARD_PLATFORM), omap3) |
Mathias Agopian | d211230 | 2010-12-07 19:38:17 -0800 | [diff] [blame] | 31 | LOCAL_CFLAGS += -DNO_RGBX_8888 |
Mathias Agopian | 4cfb3a6 | 2010-06-30 15:43:47 -0700 | [diff] [blame] | 32 | endif |
Mathias Agopian | 184df10 | 2011-10-07 15:42:53 -0700 | [diff] [blame] | 33 | ifeq ($(TARGET_BOARD_PLATFORM), omap4) |
| 34 | LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY |
Mathias Agopian | cf7f0c7 | 2012-02-05 01:49:16 -0800 | [diff] [blame] | 35 | LOCAL_CFLAGS += -DUSE_TRIPLE_BUFFERING |
Mathias Agopian | 184df10 | 2011-10-07 15:42:53 -0700 | [diff] [blame] | 36 | endif |
Mathias Agopian | cd54dc2 | 2010-10-11 17:54:43 -0700 | [diff] [blame] | 37 | ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) |
Jamie Gennis | 950de41 | 2011-07-30 15:06:10 -0700 | [diff] [blame] | 38 | LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY -DNEVER_DEFAULT_TO_ASYNC_MODE |
Mathias Agopian | cd54dc2 | 2010-10-11 17:54:43 -0700 | [diff] [blame] | 39 | endif |
| 40 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 41 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | f780d32 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 42 | libcutils \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 43 | libhardware \ |
| 44 | libutils \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 45 | libEGL \ |
Mathias Agopian | f780d32 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 46 | libGLESv1_CM \ |
| 47 | libbinder \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 48 | libui \ |
Mathias Agopian | 696257c | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 49 | libgui |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 50 | |
Mathias Agopian | 93d75ec | 2011-08-15 20:44:40 -0700 | [diff] [blame] | 51 | # this is only needed for DDMS debugging |
| 52 | LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime |
| 53 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 54 | LOCAL_MODULE:= libsurfaceflinger |
| 55 | |
| 56 | include $(BUILD_SHARED_LIBRARY) |