No Description

Android.mk 2.5KB

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