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