diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn index f573fe7209..e6d30a1f78 100644 --- a/build/toolchain/mac/BUILD.gn +++ b/build/toolchain/mac/BUILD.gn @@ -28,12 +28,12 @@ if (use_goma) { objc_prefix = "$goma_dir/gomacc " link_prefix = "$goma_dir/gomacc " } else if (use_rbe) { + remote_wrapper = + rebase_path("//flutter/build/rbe/remote_wrapper.sh", root_build_dir) compiler_args = rewrapper_command + [ + "--remote_wrapper=$remote_wrapper", "--labels=type=compile,compiler=clang,lang=cpp ", ] - link_args = rewrapper_command + [ - "--labels=type=link,tool=clang ", - ] cxx_prefix = string_join(" ", compiler_args) # RBE does not support objc out of the box. objc_prefix = ""