Pass --legacy to aapt2 compile for Messaging
This module produces warnings that are treated as errors if --legacy is not passed. --legacy is no longer being passed by default, so add it here. Bug: 135617299 Test: m java Change-Id: Ic001d8f4f9afdee3528929d3ba62a6bbade80ab6
This commit is contained in:
@@ -48,6 +48,7 @@ include $(LOCAL_PATH)/version.mk
|
||||
|
||||
LOCAL_AAPT_FLAGS += --version-name "$(version_name_package)"
|
||||
LOCAL_AAPT_FLAGS += --version-code $(version_code_package)
|
||||
LOCAL_AAPT_FLAGS += --legacy
|
||||
|
||||
ifdef TARGET_BUILD_APPS
|
||||
LOCAL_JNI_SHARED_LIBRARIES := libframesequence libgiftranscode
|
||||
|
||||
Reference in New Issue
Block a user