Rename classpath_fragment.go methods for better readability. am: 128ce2ff73
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1697680 Change-Id: I188173f7ce1d1698a5a0244afa9eb11f738062c9
This commit is contained in:
@@ -81,7 +81,7 @@ type classpathJar struct {
|
|||||||
maxSdkVersion int32
|
maxSdkVersion int32
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ClasspathFragmentBase) generateAndroidBuildActions(ctx android.ModuleContext) {
|
func (c *ClasspathFragmentBase) generateClasspathProtoBuildActions(ctx android.ModuleContext) {
|
||||||
outputFilename := ctx.ModuleName() + ".pb"
|
outputFilename := ctx.ModuleName() + ".pb"
|
||||||
c.outputFilepath = android.PathForModuleOut(ctx, outputFilename).OutputPath
|
c.outputFilepath = android.PathForModuleOut(ctx, outputFilename).OutputPath
|
||||||
c.installDirPath = android.PathForModuleInstall(ctx, "etc", "classpaths")
|
c.installDirPath = android.PathForModuleInstall(ctx, "etc", "classpaths")
|
||||||
@@ -137,7 +137,7 @@ func appendClasspathJar(slice []classpathJar, classpathType classpathType, paths
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *ClasspathFragmentBase) getAndroidMkEntries() []android.AndroidMkEntries {
|
func (c *ClasspathFragmentBase) androidMkEntries() []android.AndroidMkEntries {
|
||||||
return []android.AndroidMkEntries{android.AndroidMkEntries{
|
return []android.AndroidMkEntries{android.AndroidMkEntries{
|
||||||
Class: "ETC",
|
Class: "ETC",
|
||||||
OutputFile: android.OptionalPathForPath(c.outputFilepath),
|
OutputFile: android.OptionalPathForPath(c.outputFilepath),
|
||||||
|
@@ -87,7 +87,7 @@ func (b *platformBootclasspathModule) AndroidMkEntries() (entries []android.Andr
|
|||||||
OutputFile: android.OptionalPathForPath(b.hiddenAPIFlagsCSV),
|
OutputFile: android.OptionalPathForPath(b.hiddenAPIFlagsCSV),
|
||||||
Include: "$(BUILD_PHONY_PACKAGE)",
|
Include: "$(BUILD_PHONY_PACKAGE)",
|
||||||
})
|
})
|
||||||
entries = append(entries, b.classpathFragmentBase().getAndroidMkEntries()...)
|
entries = append(entries, b.classpathFragmentBase().androidMkEntries()...)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -167,7 +167,7 @@ func (d *platformBootclasspathModule) MakeVars(ctx android.MakeVarsContext) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func (b *platformBootclasspathModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
func (b *platformBootclasspathModule) GenerateAndroidBuildActions(ctx android.ModuleContext) {
|
||||||
b.classpathFragmentBase().generateAndroidBuildActions(ctx)
|
b.classpathFragmentBase().generateClasspathProtoBuildActions(ctx)
|
||||||
|
|
||||||
// Gather all the dependencies from the art, updatable and non-updatable boot jars.
|
// Gather all the dependencies from the art, updatable and non-updatable boot jars.
|
||||||
artModules := gatherApexModulePairDepsWithTag(ctx, platformBootclasspathArtBootJarDepTag)
|
artModules := gatherApexModulePairDepsWithTag(ctx, platformBootclasspathArtBootJarDepTag)
|
||||||
|
Reference in New Issue
Block a user