AdvancedDisplay: Migrate to AAPT2

Change-Id: I59dabea4484dd1f1e5c57ae2ac37b9939d2c875d
tirimbino
LuK1337 6 years ago
parent 88e64fec22
commit d0e208008c
  1. 25
      AdvancedDisplay/Android.mk

@ -8,31 +8,24 @@ LOCAL_SRC_FILES := $(call all-java-files-under, src)
LOCAL_PACKAGE_NAME := AdvancedDisplay LOCAL_PACKAGE_NAME := AdvancedDisplay
LOCAL_CERTIFICATE := platform LOCAL_CERTIFICATE := platform
LOCAL_STATIC_JAVA_LIBRARIES := \ LOCAL_USE_AAPT2 := true
LOCAL_STATIC_ANDROID_LIBRARIES := \
android-support-v4 \ android-support-v4 \
android-support-v7-appcompat \ android-support-v7-appcompat \
android-support-v7-preference \ android-support-v7-preference \
android-support-v7-recyclerview \ android-support-v7-recyclerview \
android-support-v13 \ android-support-v13 \
android-support-v14-preference \ android-support-v14-preference
org.lineageos.platform.internal
LOCAL_PROGUARD_FLAG_FILES := proguard.flags LOCAL_STATIC_JAVA_LIBRARIES := \
org.lineageos.platform.internal
LOCAL_RESOURCE_DIR := \ LOCAL_RESOURCE_DIR := \
$(LOCAL_PATH)/res \ $(LOCAL_PATH)/res \
$(TOP)/packages/resources/devicesettings/res \ $(TOP)/packages/resources/devicesettings/res
frameworks/support/v14/preference/res \
frameworks/support/v7/appcompat/res \ LOCAL_PROGUARD_FLAG_FILES := proguard.flags
frameworks/support/v7/preference/res \
frameworks/support/v7/recyclerview/res
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
--extra-packages android.support.v14.preference \
--extra-packages android.support.v7.appcompat \
--extra-packages android.support.v7.preference \
--extra-packages android.support.v7.recyclerview
include $(BUILD_PACKAGE) include $(BUILD_PACKAGE)

Loading…
Cancel
Save