Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
Dan Albert | 88ba339 | 2014-09-11 16:20:16 -0700 | [diff] [blame] | 3 | LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 4 | |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 5 | # Only build libhwui when USE_OPENGL_RENDERER is |
| 6 | # defined in the current device/board configuration |
| 7 | ifeq ($(USE_OPENGL_RENDERER),true) |
Andreas Gampe | edaecc1 | 2014-11-10 20:54:07 -0800 | [diff] [blame] | 8 | LOCAL_MODULE_CLASS := SHARED_LIBRARIES |
Andreas Gampe | edaecc1 | 2014-11-10 20:54:07 -0800 | [diff] [blame] | 9 | LOCAL_MODULE := libhwui |
| 10 | LOCAL_MODULE_TAGS := optional |
Romain Guy | 8a4ac61 | 2012-07-17 17:32:48 -0700 | [diff] [blame] | 11 | |
John Reck | 35cf58a | 2014-12-18 13:14:40 -0800 | [diff] [blame^] | 12 | include $(LOCAL_PATH)/Android.common.mk |
Romain Guy | e4d0112 | 2010-06-16 18:44:05 -0700 | [diff] [blame] | 13 | |
Andreas Gampe | edaecc1 | 2014-11-10 20:54:07 -0800 | [diff] [blame] | 14 | include $(BUILD_SHARED_LIBRARY) |
| 15 | |
| 16 | include $(call all-makefiles-under,$(LOCAL_PATH)) |
Romain Guy | 1639351 | 2010-08-08 00:14:31 -0700 | [diff] [blame] | 17 | endif |