Index: build/toolchain/mac/BUILD.gn |
diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn |
index 2da92a7e5e7fdd62d7828bea0996f74ee7a1865d..b9202ac86ef2f5beaf041f04fa1df876ceb37b49 100644 |
--- a/build/toolchain/mac/BUILD.gn |
+++ b/build/toolchain/mac/BUILD.gn |
@@ -239,12 +239,8 @@ 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_data.py", root_build_dir) |
+ command = "python $_tool {{source}} {{output}}" |
description = "COPY_BUNDLE_DATA {{source}} {{output}}" |
} |
tool("compile_xcassets") { |