diff options
author | 2024-11-07 19:19:42 +0000 | |
---|---|---|
committer | 2024-11-07 20:02:43 +0000 | |
commit | 88ea9ffccd990e6afa8936ea610ab77aa5b464b1 (patch) | |
tree | dc54778ce81f1fda234c6898cc16271fc144518b /java/bootclasspath_fragment.go | |
parent | aa83c512685103dd6784dbea14c0894d295e4076 (diff) |
Replace FinalModule with IsFinalModule.
Bug: 377723687
Test: Compare generated mk and ninja files.
Change-Id: I287b5a56aebf5fed0911bf8fbfc968d7aebc0dea
Diffstat (limited to 'java/bootclasspath_fragment.go')
-rw-r--r-- | java/bootclasspath_fragment.go | 2 |
1 files changed, 1 insertions, 1 deletions
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() } } |