Add support of <APEX>-installed-files.txt in mixed build.
Bug: 239084750 Test: CIs Change-Id: Ie3823d1a620c3924111e71aa97df727565261c98
This commit is contained in:
@@ -232,6 +232,7 @@ return json_encode({
|
||||
"java_symbols_used_by_apex": info.java_symbols_used_by_apex.path,
|
||||
"backing_libs": info.backing_libs.path,
|
||||
"bundle_file": info.base_with_config_zip.path,
|
||||
"installed_files": info.installed_files.path,
|
||||
})`
|
||||
}
|
||||
|
||||
@@ -247,6 +248,7 @@ type ApexInfo struct {
|
||||
JavaSymbolsUsedByApex string `json:"java_symbols_used_by_apex"`
|
||||
BackingLibs string `json:"backing_libs"`
|
||||
BundleFile string `json:"bundle_file"`
|
||||
InstalledFiles string `json:"installed_files"`
|
||||
}
|
||||
|
||||
// ParseResult returns a value obtained by parsing the result of the request's Starlark function.
|
||||
|
@@ -176,6 +176,7 @@ func TestGetApexInfoParseResults(t *testing.T) {
|
||||
"symbols_used_by_apex": "path/to/my.apex_using.txt",
|
||||
"backing_libs":"path/to/backing.txt",
|
||||
"bundle_file": "dir/bundlefile.zip",
|
||||
"installed_files":"path/to/installed-files.txt",
|
||||
"provides_native_libs":[]
|
||||
}`,
|
||||
expectedOutput: ApexInfo{
|
||||
@@ -189,6 +190,7 @@ func TestGetApexInfoParseResults(t *testing.T) {
|
||||
SymbolsUsedByApex: "path/to/my.apex_using.txt",
|
||||
BackingLibs: "path/to/backing.txt",
|
||||
BundleFile: "dir/bundlefile.zip",
|
||||
InstalledFiles: "path/to/installed-files.txt",
|
||||
},
|
||||
},
|
||||
}
|
||||
|
Reference in New Issue
Block a user