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