Merge "Convert LOCAL_COMPATIBILITY_SUPPORT_FILES to data: attribute in androidmk"

am: 13feeb7b62

Change-Id: Ib05be7cabebae431ca8074b09c8f3374bec5d847
This commit is contained in:
Sasha Smundak
2019-05-24 10:10:28 -07:00
committed by android-build-merger
2 changed files with 3 additions and 0 deletions

View File

@@ -123,6 +123,7 @@ func init() {
"LOCAL_SYSTEM_SHARED_LIBRARIES": "system_shared_libs",
"LOCAL_ASFLAGS": "asflags",
"LOCAL_CLANG_ASFLAGS": "clang_asflags",
"LOCAL_COMPATIBILITY_SUPPORT_FILES": "data",
"LOCAL_CONLYFLAGS": "conlyflags",
"LOCAL_CPPFLAGS": "cppflags",
"LOCAL_REQUIRED_MODULES": "required",

View File

@@ -809,6 +809,7 @@ include $(CLEAR_VARS)
LOCAL_PACKAGE_NAME := FooTest
LOCAL_COMPATIBILITY_SUITE := cts
LOCAL_CTS_TEST_PACKAGE := foo.bar
LOCAL_COMPATIBILITY_SUPPORT_FILES := file1
include $(BUILD_CTS_PACKAGE)
`,
expected: `
@@ -817,6 +818,7 @@ android_test {
defaults: ["cts_defaults"],
test_suites: ["cts"],
data: ["file1"],
}
`,
},