Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) |
| 5 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 6 | LOCAL_MODULE_TAGS := optional |
Dileep Marchya | 73d002e | 2015-05-08 18:58:33 -0700 | [diff] [blame] | 7 | LOCAL_C_INCLUDES := hardware/qcom/display/sdm/include/ \ |
Dileep Marchya | 1fcbb06 | 2014-12-05 14:29:39 -0800 | [diff] [blame] | 8 | hardware/qcom/display/libgralloc/ \ |
Ramkumar Radhakrishnan | befbdbe | 2015-01-14 20:14:40 -0800 | [diff] [blame] | 9 | hardware/qcom/display/libqservice/ \ |
Arun Kumar K.R | 3d92caf | 2014-12-23 18:22:05 -0800 | [diff] [blame] | 10 | hardware/qcom/display/libqdutils/ \ |
Saurabh Shah | bf44c9f | 2015-06-30 14:57:59 -0700 | [diff] [blame^] | 11 | hardware/qcom/display/libcopybit/ \ |
| 12 | external/libcxx/include/ |
Arun Kumar K.R | 3d92caf | 2014-12-23 18:22:05 -0800 | [diff] [blame] | 13 | |
Dileep Marchya | 1fcbb06 | 2014-12-05 14:29:39 -0800 | [diff] [blame] | 14 | LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \ |
Naseer Ahmed | b3b0a33 | 2015-06-05 19:14:32 -0400 | [diff] [blame] | 15 | -Wall -Werror -std=c++11 -fcolor-diagnostics\ |
Dileep Marchya | 73d002e | 2015-05-08 18:58:33 -0700 | [diff] [blame] | 16 | -DLOG_TAG=\"SDM\" |
Naseer Ahmed | b3b0a33 | 2015-06-05 19:14:32 -0400 | [diff] [blame] | 17 | LOCAL_CLANG := true |
Shalaj Jain | 3b0b570 | 2015-05-06 19:24:57 -0700 | [diff] [blame] | 18 | |
| 19 | # TODO: Move this to the common makefile |
| 20 | ifeq ($(call is-board-platform-in-list, $(MASTER_SIDE_CP_TARGET_LIST)), true) |
| 21 | LOCAL_CFLAGS += -DMASTER_SIDE_CP |
| 22 | endif |
| 23 | |
Dileep Marchya | 73d002e | 2015-05-08 18:58:33 -0700 | [diff] [blame] | 24 | LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 25 | libutils libcutils libsync libmemalloc libqdutils libdl \ |
Saurabh Shah | bf44c9f | 2015-06-30 14:57:59 -0700 | [diff] [blame^] | 26 | libpowermanager libsdmutils libc++ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 27 | |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 28 | LOCAL_SRC_FILES := hwc_session.cpp \ |
Ramkumar Radhakrishnan | d33432e | 2014-11-16 13:23:19 -0800 | [diff] [blame] | 29 | hwc_display.cpp \ |
| 30 | hwc_display_primary.cpp \ |
| 31 | hwc_display_external.cpp \ |
Dileep Marchya | 3ffb470 | 2014-12-04 16:31:37 -0800 | [diff] [blame] | 32 | hwc_display_virtual.cpp \ |
Ramkumar Radhakrishnan | befbdbe | 2015-01-14 20:14:40 -0800 | [diff] [blame] | 33 | hwc_debugger.cpp \ |
| 34 | hwc_buffer_allocator.cpp \ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 35 | hwc_buffer_sync_handler.cpp \ |
Arun Kumar K.R | 3d92caf | 2014-12-23 18:22:05 -0800 | [diff] [blame] | 36 | hwc_color_manager.cpp \ |
| 37 | blit_engine_c2d.cpp |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 38 | |
| 39 | include $(BUILD_SHARED_LIBRARY) |