Rename APEX file_contexts as <name>-file_context
It was <name>_file_context before. Changing for better readability. Bug: 119034475 Test: m apex.test com.android.tzdata com.android.runtime Change-Id: I0d3d3319370cdbb366d06626c8ac978ca8d875c3
This commit is contained in:
@@ -570,7 +570,7 @@ func (a *apexBundle) buildUnflattenedApex(ctx android.ModuleContext, keyFile and
|
||||
manifest := android.PathForModuleSrc(ctx, proptools.StringDefault(a.properties.Manifest, "manifest.json"))
|
||||
|
||||
fcName := proptools.StringDefault(a.properties.File_contexts, a.ModuleBase.Name())
|
||||
fileContextsPath := "system/sepolicy/apex/" + fcName + "_file_contexts"
|
||||
fileContextsPath := "system/sepolicy/apex/" + fcName + "-file_contexts"
|
||||
fileContextsOptionalPath := android.ExistentPathForSource(ctx, fileContextsPath)
|
||||
if !fileContextsOptionalPath.Valid() {
|
||||
ctx.ModuleErrorf("Cannot find file_contexts file: %q", fileContextsPath)
|
||||
|
Reference in New Issue
Block a user