diff options
author | 2024-10-07 16:35:00 -0700 | |
---|---|---|
committer | 2024-10-07 16:35:00 -0700 | |
commit | fbc4f88710beb1fd2d11c6532e0328d4f2386b68 (patch) | |
tree | 622607a2252280e0949d70ebe8b9e9a4d9f93083 /api/api.go | |
parent | 333c7a0c2787a50fbb193a2767381fd7efa7a099 (diff) |
Remove dependencies on the 1-variant fallback
Currently, adding depedencies will use the only variant of a module
if only 1 variant exists. Otherwise, the variations of the two modules
+ the variations explicitly requested must match. The 1-variant
fallback causes issues for incremental soong, so remove reliances on it.
Bug: 372091092
Test: m nothing --no-skip-soong-tests
Change-Id: I778d1d8d67e9d0ccc3432f12e50d15c174b5dbf5
Diffstat (limited to 'api/api.go')
-rw-r--r-- | api/api.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/api/api.go b/api/api.go index e9f1feebd899..1bbf3709480a 100644 --- a/api/api.go +++ b/api/api.go @@ -514,7 +514,7 @@ func (a *CombinedApis) createInternalModules(ctx android.LoadHookContext) { func combinedApisModuleFactory() android.Module { module := &CombinedApis{} module.AddProperties(&module.properties) - android.InitAndroidModule(module) + android.InitAndroidArchModule(module, android.DeviceSupported, android.MultilibCommon) android.AddLoadHook(module, func(ctx android.LoadHookContext) { module.createInternalModules(ctx) }) return module } |