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) |
Naseer Ahmed | d68b47d | 2016-04-05 17:40:02 -0400 | [diff] [blame^] | 3 | include $(LOCAL_PATH)/../../../common.mk |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 4 | |
| 5 | LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) |
| 6 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 7 | LOCAL_MODULE_TAGS := optional |
Naseer Ahmed | d68b47d | 2016-04-05 17:40:02 -0400 | [diff] [blame^] | 8 | LOCAL_C_INCLUDES := $(common_includes) |
Arun Kumar K.R | 3d92caf | 2014-12-23 18:22:05 -0800 | [diff] [blame] | 9 | |
Dileep Marchya | 1fcbb06 | 2014-12-05 14:29:39 -0800 | [diff] [blame] | 10 | LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \ |
Naseer Ahmed | d68b47d | 2016-04-05 17:40:02 -0400 | [diff] [blame^] | 11 | -std=c++11 -fcolor-diagnostics\ |
| 12 | -DLOG_TAG=\"SDM\" $(common_flags) |
Naseer Ahmed | b3b0a33 | 2015-06-05 19:14:32 -0400 | [diff] [blame] | 13 | LOCAL_CLANG := true |
Shalaj Jain | 3b0b570 | 2015-05-06 19:24:57 -0700 | [diff] [blame] | 14 | |
Dileep Marchya | 73d002e | 2015-05-08 18:58:33 -0700 | [diff] [blame] | 15 | LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 16 | libutils libcutils libsync libmemalloc libqdutils libdl \ |
Saurabh Shah | bf44c9f | 2015-06-30 14:57:59 -0700 | [diff] [blame] | 17 | libpowermanager libsdmutils libc++ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 18 | |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 19 | LOCAL_SRC_FILES := hwc_session.cpp \ |
Ramkumar Radhakrishnan | d33432e | 2014-11-16 13:23:19 -0800 | [diff] [blame] | 20 | hwc_display.cpp \ |
| 21 | hwc_display_primary.cpp \ |
| 22 | hwc_display_external.cpp \ |
Dileep Marchya | 3ffb470 | 2014-12-04 16:31:37 -0800 | [diff] [blame] | 23 | hwc_display_virtual.cpp \ |
Ramkumar Radhakrishnan | befbdbe | 2015-01-14 20:14:40 -0800 | [diff] [blame] | 24 | hwc_debugger.cpp \ |
| 25 | hwc_buffer_allocator.cpp \ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 26 | hwc_buffer_sync_handler.cpp \ |
Arun Kumar K.R | 3d92caf | 2014-12-23 18:22:05 -0800 | [diff] [blame] | 27 | hwc_color_manager.cpp \ |
Saurabh Shah | 909c979 | 2015-07-06 15:59:01 -0700 | [diff] [blame] | 28 | blit_engine_c2d.cpp \ |
| 29 | cpuhint.cpp |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 30 | |
| 31 | include $(BUILD_SHARED_LIBRARY) |