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 |
Greg Hackmann | 41909dd | 2014-04-25 10:39:50 -0700 | [diff] [blame] | 16 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 17 | LOCAL_MODULE := libminui |
| 18 | |
Elliott Hughes | 0713819 | 2015-04-10 09:40:53 -0700 | [diff] [blame] | 19 | LOCAL_CLANG := true |
Elliott Hughes | 01a4d08 | 2015-03-24 15:21:48 -0700 | [diff] [blame] | 20 | |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 21 | # This used to compare against values in double-quotes (which are just |
| 22 | # ordinary characters in this context). Strip double-quotes from the |
| 23 | # value so that either will work. |
| 24 | |
Tony Kuo | fd778e3 | 2015-02-05 21:25:56 +0800 | [diff] [blame] | 25 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),ABGR_8888) |
| 26 | LOCAL_CFLAGS += -DRECOVERY_ABGR |
| 27 | endif |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 28 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),RGBX_8888) |
Michael Ward | 9d1bcdf | 2011-06-22 14:30:34 -0700 | [diff] [blame] | 29 | LOCAL_CFLAGS += -DRECOVERY_RGBX |
| 30 | endif |
Doug Zongker | 9c5efe6 | 2012-07-11 13:21:02 -0700 | [diff] [blame] | 31 | ifeq ($(subst ",,$(TARGET_RECOVERY_PIXEL_FORMAT)),BGRA_8888) |
Michael Ward | 9d1bcdf | 2011-06-22 14:30:34 -0700 | [diff] [blame] | 32 | LOCAL_CFLAGS += -DRECOVERY_BGRA |
Doug Zongker | be3e6f1 | 2011-01-13 16:43:44 -0800 | [diff] [blame] | 33 | endif |
| 34 | |
Doug Zongker | c560a67 | 2012-12-18 16:31:27 -0800 | [diff] [blame] | 35 | ifneq ($(TARGET_RECOVERY_OVERSCAN_PERCENT),) |
| 36 | LOCAL_CFLAGS += -DOVERSCAN_PERCENT=$(TARGET_RECOVERY_OVERSCAN_PERCENT) |
| 37 | else |
| 38 | LOCAL_CFLAGS += -DOVERSCAN_PERCENT=0 |
| 39 | endif |
| 40 | |
The Android Open Source Project | c24a8e6 | 2009-03-03 19:28:42 -0800 | [diff] [blame] | 41 | include $(BUILD_STATIC_LIBRARY) |
Ajay Dudani | 9905f3a | 2015-02-04 16:49:44 -0800 | [diff] [blame] | 42 | |
| 43 | # Used by OEMs for factory test images. |
| 44 | include $(CLEAR_VARS) |
Tao Bao | 80e46e0 | 2015-06-03 10:49:29 -0700 | [diff] [blame] | 45 | LOCAL_CLANG := true |
Ajay Dudani | 9905f3a | 2015-02-04 16:49:44 -0800 | [diff] [blame] | 46 | LOCAL_MODULE := libminui |
| 47 | LOCAL_WHOLE_STATIC_LIBRARIES += libminui |
| 48 | LOCAL_SHARED_LIBRARIES := libpng |
| 49 | include $(BUILD_SHARED_LIBRARY) |