Merge "Install dexpreopt artifacts of non_system apps in system_other" into main
This commit is contained in:
@@ -532,7 +532,7 @@ func OdexOnSystemOtherByName(name string, dexLocation string, global *GlobalConf
|
|||||||
}
|
}
|
||||||
|
|
||||||
for _, f := range global.PatternsOnSystemOther {
|
for _, f := range global.PatternsOnSystemOther {
|
||||||
if makefileMatch(filepath.Join(SystemPartition, f), dexLocation) {
|
if makefileMatch("/" + f, dexLocation) || makefileMatch(filepath.Join(SystemPartition, f), dexLocation) {
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -153,7 +153,7 @@ func TestDexPreoptSystemOther(t *testing.T) {
|
|||||||
moduleTests: []moduleTest{
|
moduleTests: []moduleTest{
|
||||||
{module: systemModule, expectedPartition: "system_other/system"},
|
{module: systemModule, expectedPartition: "system_other/system"},
|
||||||
{module: systemProductModule, expectedPartition: "system_other/system/product"},
|
{module: systemProductModule, expectedPartition: "system_other/system/product"},
|
||||||
{module: productModule, expectedPartition: "product"},
|
{module: productModule, expectedPartition: "system_other/product"},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user