| Index: build/toolchain/mac/BUILD.gn
|
| diff --git a/build/toolchain/mac/BUILD.gn b/build/toolchain/mac/BUILD.gn
|
| index eb83248a70f6678a6ee07279886dc23ef142e4f0..2da92a7e5e7fdd62d7828bea0996f74ee7a1865d 100644
|
| --- a/build/toolchain/mac/BUILD.gn
|
| +++ b/build/toolchain/mac/BUILD.gn
|
| @@ -239,8 +239,12 @@ template("mac_toolchain") {
|
| }
|
|
|
| tool("copy_bundle_data") {
|
| - command = "rm -rf {{output}} && " +
|
| - "./gyp-mac-tool copy-bundle-resource {{source}} {{output}} True"
|
| + 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"
|
| description = "COPY_BUNDLE_DATA {{source}} {{output}}"
|
| }
|
| tool("compile_xcassets") {
|
|
|