The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
Elliott Hughes | 0713819 | 2015-04-10 09:40:53 -0700 | [diff] [blame] | 4 | LOCAL_SRC_FILES := \ |
| 5 | events.cpp \ |
Elliott Hughes | 07cfb8f | 2015-04-10 13:12:05 -0700 | [diff] [blame] | 6 | graphics.cpp \ |
| 7 | graphics_adf.cpp \ |
Stéphane Marchesin | 1a92c44 | 2015-06-29 20:05:48 -0700 | [diff] [blame] | 8 | graphics_drm.cpp \ |
Elliott Hughes | 07cfb8f | 2015-04-10 13:12:05 -0700 | [diff] [blame] | 9 | graphics_fbdev.cpp \ |
| 10 | resources.cpp \ |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 11 | |
Greg Hackmann | 41909dd | 2014-04-25 10:39:50 -0700 | [diff] [blame] | 12 | LOCAL_WHOLE_STATIC_LIBRARIES += libadf |
Stéphane Marchesin | 1a92c44 | 2015-06-29 20:05:48 -0700 | [diff] [blame] | 13 | LOCAL_WHOLE_STATIC_LIBRARIES += libdrm |
xinglong.zhu | c4fa2c2 | 2016-08-05 14:52:22 +0800 | [diff] [blame] | 14 | LOCAL_WHOLE_STATIC_LIBRARIES += libsync_recovery |
Trevor Drake | fee324f | 2015-02-26 15:57:58 +0000 | [diff] [blame] | 15 | LOCAL_STATIC_LIBRARIES += libpng |
Tianjie Xu | 7aa8874 | 2016-09-28 11:42:17 -0700 | [diff] [blame] | 16 | LOCAL_CFLAGS := -Werror |
Greg Hackmann | 41909dd | 2014-04-25 10:39:50 -0700 | [diff] [blame] | 17 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 18 | LOCAL_MODULE := libminui |
| 19 | |
Elliott Hughes | 0713819 | 2015-04-10 09:40:53 -0700 | [diff] [blame] | 20 | LOCAL_CLANG := true |
Elliott Hughes | 01a4d08 | 2015-03-24 15:21:48 -0700 | [diff] [blame] | 21 | |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 22 | # This used to compare against values in double-quotes (which are just |
| 23 | # ordinary characters in this context). Strip double-quotes from the |
| 24 | # value so that either will work. |
| 25 | |
Tony Kuo | fd778e3 | 2015-02-05 21:25:56 +0800 | [diff] [blame] | 26 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),ABGR_8888) |
| 27 | LOCAL_CFLAGS += -DRECOVERY_ABGR |
| 28 | endif |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 29 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888) |
Michael Ward | 9d1bcdf | 2011-06-22 14:30:34 -0700 | [diff] [blame] | 30 | LOCAL_CFLAGS += -DRECOVERY_RGBX |
| 31 | endif |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 32 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888) |
Michael Ward | 9d1bcdf | 2011-06-22 14:30:34 -0700 | [diff] [blame] | 33 | LOCAL_CFLAGS += -DRECOVERY_BGRA |
Doug Zongker | be3e6f1 | 2011-01-13 16:43:44 -0800 | [diff] [blame] | 34 | endif |
| 35 | |
Doug Zongker | c560a67 | 2012-12-18 16:31:27 -0800 | [diff] [blame] | 36 | ifneq ($(TARGET_RECOVERY_OVERSCAN_PERCENT),) |
| 37 | LOCAL_CFLAGS += -DOVERSCAN_PERCENT=$(TARGET_RECOVERY_OVERSCAN_PERCENT) |
| 38 | else |
| 39 | LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0 |
| 40 | endif |
| 41 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 42 | include $(BUILD_STATIC_LIBRARY) |
Ajay Dudani | 9905f3a | 2015-02-04 16:49:44 -0800 | [diff] [blame] | 43 | |
| 44 | # Used by OEMs for factory test images. |
| 45 | include $(CLEAR_VARS) |
Tao Bao | 80e46e0 | 2015-06-03 10:49:29 -0700 | [diff] [blame] | 46 | LOCAL_CLANG := true |
Ajay Dudani | 9905f3a | 2015-02-04 16:49:44 -0800 | [diff] [blame] | 47 | LOCAL_MODULE := libminui |
| 48 | LOCAL_WHOLE_STATIC_LIBRARIES += libminui |
| 49 | LOCAL_SHARED_LIBRARIES := libpng |
Tianjie Xu | 7aa8874 | 2016-09-28 11:42:17 -0700 | [diff] [blame] | 50 | LOCAL_CFLAGS := -Werror |
Ajay Dudani | 9905f3a | 2015-02-04 16:49:44 -0800 | [diff] [blame] | 51 | include $(BUILD_SHARED_LIBRARY) |