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 | 076b1cc | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 9 | BufferAllocator.cpp \ |
The Android Open Source Project | edbf3b6 | 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 | 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 | |
| 24 | # need "-lrt" on Linux simulator to pick up clock_gettime |
| 25 | ifeq ($(TARGET_SIMULATOR),true) |
| 26 | ifeq ($(HOST_OS),linux) |
| 27 | LOCAL_LDLIBS += -lrt |
| 28 | endif |
| 29 | endif |
| 30 | |
| 31 | LOCAL_SHARED_LIBRARIES := \ |
| 32 | libhardware \ |
| 33 | libutils \ |
Mathias Agopian | 208059f | 2009-05-18 15:08:03 -0700 | [diff] [blame] | 34 | libbinder \ |
The Android Open Source Project | edbf3b6 | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 35 | libcutils \ |
| 36 | libui \ |
| 37 | libcorecg \ |
| 38 | libsgl \ |
| 39 | libpixelflinger \ |
| 40 | libEGL \ |
| 41 | libGLESv1_CM |
| 42 | |
| 43 | LOCAL_C_INCLUDES := \ |
| 44 | $(call include-path-for, corecg graphics) |
| 45 | |
| 46 | LOCAL_MODULE:= libsurfaceflinger |
| 47 | |
| 48 | include $(BUILD_SHARED_LIBRARY) |