Merge "Ignore LOCAL_XTS_TEST_PACKAGE translation" into main am: 82403f0f6e
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/2897083 Change-Id: I8f2d9bedb69bb69a8618b4e5782bf8f45d975443 Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
@@ -86,6 +86,7 @@ var rewriteProperties = map[string](func(variableAssignmentContext) error){
|
||||
|
||||
"LOCAL_ANNOTATION_PROCESSOR_CLASSES": skip, // Soong gets the processor classes from the plugin
|
||||
"LOCAL_CTS_TEST_PACKAGE": skip, // Obsolete
|
||||
"LOCAL_XTS_TEST_PACKAGE": skip, // Obsolete
|
||||
"LOCAL_JACK_ENABLED": skip, // Obselete
|
||||
"LOCAL_JACK_FLAGS": skip, // Obselete
|
||||
}
|
||||
|
@@ -820,6 +820,26 @@ android_test {
|
||||
|
||||
data: ["file1"],
|
||||
}
|
||||
`,
|
||||
},
|
||||
{
|
||||
desc: "IGNORE_LOCAL_XTS_TEST_PACKAGE",
|
||||
in: `
|
||||
include $(CLEAR_VARS)
|
||||
LOCAL_PACKAGE_NAME := FooTest
|
||||
LOCAL_COMPATIBILITY_SUITE := cts
|
||||
LOCAL_XTS_TEST_PACKAGE := foo.bar
|
||||
LOCAL_COMPATIBILITY_SUPPORT_FILES := file1
|
||||
include $(BUILD_CTS_PACKAGE)
|
||||
`,
|
||||
expected: `
|
||||
android_test {
|
||||
name: "FooTest",
|
||||
defaults: ["cts_defaults"],
|
||||
test_suites: ["cts"],
|
||||
|
||||
data: ["file1"],
|
||||
}
|
||||
`,
|
||||
},
|
||||
{
|
||||
|
Reference in New Issue
Block a user