Migrate Telecom to aapt2.

Test: make -j
Change-Id: I5306d72b2b37ed97b25edde4d032ef194be2df4f
This commit is contained in:
Aurimas Liutikas 2017-12-06 11:39:26 -08:00
parent 6e24cb90fb
commit 2c40ffc63e
2 changed files with 3 additions and 0 deletions

View File

@ -7,6 +7,7 @@ LOCAL_JAVA_LIBRARIES := telephony-common
LOCAL_SRC_FILES := $(call all-java-files-under, src) $(call all-proto-files-under, proto)
LOCAL_RESOURCE_DIR := $(LOCAL_PATH)/res
LOCAL_USE_AAPT2 := true
LOCAL_PROTOC_OPTIMIZE_TYPE := nano
LOCAL_PROTOC_FLAGS := --proto_path=$(LOCAL_PATH)/proto/

View File

@ -44,6 +44,8 @@ LOCAL_JAVA_LIBRARIES := \
legacy-android-test \
telephony-common
LOCAL_USE_AAPT2 := true
LOCAL_AAPT_FLAGS := \
--auto-add-overlay \
--extra-packages com.android.server.telecom:android.support.compat