blob: b7a464fdaf54bc54c3daf54075820ce9a170c483 [file] [log] [blame]
The Android Open Source Project9066cfe2009-03-03 19:31:44 -08001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
5 clz.cpp.arm \
6 DisplayHardware/DisplayHardware.cpp \
7 DisplayHardware/DisplayHardwareBase.cpp \
8 GPUHardware/GPUHardware.cpp \
9 BootAnimation.cpp \
10 BlurFilter.cpp.arm \
11 CPUGauge.cpp \
12 Layer.cpp \
13 LayerBase.cpp \
14 LayerBuffer.cpp \
15 LayerBlur.cpp \
16 LayerBitmap.cpp \
17 LayerDim.cpp \
18 LayerOrientationAnim.cpp \
Mathias Agopian3552f532009-03-27 17:58:20 -070019 LayerOrientationAnimRotate.cpp \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080020 OrientationAnimation.cpp \
21 SurfaceFlinger.cpp \
22 Tokenizer.cpp \
23 Transform.cpp \
24 VRamHeap.cpp
25
26
27# need "-lrt" on Linux simulator to pick up clock_gettime
28ifeq ($(TARGET_SIMULATOR),true)
29 ifeq ($(HOST_OS),linux)
30 LOCAL_LDLIBS += -lrt
31 endif
32endif
33
34LOCAL_SHARED_LIBRARIES := \
35 libhardware \
36 libutils \
Mathias Agopian25ba5b62009-05-18 15:08:03 -070037 libbinder \
The Android Open Source Project9066cfe2009-03-03 19:31:44 -080038 libcutils \
39 libui \
40 libcorecg \
41 libsgl \
42 libpixelflinger \
43 libEGL \
44 libGLESv1_CM
45
46LOCAL_C_INCLUDES := \
47 $(call include-path-for, corecg graphics)
48
49LOCAL_MODULE:= libsurfaceflinger
50
51include $(BUILD_SHARED_LIBRARY)