blob: 1cda14e44b94be4d850f97b52a6158f74615cb28 [file] [log] [blame]
Mathias Agopian589ce852010-07-13 22:21:56 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_SRC_FILES:= \
Mathias Agopian5cae0d02011-10-20 18:42:02 -07005 BitTube.cpp \
Daniel Lam6b091c52012-01-22 15:26:27 -08006 BufferQueue.cpp \
Mathias Agopiand0566bc2011-11-17 17:49:17 -08007 DisplayEventReceiver.cpp \
8 IDisplayEventConnection.cpp \
Mathias Agopian589ce852010-07-13 22:21:56 -07009 ISensorEventConnection.cpp \
10 ISensorServer.cpp \
Jamie Gennis8ba32fa2010-12-20 11:27:26 -080011 ISurfaceTexture.cpp \
Mathias Agopian589ce852010-07-13 22:21:56 -070012 Sensor.cpp \
Mathias Agopian589ce852010-07-13 22:21:56 -070013 SensorEventQueue.cpp \
Jamie Gennis8ba32fa2010-12-20 11:27:26 -080014 SensorManager.cpp \
15 SurfaceTexture.cpp \
Mathias Agopiand87f1622011-03-25 18:42:40 -070016 SurfaceTextureClient.cpp \
17 ISurfaceComposer.cpp \
18 ISurface.cpp \
19 ISurfaceComposerClient.cpp \
20 IGraphicBufferAlloc.cpp \
21 LayerState.cpp \
Mathias Agopiand87f1622011-03-25 18:42:40 -070022 Surface.cpp \
23 SurfaceComposerClient.cpp \
Eino-Ville Talvalae41b3182012-04-16 17:54:33 -070024 DummyConsumer.cpp \
25 CpuConsumer.cpp
Mathias Agopian589ce852010-07-13 22:21:56 -070026
27LOCAL_SHARED_LIBRARIES := \
Mathias Agopian589ce852010-07-13 22:21:56 -070028 libbinder \
Jesse Hallef194142012-06-14 14:45:17 -070029 libcutils \
Jamie Gennis8ba32fa2010-12-20 11:27:26 -080030 libEGL \
31 libGLESv2 \
Jesse Hallef194142012-06-14 14:45:17 -070032 libhardware \
33 libhardware_legacy \
34 libsync \
35 libui \
36 libutils \
Jamie Gennis8ba32fa2010-12-20 11:27:26 -080037
Mathias Agopian589ce852010-07-13 22:21:56 -070038
39LOCAL_MODULE:= libgui
40
Daniel Lambff957f2012-01-22 15:40:56 -080041ifeq ($(TARGET_BOARD_PLATFORM), omap4)
42 LOCAL_CFLAGS += -DUSE_FENCE_SYNC
43endif
44ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
45 LOCAL_CFLAGS += -DUSE_FENCE_SYNC
46endif
Jesse Halle1082492012-05-21 11:23:28 -070047ifneq ($(filter generic%,$(TARGET_DEVICE)),)
48 # Emulator build
49 LOCAL_CFLAGS += -DUSE_FENCE_SYNC
50endif
Daniel Lambff957f2012-01-22 15:40:56 -080051
Mathias Agopian7c6eba62011-11-14 19:17:37 -080052ifeq ($(TARGET_BOARD_PLATFORM), tegra)
53 LOCAL_CFLAGS += -DALLOW_DEQUEUE_CURRENT_BUFFER
54endif
55
Mathias Agopian589ce852010-07-13 22:21:56 -070056include $(BUILD_SHARED_LIBRARY)
Jamie Gennis7fcb0772011-04-26 17:26:37 -070057
58ifeq (,$(ONE_SHOT_MAKEFILE))
59include $(call first-makefiles-under,$(LOCAL_PATH))
60endif