1# DEPRECATED: This variant is no longer maintained. Use common-gingerbread instead
2#
3# Include this make file to build your application against this module.
4#
5# Make sure to include it after you've set all your desired LOCAL variables.
6# Note that you must explicitly set your LOCAL_RESOURCE_DIR before including this file.
7#
8# For example:
9#
10#   LOCAL_RESOURCE_DIR := \
11#        $(LOCAL_PATH)/res
12#
13#   include frameworks/opt/setupwizard/library/common-platform-deprecated.mk
14#
15
16# Path to directory of setup wizard lib (e.g. frameworks/opt/setupwizard/library)
17suwlib_path := $(dir $(lastword $(MAKEFILE_LIST)))
18
19ifneq ($(LOCAL_USE_AAPT2),true)
20  LOCAL_RESOURCE_DIR += \
21      $(suwlib_path)/main/res \
22      $(suwlib_path)/platform/res
23  LOCAL_AAPT_FLAGS += --auto-add-overlay --extra-packages com.android.setupwizardlib
24  LOCAL_STATIC_JAVA_LIBRARIES += setup-wizard-lib
25else # LOCAL_USE_AAPT2 := true
26  LOCAL_STATIC_ANDROID_LIBRARIES += setup-wizard-lib
27endif # LOCAL_USE_AAPT2
28