diff options
author | 2024-08-19 20:00:32 +0000 | |
---|---|---|
committer | 2024-08-19 21:45:07 +0000 | |
commit | 54513622f7d754c1cee7f06a9cb7050a42c172b8 (patch) | |
tree | f6444cb74aa328321fba6694baf5e76cc5dc159b /android/module_context.go | |
parent | 67478b347e4b5815654048cf9a3f3b33fc7e047a (diff) |
Add phonies as provider instead of updaing a global map.
Bug: 358425833
Test: Manually compare the generated mk and ninja files.
Change-Id: Ie74b620fc680ca2fc0d7836e88361ab3bdb87c49
Diffstat (limited to 'android/module_context.go')
-rw-r--r-- | android/module_context.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/android/module_context.go b/android/module_context.go index f619da2ba..514678222 100644 --- a/android/module_context.go +++ b/android/module_context.go @@ -361,7 +361,7 @@ func (m *moduleContext) Build(pctx PackageContext, params BuildParams) { } func (m *moduleContext) Phony(name string, deps ...Path) { - addPhony(m.config, name, deps...) + m.phonies[name] = append(m.phonies[name], deps...) } func (m *moduleContext) GetMissingDependencies() []string { |