summaryrefslogtreecommitdiff
path: root/androidmk
diff options
context:
space:
mode:
author Yuntao Xu <yuntaoxu@google.com> 2021-06-23 17:56:01 -0700
committer Yuntao Xu <yuntaoxu@google.com> 2021-06-24 16:02:31 -0700
commitf1b75a23772de79173e487a7c512ac478d7553f3 (patch)
tree935bd804330738987bb724e804b3a81e94abcd55 /androidmk
parent770193da6c61669458f76fa347470232772809cc (diff)
convert BUILD_CTS_SUPPORT_PACKAGE in mk files
1. Modified the logic of the androidmk tool, to convert the BUILD_CTS_SUPPORT_PACKAGE field to the android_test_helper_app module type rather than android_test; 2. Updated the unit tests as well. Bug: 191907322 Test: m androidmk Test: TreeHugger Change-Id: Iabff299f6d043521481ef1af457c708353559823
Diffstat (limited to 'androidmk')
-rw-r--r--androidmk/androidmk/androidmk_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/androidmk/androidmk/androidmk_test.go b/androidmk/androidmk/androidmk_test.go
index 067dcba35..02ab89d0b 100644
--- a/androidmk/androidmk/androidmk_test.go
+++ b/androidmk/androidmk/androidmk_test.go
@@ -794,7 +794,7 @@ LOCAL_MODULE_PATH := $(TARGET_OUT_DATA_APPS)
include $(BUILD_CTS_SUPPORT_PACKAGE)
`,
expected: `
-android_test {
+android_test_helper_app {
name: "FooTest",
defaults: ["cts_support_defaults"],
test_suites: ["cts"],