OLD | NEW |
| (Empty) |
1 # Copyright (c) 2016 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. | |
4 | |
5 # Usage: | |
6 # { | |
7 # 'target_name': 'your_target_name', | |
8 # 'type': 'none', | |
9 # 'actions': [ | |
10 # { | |
11 # 'variables': { | |
12 # 'input_file': 'file/to/compress', | |
13 # 'output_file': 'file/to/put/compressed', | |
14 # }, | |
15 # 'includes': ['../third_party/brotli/bro.gypi'], | |
16 # } | |
17 # ], | |
18 # 'dependencies': [ | |
19 # 'path/to:builds_file_to_compress' | |
20 # ], | |
21 # }, | |
22 | |
23 { | |
24 'action_name': 'genbro', | |
25 'variables': { | |
26 'bro': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bro<(EXECUTABLE_SUFFIX)', | |
27 }, | |
28 'inputs': [ | |
29 '<(bro)', | |
30 '<(input_file)', | |
31 ], | |
32 'outputs': [ | |
33 '<(output_file)', | |
34 ], | |
35 'action': [ | |
36 '<(bro)', | |
37 '--force', | |
38 '--input', | |
39 '<(input_file)', | |
40 '--output', | |
41 '<(output_file)', | |
42 ], | |
43 'dependencies': [ | |
44 '<(DEPTH)/third_party/brotli/brotli.gyp:bro#host', | |
45 ], | |
46 } | |
OLD | NEW |