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 \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 8 | BlurFilter.cpp.arm \ |
Mathias Agopian | cbb288b | 2009-09-07 16:32:45 -0700 | [diff] [blame] | 9 | Buffer.cpp \ |
Mathias Agopian | 076b1cc | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 10 | BufferAllocator.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | Layer.cpp \ |
| 12 | LayerBase.cpp \ |
| 13 | LayerBuffer.cpp \ |
| 14 | LayerBlur.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 15 | LayerDim.cpp \ |
Mathias Agopian | f1d8e87 | 2009-04-20 19:39:12 -0700 | [diff] [blame] | 16 | MessageQueue.cpp \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 17 | SurfaceFlinger.cpp \ |
| 18 | Tokenizer.cpp \ |
Mathias Agopian | 076b1cc | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 19 | Transform.cpp |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 20 | |
Mathias Agopian | 076b1cc | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 21 | LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\" |
| 22 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 23 | |
Mathias Agopian | 945ebbf | 2009-06-18 18:48:39 -0700 | [diff] [blame] | 24 | ifeq ($(TARGET_BOARD_PLATFORM), msm7k) |
| 25 | LOCAL_CFLAGS += -DDIM_WITH_TEXTURE |
| 26 | endif |
Mathias Agopian | af0b0f0 | 2009-08-10 21:13:06 -0700 | [diff] [blame] | 27 | ifeq ($(TARGET_BOARD_PLATFORM), qsd8k) |
| 28 | LOCAL_CFLAGS += -DDIM_WITH_TEXTURE |
| 29 | endif |
Mathias Agopian | 945ebbf | 2009-06-18 18:48:39 -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 \ |
Mike Reed | e0528ba | 2009-07-10 15:33:21 -0400 | [diff] [blame] | 43 | libskia \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 44 | libEGL \ |
Mathias Agopian | af54ab9 | 2009-07-02 19:04:39 -0700 | [diff] [blame] | 45 | libGLESv1_CM \ |
| 46 | libbinder \ |
| 47 | libui |
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) |