Rename classpath_fragment.go methods for better readability. am: 128ce2ff73
am: 0309f55c23
am: b2f4c1919b
Original change: https://android-review.googlesource.com/c/platform/build/soong/+/1697680 Change-Id: I3925effc85faa254f9f684919a6f7a0c47e9ea52
This commit is contained in:
commit
9428cfec39
|
@ -81,7 +81,7 @@ type classpathJar struct {
|
|||
maxSdkVersion int32
|
||||
}
|
||||
|
||||
func (c *ClasspathFragmentBase) generateAndroidBuildActions(ctx android.ModuleContext) {
|
||||
func (c *ClasspathFragmentBase) generateClasspathProtoBuildActions(ctx android.ModuleContext) {
|
||||
outputFilename := ctx.ModuleName() + ".pb"
|
||||
c.outputFilepath = android.PathForModuleOut(ctx, outputFilename).OutputPath
|
||||
c.installDirPath = android.PathForModuleInstall(ctx, "etc", "classpaths")
|
||||
|
@ -137,7 +137,7 @@ func appendClasspathJar(slice []classpathJar, classpathType classpathType, paths
|
|||
return
|
||||
}
|
||||
|
||||
func (c *ClasspathFragmentBase) getAndroidMkEntries() []android.AndroidMkEntries {
|
||||
func (c *ClasspathFragmentBase) androidMkEntries() []android.AndroidMkEntries {
|
||||
return []android.AndroidMkEntries{android.AndroidMkEntries{
|
||||
Class: "ETC",
|
||||
OutputFile: android.OptionalPathForPath(c.outputFilepath),
|
||||
|
|
|
@ -87,7 +87,7 @@ func (b *platformBootclasspathModule) AndroidMkEntries() (entries []android.Andr
|
|||
OutputFile: android.OptionalPathForPath(b.hiddenAPIFlagsCSV),
|
||||
Include: "$(BUILD_PHONY_PACKAGE)",
|
||||
})
|
||||
entries = append(entries, b.classpathFragmentBase().getAndroidMkEntries()...)
|
||||
entries = append(entries, b.classpathFragmentBase().androidMkEntries()...)
|
||||
return
|
||||
}
|
||||
|
||||
|
@ -167,7 +167,7 @@ func (d *platformBootclasspathModule) MakeVars(ctx android.MakeVarsContext) {
|
|||
}
|
||||
|
||||
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.
|
||||
artModules := gatherApexModulePairDepsWithTag(ctx, platformBootclasspathArtBootJarDepTag)
|
||||
|
|
Loading…
Reference in New Issue