diff options
Diffstat (limited to 'rust/proc_macro.go')
-rw-r--r-- | rust/proc_macro.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rust/proc_macro.go b/rust/proc_macro.go index b04808702..2719161e5 100644 --- a/rust/proc_macro.go +++ b/rust/proc_macro.go @@ -27,6 +27,7 @@ type ProcMacroCompilerProperties struct { type procMacroDecorator struct { *baseCompiler + *flagExporter Properties ProcMacroCompilerProperties } @@ -35,6 +36,7 @@ type procMacroInterface interface { } var _ compiler = (*procMacroDecorator)(nil) +var _ exportedFlagsProducer = (*procMacroDecorator)(nil) func ProcMacroFactory() android.Module { module, _ := NewProcMacro(android.HostSupportedNoCross) @@ -46,6 +48,7 @@ func NewProcMacro(hod android.HostOrDeviceSupported) (*Module, *procMacroDecorat procMacro := &procMacroDecorator{ baseCompiler: NewBaseCompiler("lib", "lib64", InstallInSystem), + flagExporter: NewFlagExporter(), } module.compiler = procMacro |