blob: 1b73fbd8cbf6637e8bf34ed09596ea085bdab4d0 [file] [log] [blame]
Romain Guye4d01122010-06-16 18:44:05 -07001LOCAL_PATH:= $(call my-dir)
2include $(CLEAR_VARS)
Dan Albert88ba3392014-09-11 16:20:16 -07003LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
Romain Guye4d01122010-06-16 18:44:05 -07004
Romain Guy16393512010-08-08 00:14:31 -07005# Only build libhwui when USE_OPENGL_RENDERER is
6# defined in the current device/board configuration
7ifeq ($(USE_OPENGL_RENDERER),true)
Andreas Gampeedaecc12014-11-10 20:54:07 -08008 LOCAL_MODULE_CLASS := SHARED_LIBRARIES
Andreas Gampeedaecc12014-11-10 20:54:07 -08009 LOCAL_MODULE := libhwui
10 LOCAL_MODULE_TAGS := optional
Romain Guy8a4ac612012-07-17 17:32:48 -070011
John Reck35cf58a2014-12-18 13:14:40 -080012 include $(LOCAL_PATH)/Android.common.mk
Romain Guye4d01122010-06-16 18:44:05 -070013
Andreas Gampeedaecc12014-11-10 20:54:07 -080014 include $(BUILD_SHARED_LIBRARY)
15
16 include $(call all-makefiles-under,$(LOCAL_PATH))
Romain Guy16393512010-08-08 00:14:31 -070017endif