392edd88cb
This change moves the GraphicBufferAlloc class from SurfaceFlinger to libgui. Change-Id: Idf31d2004efa2651b60590733f73c4a7b831e8a9
67 lines
1.3 KiB
Makefile
67 lines
1.3 KiB
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
BitTube.cpp \
|
|
BufferItemConsumer.cpp \
|
|
BufferQueue.cpp \
|
|
ConsumerBase.cpp \
|
|
CpuConsumer.cpp \
|
|
DisplayEventReceiver.cpp \
|
|
DummyConsumer.cpp \
|
|
GraphicBufferAlloc.cpp \
|
|
GuiConfig.cpp \
|
|
IDisplayEventConnection.cpp \
|
|
IGraphicBufferAlloc.cpp \
|
|
ISensorEventConnection.cpp \
|
|
ISensorServer.cpp \
|
|
ISurface.cpp \
|
|
ISurfaceComposer.cpp \
|
|
ISurfaceComposerClient.cpp \
|
|
ISurfaceTexture.cpp \
|
|
LayerState.cpp \
|
|
Sensor.cpp \
|
|
SensorEventQueue.cpp \
|
|
SensorManager.cpp \
|
|
Surface.cpp \
|
|
SurfaceComposerClient.cpp \
|
|
SurfaceTexture.cpp \
|
|
SurfaceTextureClient.cpp \
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libbinder \
|
|
libcutils \
|
|
libEGL \
|
|
libGLESv2 \
|
|
libsync \
|
|
libui \
|
|
libutils \
|
|
|
|
|
|
LOCAL_MODULE:= libgui
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), omap4)
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), s5pc110)
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
endif
|
|
ifeq ($(TARGET_BOARD_PLATFORM), exynos5)
|
|
LOCAL_CFLAGS += -DUSE_NATIVE_FENCE_SYNC
|
|
LOCAL_CFLAGS += -DUSE_WAIT_SYNC
|
|
endif
|
|
ifneq ($(filter generic%,$(TARGET_DEVICE)),)
|
|
# Emulator build
|
|
LOCAL_CFLAGS += -DUSE_FENCE_SYNC
|
|
endif
|
|
|
|
ifeq ($(TARGET_BOARD_PLATFORM), msm8960)
|
|
LOCAL_CFLAGS += -DUSE_NATIVE_FENCE_SYNC
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|
|
|
|
ifeq (,$(ONE_SHOT_MAKEFILE))
|
|
include $(call first-makefiles-under,$(LOCAL_PATH))
|
|
endif
|