1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_MODULE_TAGS := optional 5 6LOCAL_SRC_FILES := \ 7 $(call all-java-files-under, src) 8 9LOCAL_STATIC_JAVA_LIBRARIES += \ 10 android-support-v4 \ 11 android-support-v7-recyclerview \ 12 android-support-v7-preference \ 13 android-support-v7-appcompat \ 14 android-support-v14-preference \ 15 android-support-v17-preference-leanback \ 16 android-support-v17-leanback \ 17 xz-java 18 19LOCAL_RESOURCE_DIR := \ 20 frameworks/support/v17/leanback/res \ 21 frameworks/support/v7/preference/res \ 22 frameworks/support/v14/preference/res \ 23 frameworks/support/v17/preference-leanback/res \ 24 frameworks/support/v7/appcompat/res \ 25 frameworks/support/v7/recyclerview/res \ 26 $(LOCAL_PATH)/res 27 28LOCAL_AAPT_FLAGS := --auto-add-overlay \ 29 --extra-packages android.support.v17.leanback:android.support.v7.preference:android.support.v14.preference:android.support.v17.preference:android.support.v7.appcompat:android.support.v7.recyclerview 30 31LOCAL_PACKAGE_NAME := PackageInstaller 32LOCAL_CERTIFICATE := platform 33 34LOCAL_PRIVILEGED_MODULE := true 35 36LOCAL_PROGUARD_FLAG_FILES := proguard.flags 37 38# Comment for now unitl all private API dependencies are removed 39# LOCAL_SDK_VERSION := system_current 40 41include frameworks/base/packages/SettingsLib/common.mk 42 43include $(BUILD_PACKAGE) 44