From 71f1ea3f81feae294a3031799cd638c38610850e Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Wed, 26 Feb 2025 23:39:20 +0000 Subject: Convert tidyPhonySingleton, jdepsGeneratorSingleton and genNoticeBuildRules to use ModuleProxy. Bug: 377723687 Test: Unit tests and compare the ninja and mk files generated. Change-Id: I7507a580e3533b01f552778a7815bcc43d301e23 --- java/java.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'java/java.go') 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 { -- cgit v1.2.3-59-g8ed1b