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:= \ |
| 5 | clz.cpp.arm \ |
| 6 | DisplayHardware/DisplayHardware.cpp \ |
| 7 | DisplayHardware/DisplayHardwareBase.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 8 | BlurFilter.cpp.arm \ |
Mathias Agopian | 781953d | 2010-06-25 18:02:21 -0700 | [diff] [blame] | 9 | GLExtensions.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 10 | Layer.cpp \ |
| 11 | LayerBase.cpp \ |
| 12 | LayerBuffer.cpp \ |
| 13 | LayerBlur.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 14 | LayerDim.cpp \ |
Mathias Agopian | 6ead5d9 | 2009-04-20 19:39:12 -0700 | [diff] [blame] | 15 | MessageQueue.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 16 | SurfaceFlinger.cpp \ |
Mathias Agopian | 9f2c4fd | 2010-05-10 20:06:11 -0700 | [diff] [blame] | 17 | TextureManager.cpp \ |
Mathias Agopian | 1473f46 | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 18 | Transform.cpp |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 19 | |
Mathias Agopian | 1473f46 | 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 | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 22 | |
Mathias Agopian | 4cfb3a6 | 2010-06-30 15:43:47 -0700 | [diff] [blame] | 23 | ifeq ($(TARGET_BOARD_PLATFORM), omap3) |
| 24 | LOCAL_CFLAGS += -DNO_RGBX_8888 |
| 25 | endif |
| 26 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 27 | # need "-lrt" on Linux simulator to pick up clock_gettime |
| 28 | ifeq ($(TARGET_SIMULATOR),true) |
| 29 | ifeq ($(HOST_OS),linux) |
Mathias Agopian | ac2dd4d | 2009-07-13 22:58:25 -0700 | [diff] [blame] | 30 | LOCAL_LDLIBS += -lrt -lpthread |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 31 | endif |
| 32 | endif |
| 33 | |
| 34 | LOCAL_SHARED_LIBRARIES := \ |
Mathias Agopian | f780d32 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 35 | libcutils \ |
| 36 | libpixelflinger \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 37 | libhardware \ |
| 38 | libutils \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 39 | libEGL \ |
Mathias Agopian | f780d32 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 40 | libGLESv1_CM \ |
| 41 | libbinder \ |
Mathias Agopian | 000479f | 2010-02-09 17:46:37 -0800 | [diff] [blame] | 42 | libui \ |
| 43 | libsurfaceflinger_client |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 44 | |
| 45 | LOCAL_C_INCLUDES := \ |
| 46 | $(call include-path-for, corecg graphics) |
| 47 | |
Mathias Agopian | 2eab9d8 | 2009-06-24 16:55:59 -0700 | [diff] [blame] | 48 | LOCAL_C_INCLUDES += hardware/libhardware/modules/gralloc |
| 49 | |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 50 | LOCAL_MODULE:= libsurfaceflinger |
| 51 | |
| 52 | include $(BUILD_SHARED_LIBRARY) |