summaryrefslogtreecommitdiff
path: root/rust/prebuilt.go
diff options
context:
space:
mode:
author Ivan Lozano <ivanlozano@google.com> 2025-02-11 05:36:15 -0800
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2025-02-11 05:36:15 -0800
commitec41af1fe244c64ff0f757329548190b8eb5cae6 (patch)
tree0f6e46fafb6bfb4d58f75fa76d8cfbb9b5dee4f6 /rust/prebuilt.go
parent21bb443d566510c1ecb9529787551ee880173a14 (diff)
parent7fe65ca1fe21ee107fa7c59fd21eb7ce8bac0bd6 (diff)
Merge "rust: Rename flag providers for clarity" into main
Diffstat (limited to 'rust/prebuilt.go')
-rw-r--r--rust/prebuilt.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/rust/prebuilt.go b/rust/prebuilt.go
index e35e510da..9bd51115f 100644
--- a/rust/prebuilt.go
+++ b/rust/prebuilt.go
@@ -158,7 +158,7 @@ func (prebuilt *prebuiltLibraryDecorator) compilerProps() []interface{} {
func (prebuilt *prebuiltLibraryDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) buildOutput {
prebuilt.flagExporter.exportLinkDirs(android.PathsForModuleSrc(ctx, prebuilt.Properties.Link_dirs).Strings()...)
- prebuilt.flagExporter.setProvider(ctx)
+ prebuilt.flagExporter.setRustProvider(ctx)
srcPath := prebuiltPath(ctx, prebuilt)
prebuilt.baseCompiler.unstrippedOutputFile = srcPath
return buildOutput{outputFile: srcPath}
@@ -211,7 +211,7 @@ func (prebuilt *prebuiltProcMacroDecorator) compilerProps() []interface{} {
func (prebuilt *prebuiltProcMacroDecorator) compile(ctx ModuleContext, flags Flags, deps PathDeps) buildOutput {
prebuilt.flagExporter.exportLinkDirs(android.PathsForModuleSrc(ctx, prebuilt.Properties.Link_dirs).Strings()...)
- prebuilt.flagExporter.setProvider(ctx)
+ prebuilt.flagExporter.setRustProvider(ctx)
srcPath := prebuiltPath(ctx, prebuilt)
prebuilt.baseCompiler.unstrippedOutputFile = srcPath
return buildOutput{outputFile: srcPath}