Dianne Hackborn | f26fd99 | 2011-04-08 18:14:09 -0700 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_SRC_FILES := $(call all-subdir-java-files) |
| 5 | |
| 6 | LOCAL_PACKAGE_NAME := ActivityTest |
Anton Hansson | a3e79fb | 2018-02-23 12:57:51 +0000 | [diff] [blame] | 7 | LOCAL_PRIVATE_PLATFORM_APIS := true |
Dianne Hackborn | f26fd99 | 2011-04-08 18:14:09 -0700 | [diff] [blame] | 8 | |
| 9 | LOCAL_MODULE_TAGS := tests |
| 10 | LOCAL_CERTIFICATE := platform |
| 11 | |
Colin Cross | 2f4bf54 | 2018-05-18 09:50:29 -0700 | [diff] [blame] | 12 | LOCAL_USE_AAPT2 := true |
| 13 | # Disable AAPT2 manifest checks to fix: |
Colin Cross | 940b98e | 2018-05-16 09:21:18 -0700 | [diff] [blame] | 14 | # frameworks/base/tests/ActivityTests/AndroidManifest.xml:42: error: unexpected element <preferred> found in <manifest><application><activity>. |
Colin Cross | 2f4bf54 | 2018-05-18 09:50:29 -0700 | [diff] [blame] | 15 | # TODO(b/79755007): Remove when AAPT2 recognizes the manifest elements. |
| 16 | LOCAL_AAPT_FLAGS += --warn-manifest-validation |
Colin Cross | 940b98e | 2018-05-16 09:21:18 -0700 | [diff] [blame] | 17 | |
Dianne Hackborn | f26fd99 | 2011-04-08 18:14:09 -0700 | [diff] [blame] | 18 | include $(BUILD_PACKAGE) |