1LOCAL_PATH:= $(call my-dir) 2include $(CLEAR_VARS) 3 4LOCAL_SRC_FILES := \ 5 $(call all-logtags-files-under, src) 6 7LOCAL_MODULE := settings-logtags 8 9include $(BUILD_STATIC_JAVA_LIBRARY) 10 11# Build the Settings APK 12include $(CLEAR_VARS) 13 14LOCAL_PACKAGE_NAME := Settings 15LOCAL_CERTIFICATE := platform 16LOCAL_PRIVILEGED_MODULE := true 17LOCAL_MODULE_TAGS := optional 18LOCAL_USE_AAPT2 := true 19 20LOCAL_SRC_FILES := $(call all-java-files-under, src) 21 22LOCAL_STATIC_ANDROID_LIBRARIES := \ 23 android-support-v4 \ 24 android-support-v13 \ 25 android-support-v7-recyclerview \ 26 android-support-v7-preference \ 27 android-support-v7-appcompat \ 28 android-support-v14-preference 29 30LOCAL_JAVA_LIBRARIES := \ 31 bouncycastle \ 32 core-oj \ 33 telephony-common \ 34 ims-common 35 36LOCAL_STATIC_JAVA_LIBRARIES := \ 37 jsr305 \ 38 settings-logtags 39 40LOCAL_PROGUARD_FLAG_FILES := proguard.flags 41 42ifneq ($(INCREMENTAL_BUILDS),) 43 LOCAL_PROGUARD_ENABLED := disabled 44 LOCAL_JACK_ENABLED := incremental 45 LOCAL_JACK_FLAGS := --multi-dex native 46endif 47 48include frameworks/opt/setupwizard/library/common-gingerbread.mk 49include frameworks/base/packages/SettingsLib/common.mk 50 51include $(BUILD_PACKAGE) 52 53# Use the following include to make our test apk. 54ifeq (,$(ONE_SHOT_MAKEFILE)) 55include $(call all-makefiles-under,$(LOCAL_PATH)) 56endif 57