summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Yu Liu <yudiliu@google.com> 2025-02-28 12:05:20 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-28 12:05:20 -0800
commit58047e846963c84c2784a685d4c2644bd7c80ff6 (patch)
treec3b95847c8582b0d33fe7a6d78eed8c3d7a52e24 /java/java.go
parent9cbe288fa7eaf56a62c764bfcba35fc550543208 (diff)
parent71f1ea3f81feae294a3031799cd638c38610850e (diff)
Merge changes from topics "EqualModules", "tidyPhonySingleton" into main
* changes: Convert tidyPhonySingleton, jdepsGeneratorSingleton and genNoticeBuildRules to use ModuleProxy. Make EqualModules a free function.
Diffstat (limited to 'java/java.go')
-rw-r--r--java/java.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/java/java.go b/java/java.go
index 38361bfa7..c1e4f8ca0 100644
--- a/java/java.go
+++ b/java/java.go
@@ -3363,21 +3363,12 @@ func (j *Import) UseProfileGuidedDexpreopt() bool {
// Add compile time check for interface implementation
var _ android.IDEInfo = (*Import)(nil)
-var _ android.IDECustomizedModuleName = (*Import)(nil)
// Collect information for opening IDE project files in java/jdeps.go.
-
func (j *Import) IDEInfo(ctx android.BaseModuleContext, dpInfo *android.IdeInfo) {
dpInfo.Jars = append(dpInfo.Jars, j.combinedImplementationFile.String())
}
-func (j *Import) IDECustomizedModuleName() string {
- // TODO(b/113562217): Extract the base module name from the Import name, often the Import name
- // has a prefix "prebuilt_". Remove the prefix explicitly if needed until we find a better
- // solution to get the Import name.
- return android.RemoveOptionalPrebuiltPrefix(j.Name())
-}
-
var _ android.PrebuiltInterface = (*Import)(nil)
func (j *Import) IsInstallable() bool {