diff options
author | 2024-11-07 19:19:42 +0000 | |
---|---|---|
committer | 2024-11-07 20:02:43 +0000 | |
commit | 88ea9ffccd990e6afa8936ea610ab77aa5b464b1 (patch) | |
tree | dc54778ce81f1fda234c6898cc16271fc144518b /android/singleton.go | |
parent | aa83c512685103dd6784dbea14c0894d295e4076 (diff) |
Replace FinalModule with IsFinalModule.
Bug: 377723687
Test: Compare generated mk and ninja files.
Change-Id: I287b5a56aebf5fed0911bf8fbfc968d7aebc0dea
Diffstat (limited to 'android/singleton.go')
-rw-r--r-- | android/singleton.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/android/singleton.go b/android/singleton.go index 64381828a..0754b0ccb 100644 --- a/android/singleton.go +++ b/android/singleton.go @@ -81,7 +81,7 @@ type SingletonContext interface { VisitAllModuleVariantProxies(module Module, visit func(proxy ModuleProxy)) PrimaryModule(module Module) Module - FinalModule(module Module) Module + IsFinalModule(module Module) bool AddNinjaFileDeps(deps ...string) @@ -273,8 +273,8 @@ func (s *singletonContextAdaptor) PrimaryModule(module Module) Module { return s.SingletonContext.PrimaryModule(module).(Module) } -func (s *singletonContextAdaptor) FinalModule(module Module) Module { - return s.SingletonContext.FinalModule(module).(Module) +func (s *singletonContextAdaptor) IsFinalModule(module Module) bool { + return s.SingletonContext.IsFinalModule(module) } func (s *singletonContextAdaptor) ModuleVariantsFromName(referer Module, name string) []Module { |