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 | BootAnimation.cpp \ |
| 9 | BlurFilter.cpp.arm \ |
Mathias Agopian | 1473f46 | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 10 | BufferAllocator.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 11 | Layer.cpp \ |
| 12 | LayerBase.cpp \ |
| 13 | LayerBuffer.cpp \ |
| 14 | LayerBlur.cpp \ |
| 15 | LayerBitmap.cpp \ |
| 16 | LayerDim.cpp \ |
| 17 | LayerOrientationAnim.cpp \ |
Mathias Agopian | 3552f53 | 2009-03-27 17:58:20 -0700 | [diff] [blame] | 18 | LayerOrientationAnimRotate.cpp \ |
Mathias Agopian | 6ead5d9 | 2009-04-20 19:39:12 -0700 | [diff] [blame^] | 19 | MessageQueue.cpp \ |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 20 | OrientationAnimation.cpp \ |
| 21 | SurfaceFlinger.cpp \ |
| 22 | Tokenizer.cpp \ |
Mathias Agopian | 1473f46 | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 23 | Transform.cpp |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 24 | |
Mathias Agopian | 1473f46 | 2009-04-10 14:24:30 -0700 | [diff] [blame] | 25 | LOCAL_CFLAGS:= -DLOG_TAG=\"SurfaceFlinger\" |
| 26 | LOCAL_CFLAGS += -DGL_GLEXT_PROTOTYPES -DEGL_EGLEXT_PROTOTYPES |
The Android Open Source Project | 9066cfe | 2009-03-03 19:31:44 -0800 | [diff] [blame] | 27 | |
| 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 := \ |
| 36 | libhardware \ |
| 37 | libutils \ |
| 38 | libcutils \ |
| 39 | libui \ |
| 40 | libcorecg \ |
| 41 | libsgl \ |
| 42 | libpixelflinger \ |
| 43 | libEGL \ |
| 44 | libGLESv1_CM |
| 45 | |
| 46 | LOCAL_C_INCLUDES := \ |
| 47 | $(call include-path-for, corecg graphics) |
| 48 | |
| 49 | LOCAL_MODULE:= libsurfaceflinger |
| 50 | |
| 51 | include $(BUILD_SHARED_LIBRARY) |