SetupWizardLibrary/library/common.mk
Adam Lesinski f397a1d275 Build with AAPT2
Change-Id: Id48c7095055860898a2ab75fea3ea83b723b3b92
2016-08-15 15:40:50 -07:00

24 lines
744 B
Makefile

#
# Include this make file to build your application against this module.
#
# Make sure to include it after you've set all your desired LOCAL variables.
# Note that you must explicitly set your LOCAL_RESOURCE_DIR before including this file.
#
# For example:
#
# LOCAL_RESOURCE_DIR := \
# $(LOCAL_PATH)/res
#
# include frameworks/opt/setupwizard/library/common.mk
#
ifneq ($(LOCAL_USE_AAPT2),true)
LOCAL_RESOURCE_DIR += \
$(call my-dir)/main/res \
$(call my-dir)/platform/res
LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.setupwizardlib
LOCAL_STATIC_JAVA_LIBRARIES += setup-wizard-lib
else # LOCAL_USE_AAPT2 := true
LOCAL_STATIC_ANDROID_LIBRARIES += setup-wizard-lib
endif # LOCAL_USE_AAPT2