Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(757)

Unified Diff: build/secondary/tools/grit/repack.gni

Issue 2350583002: Starting work on full GN build (Closed)
Patch Set: Fixes for Fuchsia and Flutter. Cleanup. Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | build/secondary/tools/grit/stamp_grit_sources.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/secondary/tools/grit/repack.gni
diff --git a/build/secondary/tools/grit/repack.gni b/build/secondary/tools/grit/repack.gni
deleted file mode 100644
index 1030674c62eadbafe43a72c485edcde4f860e2bc..0000000000000000000000000000000000000000
--- a/build/secondary/tools/grit/repack.gni
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 2014 The Chromium Authors. All rights reserved.
-# Use of this source code is governed by a BSD-style license that can be
-# found in the LICENSE file.
-
-# This file defines a template to invoke grit repack in a consistent manner.
-#
-# Parameters:
-# sources [required]
-# List of pak files that need to be combined.
-#
-# output [required]
-# File name (single string) of the output file.
-#
-# repack_options [optional]
-# List of extra arguments to pass.
-#
-# deps [optional]
-# visibility [optional]
-# Normal meaning.
-template("repack") {
- action(target_name) {
- assert(defined(invoker.sources), "Need sources for $target_name")
- assert(defined(invoker.output), "Need output for $target_name")
-
- if (defined(invoker.visibility)) {
- visibility = invoker.visibility
- }
-
- script = "//tools/grit/grit/format/repack.py"
-
- inputs = invoker.sources
- outputs = [
- invoker.output,
- ]
-
- args = []
- if (defined(invoker.repack_options)) {
- args += invoker.repack_options
- }
- args += [ rebase_path(invoker.output, root_build_dir) ]
- args += rebase_path(invoker.sources, root_build_dir)
-
- if (defined(invoker.deps)) {
- deps = invoker.deps
- }
- }
-}
« no previous file with comments | « build/secondary/tools/grit/grit_rule.gni ('k') | build/secondary/tools/grit/stamp_grit_sources.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698