Loading packages/CtsShim/build/Android.mk +8 −6 Original line number Diff line number Diff line Loading @@ -66,10 +66,11 @@ LOCAL_FULL_MANIFEST_FILE := $(gen) LOCAL_MULTILIB := both LOCAL_JNI_SHARED_LIBRARIES := libshim_jni # Disable AAPT2 to fix: LOCAL_USE_AAPT2 := true # Disable AAPT2 manifest checks to fix: # out/target/common/obj/APPS/CtsShimPriv_intermediates/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>. # TODO(b/79755007): Re-enable AAPT2 when it supports the missing features. LOCAL_USE_AAPT2 := false # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. LOCAL_AAPT_FLAGS += --warn-manifest-validation include $(BUILD_PACKAGE) Loading Loading @@ -111,10 +112,11 @@ LOCAL_PACKAGE_NAME := CtsShim LOCAL_MANIFEST_FILE := shim/AndroidManifest.xml # Disable AAPT2 to fix: LOCAL_USE_AAPT2 := true # Disable AAPT2 manifest checks to fix: # frameworks/base/packages/CtsShim/build/shim/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>. # TODO(b/79755007): Re-enable AAPT2 when it supports the missing features. LOCAL_USE_AAPT2 := false # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. LOCAL_AAPT_FLAGS += --warn-manifest-validation include $(BUILD_PACKAGE) Loading tests/ActivityTests/Android.mk +4 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,10 @@ LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_MODULE_TAGS := tests LOCAL_CERTIFICATE := platform # Disable AAPT2 to fix: LOCAL_USE_AAPT2 := true # Disable AAPT2 manifest checks to fix: # frameworks/base/tests/ActivityTests/AndroidManifest.xml:42: error: unexpected element <preferred> found in <manifest><application><activity>. # TODO(b/79755007): Re-enable AAPT2 when it supports the missing features. LOCAL_USE_AAPT2 := false # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. LOCAL_AAPT_FLAGS += --warn-manifest-validation include $(BUILD_PACKAGE) Loading
packages/CtsShim/build/Android.mk +8 −6 Original line number Diff line number Diff line Loading @@ -66,10 +66,11 @@ LOCAL_FULL_MANIFEST_FILE := $(gen) LOCAL_MULTILIB := both LOCAL_JNI_SHARED_LIBRARIES := libshim_jni # Disable AAPT2 to fix: LOCAL_USE_AAPT2 := true # Disable AAPT2 manifest checks to fix: # out/target/common/obj/APPS/CtsShimPriv_intermediates/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>. # TODO(b/79755007): Re-enable AAPT2 when it supports the missing features. LOCAL_USE_AAPT2 := false # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. LOCAL_AAPT_FLAGS += --warn-manifest-validation include $(BUILD_PACKAGE) Loading Loading @@ -111,10 +112,11 @@ LOCAL_PACKAGE_NAME := CtsShim LOCAL_MANIFEST_FILE := shim/AndroidManifest.xml # Disable AAPT2 to fix: LOCAL_USE_AAPT2 := true # Disable AAPT2 manifest checks to fix: # frameworks/base/packages/CtsShim/build/shim/AndroidManifest.xml:25: error: unexpected element <restrict-update> found in <manifest>. # TODO(b/79755007): Re-enable AAPT2 when it supports the missing features. LOCAL_USE_AAPT2 := false # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. LOCAL_AAPT_FLAGS += --warn-manifest-validation include $(BUILD_PACKAGE) Loading
tests/ActivityTests/Android.mk +4 −3 Original line number Diff line number Diff line Loading @@ -9,9 +9,10 @@ LOCAL_PRIVATE_PLATFORM_APIS := true LOCAL_MODULE_TAGS := tests LOCAL_CERTIFICATE := platform # Disable AAPT2 to fix: LOCAL_USE_AAPT2 := true # Disable AAPT2 manifest checks to fix: # frameworks/base/tests/ActivityTests/AndroidManifest.xml:42: error: unexpected element <preferred> found in <manifest><application><activity>. # TODO(b/79755007): Re-enable AAPT2 when it supports the missing features. LOCAL_USE_AAPT2 := false # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. LOCAL_AAPT_FLAGS += --warn-manifest-validation include $(BUILD_PACKAGE)