diff options
author | Cole Faust <colefaust@google.com> | 2024-03-21 17:58:43 -0700 |
---|---|---|
committer | Cole Faust <colefaust@google.com> | 2024-03-25 17:19:24 -0700 |
commit | 02987bd9d275fde4dc47fc404644748d5639bd72 (patch) | |
tree | b24994b590bf359fac54fa792383b6a4f0f6e0cd /android/module_context.go | |
parent | 0aa21cc8e2183a13452fce4b7e3a69813fe2a1fd (diff) | |
download | soong-02987bd9d275fde4dc47fc404644748d5639bd72.tar.gz |
Implement OtherModulePropertyErrorf proxies
Also move EvaluateConfiguration() to a standalone configurationEvalutor
object, which can be constructed from a ModuleBase and a minimial
context. This allows us to evaluate configurable properties in
scenarios where we don't have much more than the module.
Bug: 323382414
Test: m nothing --no-skip-soong-tests
Change-Id: I2d1c9f42a469c399f34c759410509aeae095becb
Diffstat (limited to 'android/module_context.go')
-rw-r--r-- | android/module_context.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/module_context.go b/android/module_context.go index 1cab63022..d3e2770cb 100644 --- a/android/module_context.go +++ b/android/module_context.go @@ -234,6 +234,8 @@ type moduleContext struct { variables map[string]string } +var _ ModuleContext = &moduleContext{} + func (m *moduleContext) ninjaError(params BuildParams, err error) (PackageContext, BuildParams) { return pctx, BuildParams{ Rule: ErrorRule, |