The Android Open Source Project | edbf3b6 | 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 | d0566bc | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 5 | EventThread.cpp \ |
| 6 | Layer.cpp \ |
| 7 | LayerBase.cpp \ |
| 8 | LayerDim.cpp \ |
| 9 | LayerScreenshot.cpp \ |
Mathias Agopian | d0566bc | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 10 | DisplayHardware/DisplayHardware.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | DisplayHardware/DisplayHardwareBase.cpp \ |
Mathias Agopian | d0566bc | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 12 | DisplayHardware/HWComposer.cpp \ |
Mathias Agopian | d0566bc | 2011-11-17 17:49:17 -0800 | [diff] [blame] | 13 | GLExtensions.cpp \ |
| 14 | MessageQueue.cpp \ |
| 15 | SurfaceFlinger.cpp \ |
| 16 | SurfaceTextureLayer.cpp \ |
| 17 | Transform.cpp \ |
Mathias Agopian | a67932f | 2011-04-20 14:20:59 -0700 | [diff] [blame] | 18 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 19 | |
Mathias Agopian | 076b1cc | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 20 | LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\" |
| 21 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 22 | |
Mathias Agopian | a8f3e4e | 2010-06-30 15:43:47 -0700 | [diff] [blame] | 23 | ifeq ($(TARGET_BOARD_PLATFORM), omap3) |
Mathias Agopian | a5529c8 | 2010-12-07 19:38:17 -0800 | [diff] [blame] | 24 | LOCAL_CFLAGS += -DNO_RGBX_8888 |
Mathias Agopian | a8f3e4e | 2010-06-30 15:43:47 -0700 | [diff] [blame] | 25 | endif |
Mathias Agopian | 57bf9e7 | 2011-10-07 15:42:53 -0700 | [diff] [blame] | 26 | ifeq ($(TARGET_BOARD_PLATFORM), omap4) |
| 27 | LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY |
| 28 | endif |
Mathias Agopian | 6722681 | 2010-10-11 17:54:43 -0700 | [diff] [blame] | 29 | ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) |
Mathias Agopian | 7f42a9c | 2012-04-23 20:00:16 -0700 | [diff] [blame^] | 30 | LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY |
| 31 | LOCAL_CFLAGS += -DNEVER_DEFAULT_TO_ASYNC_MODE |
| 32 | endif |
| 33 | |
| 34 | ifeq ($(TARGET_DISABLE_TRIPLE_BUFFERING), true) |
| 35 | LOCAL_CFLAGS += -DTARGET_DISABLE_TRIPLE_BUFFERING |
Mathias Agopian | 6722681 | 2010-10-11 17:54:43 -0700 | [diff] [blame] | 36 | endif |
| 37 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 38 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | af54ab9 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 39 | libcutils \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 40 | libhardware \ |
| 41 | libutils \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 42 | libEGL \ |
Mathias Agopian | af54ab9 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 43 | libGLESv1_CM \ |
| 44 | libbinder \ |
Mathias Agopian | 9cce325 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 45 | libui \ |
Mathias Agopian | d87f162 | 2011-03-25 18:42:40 -0700 | [diff] [blame] | 46 | libgui |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 47 | |
Mathias Agopian | 8afb7e3 | 2011-08-15 20:44:40 -0700 | [diff] [blame] | 48 | # this is only needed for DDMS debugging |
Colin Cross | 3854ed5 | 2012-03-23 14:17:18 -0700 | [diff] [blame] | 49 | ifneq ($(TARGET_BUILD_PDK), true) |
| 50 | LOCAL_SHARED_LIBRARIES += libdvm libandroid_runtime |
| 51 | LOCAL_CLFAGS += -DDDMS_DEBUGGING |
| 52 | LOCAL_SRC_FILES += DdmConnection.cpp |
| 53 | endif |
Mathias Agopian | 8afb7e3 | 2011-08-15 20:44:40 -0700 | [diff] [blame] | 54 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 55 | LOCAL_MODULE:= libsurfaceflinger |
| 56 | |
| 57 | include $(BUILD_SHARED_LIBRARY) |