Merge "rust: Allow rust_bindgen to use cc_defaults."

This commit is contained in:
Ivan Lozano
2020-10-03 00:22:49 +00:00
committed by Gerrit Code Review
5 changed files with 72 additions and 46 deletions

View File

@@ -3166,6 +3166,8 @@ func DefaultsFactory(props ...interface{}) android.Module {
&LTOProperties{},
&PgoProperties{},
&android.ProtoProperties{},
// RustBindgenProperties is included here so that cc_defaults can be used for rust_bindgen modules.
&RustBindgenClangProperties{},
)
android.InitDefaultsModule(module)