summaryrefslogtreecommitdiffstats
path: root/chromium/build/toolchain/mac/BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/build/toolchain/mac/BUILD.gn')
-rw-r--r--chromium/build/toolchain/mac/BUILD.gn9
1 files changed, 4 insertions, 5 deletions
diff --git a/chromium/build/toolchain/mac/BUILD.gn b/chromium/build/toolchain/mac/BUILD.gn
index c58a13cb10a..7acb24b6afe 100644
--- a/chromium/build/toolchain/mac/BUILD.gn
+++ b/chromium/build/toolchain/mac/BUILD.gn
@@ -153,7 +153,7 @@ template("mac_toolchain") {
rebase_path("//build/toolchain/mac/linker_driver.py", root_build_dir)
# Specify an explicit path for the strip binary.
- _strippath = "$mac_bin_path" + "strip"
+ _strippath = mac_bin_path + "strip"
linker_driver += " -Wcrl,strippath," + _strippath
if (mac_deterministic_build) {
@@ -192,7 +192,6 @@ template("mac_toolchain") {
dsym_output_dir =
"{{root_out_dir}}/{{target_output_name}}{{output_extension}}.dSYM"
dsym_output = [
- "$dsym_output_dir/",
"$dsym_output_dir/Contents/Info.plist",
"$dsym_output_dir/Contents/Resources/DWARF/" +
"{{target_output_name}}{{output_extension}}",
@@ -276,7 +275,7 @@ template("mac_toolchain") {
rspfile_content = "{{inputs_newline}}"
# Specify explicit path for libtool.
- libtool = "$mac_bin_path" + "libtool"
+ libtool = mac_bin_path + "libtool"
command = "rm -f {{output}} && TOOL_VERSION=${tool_versions.filter_libtool} python $script $libtool -static {{arflags}} -o {{output}} -filelist $rspfile"
description = "LIBTOOL-STATIC {{output}}"
outputs = [
@@ -307,8 +306,8 @@ template("mac_toolchain") {
# search path in /usr/bin are thin wrappers around xcrun, which requires a
# full CommandLineTools or Xcode install, and still may not choose the
# appropriate binary if there are multiple installs.
- otool = "$mac_bin_path" + "otool"
- nm = "$mac_bin_path" + "nm"
+ otool = mac_bin_path + "otool"
+ nm = mac_bin_path + "nm"
does_reexport_command = "[ ! -e \"$dylib\" -o ! -e \"$tocname\" ] || $otool -l \"$dylib\" | grep -q LC_REEXPORT_DYLIB"