From 443a913b8f0e3fc4a5f6abfa6be2fd6e79641ffe Mon Sep 17 00:00:00 2001 From: Jim Van Verth Date: Tue, 28 Nov 2017 09:45:26 -0500 Subject: 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 Reviewed-by: Mike Klein --- gn/toolchain/BUILD.gn | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gn/toolchain') 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 -- cgit v1.2.3