aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/toolchain
diff options
context:
space:
mode:
authorGravatar Jim Van Verth <jvanverth@google.com>2017-11-28 09:45:26 -0500
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-11-28 15:29:07 +0000
commit443a913b8f0e3fc4a5f6abfa6be2fd6e79641ffe (patch)
tree9463b8ae0b35268ae0c8229ec561cbde5eeb8c06 /gn/toolchain
parent9f553932a4a4e986db323d8f4da2f78d9a729254 (diff)
Add create_bundle support for GN
Docs-Preview: https://skia.org/?cl=75383 Bug: skia:7339 Change-Id: I985734e8b7b5af21a82cb8ee59acbfb5ff1d3ff7 Reviewed-on: https://skia-review.googlesource.com/75383 Commit-Queue: Jim Van Verth <jvanverth@google.com> Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'gn/toolchain')
-rw-r--r--gn/toolchain/BUILD.gn12
1 files changed, 12 insertions, 0 deletions
diff --git a/gn/toolchain/BUILD.gn b/gn/toolchain/BUILD.gn
index 13c8397032..59d83e43d7 100644
--- a/gn/toolchain/BUILD.gn
+++ b/gn/toolchain/BUILD.gn
@@ -283,6 +283,18 @@ template("gcc_like_toolchain") {
description = "copy {{source}} {{output}}"
}
+ tool("copy_bundle_data") {
+ cp_py = rebase_path("../cp.py")
+ command = "$python $cp_py {{source}} {{output}}"
+ description = "copy_bundle_data {{source}} {{output}}"
+ }
+
+ # We don't currently have any xcasset files so make this a NOP
+ tool("compile_xcassets") {
+ command = "true"
+ description = "compile_xcassets {{output}}"
+ }
+
toolchain_args = {
current_cpu = invoker.cpu
current_os = invoker.os