Index: build/toolchain/mac/BUILD.gn |
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn |
index 571865c7fd3b277b578bca7e153e3315959c659f..2b7ee74215464439c1d65aac1f82347ca82599a6 100644 |
--- a/build/toolchain/mac/BUILD.gn |
+++ b/build/toolchain/mac/BUILD.gn |
@@ -239,12 +239,9 @@ template("mac_toolchain") { |
} |
tool("copy_bundle_data") { |
- if (is_ios) { |
- _convert_to_binary = "True" |
- } else { |
- _convert_to_binary = "False" |
- } |
- command = "rm -rf {{output}} && ./gyp-mac-tool copy-bundle-resource {{source}} {{output}} $_convert_to_binary" |
+ _tool = rebase_path("//build/toolchain/mac/copy_bundle_data.py", |
+ root_build_dir) |
+ command = "python $_tool {{source}} {{output}}" |
description = "COPY_BUNDLE_DATA {{source}} {{output}}" |
} |
tool("compile_xcassets") { |