Merge "Skip obsolete JACK flags"
This commit is contained in:
commit
734879bc6a
2 changed files with 18 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue