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