Also ran 'git cl format' on this file since I was touching a lot of it anyway.
[chromium-blink-merge.git] / build / repack_action.gypi
blob04b982a38bdf2911a00374c713d6242dcb7b2e78
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
3 # found in the LICENSE file.
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
7 # defined:
8 #   pak_inputs: list: paths of pak files that need to be combined.
9 #   pak_output: string: the output pak file path.
12   # GYP version: //tools/grit/repack.gni
13   'variables': {
14     'repack_path': '<(DEPTH)/tools/grit/grit/format/repack.py',
15     'repack_options%': [],
16   },
17   'inputs': [
18     '<(repack_path)',
19     '<@(pak_inputs)',
20   ],
21   'outputs': [
22     '<(pak_output)'
23   ],
24   'action': [
25     'python',
26     '<(repack_path)',
27     '<@(repack_options)',
28     '<(pak_output)',
29     '<@(pak_inputs)',
30   ],