diff options
author | 2024-05-07 17:49:10 +0000 | |
---|---|---|
committer | 2024-05-07 17:49:10 +0000 | |
commit | 3f01580c04bfe37c920e247015cce93cff2451c0 (patch) | |
tree | b2165cd64e2876d8fa4c60bd322de81364143aed /rust/project_json.go | |
parent | 0d4a9ca79225bac10e4b62a663ee0cd09e3b314d (diff) | |
parent | a963b94cde194257fa67ce9596026a4da2fe7523 (diff) |
Merge "Make the enabled property configurable" into main
Diffstat (limited to 'rust/project_json.go')
-rw-r--r-- | rust/project_json.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/project_json.go b/rust/project_json.go index 05fc09b3a..24dcc89f1 100644 --- a/rust/project_json.go +++ b/rust/project_json.go @@ -119,7 +119,7 @@ func isModuleSupported(ctx android.SingletonContext, module android.Module) (*Mo if !ok { return nil, false } - if !rModule.Enabled() { + if !rModule.Enabled(ctx) { return nil, false } return rModule, true |