From 88ea9ffccd990e6afa8936ea610ab77aa5b464b1 Mon Sep 17 00:00:00 2001 From: Yu Liu Date: Thu, 7 Nov 2024 19:19:42 +0000 Subject: Replace FinalModule with IsFinalModule. Bug: 377723687 Test: Compare generated mk and ninja files. Change-Id: I287b5a56aebf5fed0911bf8fbfc968d7aebc0dea --- java/bootclasspath_fragment.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'java/bootclasspath_fragment.go') diff --git a/java/bootclasspath_fragment.go b/java/bootclasspath_fragment.go index 1a3368057..7c0f54431 100644 --- a/java/bootclasspath_fragment.go +++ b/java/bootclasspath_fragment.go @@ -520,7 +520,7 @@ func (b *BootclasspathFragmentModule) GenerateAndroidBuildActions(ctx android.Mo // be output to Make but it does not really matter which variant is output. The default/platform // variant is the first (ctx.PrimaryModule()) and is usually hidden from make so this just picks // the last variant (ctx.FinalModule()). - if ctx.Module() != ctx.FinalModule() { + if !ctx.IsFinalModule(ctx.Module()) { b.HideFromMake() } } -- cgit v1.2.3-59-g8ed1b