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:= \ |
| 5 | clz.cpp.arm \ |
| 6 | DisplayHardware/DisplayHardware.cpp \ |
| 7 | DisplayHardware/DisplayHardwareBase.cpp \ |
Mathias Agopian | a350ff9 | 2010-08-10 17:14:02 -0700 | [diff] [blame] | 8 | DisplayHardware/HWComposer.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 9 | BlurFilter.cpp.arm \ |
Mathias Agopian | 1f7bec6 | 2010-06-25 18:02:21 -0700 | [diff] [blame] | 10 | GLExtensions.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | Layer.cpp \ |
| 12 | LayerBase.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 13 | LayerBlur.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 14 | LayerDim.cpp \ |
Mathias Agopian | f1d8e87 | 2009-04-20 19:39:12 -0700 | [diff] [blame] | 15 | MessageQueue.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 16 | SurfaceFlinger.cpp \ |
Mathias Agopian | d606de6 | 2010-05-10 20:06:11 -0700 | [diff] [blame] | 17 | TextureManager.cpp \ |
Mathias Agopian | 076b1cc | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 18 | Transform.cpp |
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 | 6722681 | 2010-10-11 17:54:43 -0700 | [diff] [blame] | 26 | ifeq ($(TARGET_BOARD_PLATFORM), s5pc110) |
| 27 | LOCAL_CFLAGS += -DHAS_CONTEXT_PRIORITY |
| 28 | endif |
| 29 | |
Mathias Agopian | a8f3e4e | 2010-06-30 15:43:47 -0700 | [diff] [blame] | 30 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | # need "-lrt" on Linux simulator to pick up clock_gettime |
| 32 | ifeq ($(TARGET_SIMULATOR),true) |
| 33 | ifeq ($(HOST_OS),linux) |
Mathias Agopian | d606003a | 2009-07-13 22:58:25 -0700 | [diff] [blame] | 34 | LOCAL_LDLIBS += -lrt -lpthread |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 35 | endif |
| 36 | endif |
| 37 | |
| 38 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | af54ab9 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 39 | libcutils \ |
| 40 | libpixelflinger \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 41 | libhardware \ |
| 42 | libutils \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 43 | libEGL \ |
Mathias Agopian | af54ab9 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 44 | libGLESv1_CM \ |
| 45 | libbinder \ |
Mathias Agopian | 9cce325 | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 46 | libui \ |
| 47 | libsurfaceflinger_client |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 48 | |
| 49 | LOCAL_C_INCLUDES := \ |
| 50 | $(call include-path-for, corecg graphics) |
| 51 | |
Mathias Agopian | 5911aa9 | 2009-06-24 16:55:59 -0700 | [diff] [blame] | 52 | LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc |
| 53 | |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 54 | LOCAL_MODULE:= libsurfaceflinger |
| 55 | |
| 56 | include $(BUILD_SHARED_LIBRARY) |