Merge "Modify Soong to utilize from-text android.jar in build"

This commit is contained in:
Treehugger Robot
2023-03-29 20:31:20 +00:00
committed by Gerrit Code Review
7 changed files with 71 additions and 3 deletions

View File

@@ -94,8 +94,9 @@ func (k SdkKind) JavaLibraryName(c Config) string {
// not check if either module exists.
// TODO: Return .txt (single-tree or multi-tree equivalents) based on config
func JavaLibraryNameFromText(c Config, name string) string {
// This returns the default for now.
// TODO: Implement this
if c.BuildFromTextStub() {
return name + ".from-text"
}
return name
}