Merge "Skip obsolete JACK flags"

am: 734879bc6a

Change-Id: I52e701de25d40b676f36d23abb6628433075bb01
This commit is contained in:
Ng Zhi An
2019-03-19 10:53:36 -07:00
committed by android-build-merger
2 changed files with 18 additions and 0 deletions

View File

@@ -76,6 +76,8 @@ 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_JACK_ENABLED": skip, // Obselete
"LOCAL_JACK_FLAGS": skip, // Obselete
}
// adds a group of properties all having the same type

View File

@@ -1094,6 +1094,22 @@ android_app {
}
`,
},
{
desc: "blah",
in: `
include $(CLEAR_VARS)
LOCAL_MODULE := foo
LOCAL_JACK_ENABLED := incremental
LOCAL_JACK_FLAGS := --multi-dex native
include $(BUILD_PACKAGE)
`,
expected: `
android_app {
name: "foo",
}
`,
},
}
func TestEndToEnd(t *testing.T) {