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

Side by Side Diff: build/repack_action.gypi

Issue 369603004: Work on GN build, mostly in //ui (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: android Created 6 years, 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « BUILD.gn ('k') | build/secondary/tools/grit/repack.gni » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file is meant to be included into an action to invoke grit repack in a 5 # This file is meant to be included into an action to invoke grit repack in a
6 # consistent manner. To use this the following variables need to be 6 # consistent manner. To use this the following variables need to be
7 # defined: 7 # defined:
8 # pak_inputs: list: paths of pak files that need to be combined. 8 # pak_inputs: list: paths of pak files that need to be combined.
9 # pak_output: string: the output pak file path. 9 # pak_output: string: the output pak file path.
10 10
11 { 11 {
12 # GYP version: //tools/grit/repack.gni
12 'variables': { 13 'variables': {
13 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py', 14 'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
14 'repack_options%': [], 15 'repack_options%': [],
15 }, 16 },
16 'inputs': [ 17 'inputs': [
17 '<(repack_path)', 18 '<(repack_path)',
18 '<@(pak_inputs)', 19 '<@(pak_inputs)',
19 ], 20 ],
20 'outputs': [ 21 'outputs': [
21 '<(pak_output)' 22 '<(pak_output)'
22 ], 23 ],
23 'action': [ 24 'action': [
24 'python', 25 'python',
25 '<(repack_path)', 26 '<(repack_path)',
26 '<@(repack_options)', 27 '<@(repack_options)',
27 '<(pak_output)', 28 '<(pak_output)',
28 '<@(pak_inputs)', 29 '<@(pak_inputs)',
29 ], 30 ],
30 } 31 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | build/secondary/tools/grit/repack.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698