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 |
Naseer Ahmed | b92e73f | 2016-03-12 02:03:48 -0500 | [diff] [blame] | 4 | ifeq ($(use_hwc2),false) |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 5 | |
| 6 | LOCAL_MODULE := hwcomposer.$(TARGET_BOARD_PLATFORM) |
Naseer Ahmed | 9c7ab94 | 2017-02-22 18:28:25 -0500 | [diff] [blame] | 7 | |
| 8 | ifneq ($(TARGET_IS_HEADLESS), true) |
| 9 | LOCAL_MODULE_PATH_32 := $(TARGET_OUT_VENDOR)/lib |
| 10 | LOCAL_MODULE_PATH_64 := $(TARGET_OUT_VENDOR)/lib64 |
| 11 | endif |
| 12 | |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 13 | LOCAL_MODULE_RELATIVE_PATH := hw |
| 14 | LOCAL_MODULE_TAGS := optional |
Naseer Ahmed | d68b47d | 2016-04-05 17:40:02 -0400 | [diff] [blame] | 15 | LOCAL_C_INCLUDES := $(common_includes) |
Arun Kumar K.R | 3d92caf | 2014-12-23 18:22:05 -0800 | [diff] [blame] | 16 | |
Dileep Marchya | 1fcbb06 | 2014-12-05 14:29:39 -0800 | [diff] [blame] | 17 | LOCAL_CFLAGS := -Wno-missing-field-initializers -Wno-unused-parameter \ |
Naseer Ahmed | d68b47d | 2016-04-05 17:40:02 -0400 | [diff] [blame] | 18 | -std=c++11 -fcolor-diagnostics\ |
| 19 | -DLOG_TAG=\"SDM\" $(common_flags) |
Naseer Ahmed | b3b0a33 | 2015-06-05 19:14:32 -0400 | [diff] [blame] | 20 | LOCAL_CLANG := true |
Shalaj Jain | 3b0b570 | 2015-05-06 19:24:57 -0700 | [diff] [blame] | 21 | |
Dileep Marchya | 73d002e | 2015-05-08 18:58:33 -0700 | [diff] [blame] | 22 | LOCAL_SHARED_LIBRARIES := libsdmcore libqservice libbinder libhardware libhardware_legacy \ |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 23 | libutils libcutils libsync libmemalloc libqdutils libdl \ |
Saurabh Shah | a228f12 | 2017-01-23 15:55:25 -0800 | [diff] [blame] | 24 | libpowermanager libsdmutils libgpu_tonemapper libc++ liblog \ |
| 25 | libdrmutils |
Lei Zhou | 59f2fcc | 2015-04-25 08:47:11 -0400 | [diff] [blame] | 26 | |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 27 | LOCAL_SRC_FILES := hwc_session.cpp \ |
Ramkumar Radhakrishnan | d33432e | 2014-11-16 13:23:19 -0800 | [diff] [blame] | 28 | hwc_display.cpp \ |
Tatenda Chipeperekwa | 38e9e79 | 2016-04-15 13:12:28 -0700 | [diff] [blame] | 29 | hwc_display_null.cpp \ |
Ramkumar Radhakrishnan | d33432e | 2014-11-16 13:23:19 -0800 | [diff] [blame] | 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 \ |
Saurabh Shah | 909c979 | 2015-07-06 15:59:01 -0700 | [diff] [blame] | 37 | blit_engine_c2d.cpp \ |
Arun Kumar K.R | bf2b25c | 2016-11-09 01:32:25 -0800 | [diff] [blame] | 38 | cpuhint.cpp \ |
Sushil Chauhan | f27f5e7 | 2016-12-09 15:16:15 -0800 | [diff] [blame] | 39 | hwc_tonemapper.cpp \ |
Ramkumar Radhakrishnan | b3d15b6 | 2017-01-06 22:35:06 -0800 | [diff] [blame] | 40 | hwc_socket_handler.cpp \ |
| 41 | hwc_display_external_test.cpp |
Dileep Marchya | 96db258 | 2014-10-27 20:58:37 -0700 | [diff] [blame] | 42 | |
| 43 | include $(BUILD_SHARED_LIBRARY) |
Naseer Ahmed | b92e73f | 2016-03-12 02:03:48 -0500 | [diff] [blame] | 44 | endif |