summaryrefslogtreecommitdiff
path: root/android/variable.go
diff options
context:
space:
mode:
author Jingwen Chen <jingwen@google.com> 2021-11-02 06:40:51 +0000
committer Jingwen Chen <jingwen@google.com> 2021-11-02 06:51:27 +0000
commit55bc820d66a1ce1d56d68da4efcbcef1fa178878 (patch)
tree9e401659575ee99bebc2078111596d6a8a890b70 /android/variable.go
parent80b6b64db51a073056e97841a27806cc4783a27c (diff)
bp2build: split Bazel conversion context into smaller ones,
and change TopDownMutatorContext signatures to use Bazel conversion context. This minimizes the context interfaces/functions actually needed to convert a module, and makes such interfaces easier to mock/test. Test: CI Change-Id: Id573d97023d59e06ef70e1f54437024d3f7aadbd
Diffstat (limited to 'android/variable.go')
-rw-r--r--android/variable.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/android/variable.go b/android/variable.go
index baa6dfac3..e9436401c 100644
--- a/android/variable.go
+++ b/android/variable.go
@@ -498,7 +498,7 @@ type ProductConfigProperties map[string]map[string]ProductConfigProperty
// ProductVariableProperties returns a ProductConfigProperties containing only the properties which
// have been set for the module in the given context.
-func ProductVariableProperties(ctx BaseMutatorContext) ProductConfigProperties {
+func ProductVariableProperties(ctx BazelConversionPathContext) ProductConfigProperties {
module := ctx.Module()
moduleBase := module.base()