Chromium Code Reviews| 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 # 'sources': [ | |
| 10 # 'path/to/file/you/wish/to/compress.anyextension', | |
| 11 # ], | |
| 12 # 'variables': { | |
| 13 # 'output_file': 'path/to/compressed/destination.bro', | |
| 14 # }, | |
| 15 # 'includes': ['../third_party/brotli/bro.gypi'], | |
| 16 # 'dependencies': [ | |
| 17 # '../components/components_resources.gyp:about_credits' | |
| 18 # ], | |
| 19 # }, | |
| 20 | |
| 21 { | |
| 22 'variables': { | |
| 23 'bro': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bro<(EXECUTABLE_SUFFIX)', | |
| 24 }, | |
| 25 'rules': [ | |
| 26 { | |
| 27 'rule_name': 'genbro', | |
| 28 'extension': '', | |
| 29 'inputs': [ | |
| 30 '<(bro)', | |
| 31 ], | |
| 32 'outputs': [ | |
| 33 '<(output_file)', | |
| 34 ], | |
| 35 'action': [ | |
| 36 '<(bro)', | |
| 37 '--force', | |
| 38 '--input', | |
| 39 '<(RULE_INPUT_PATH)', | |
| 40 '--output', | |
| 41 '<(output_file)', | |
| 42 ], | |
| 43 } | |
| 44 ], | |
| 45 'dependencies': [ | |
| 46 '<(DEPTH)/third_party/brotli/brotli.gyp:bro', | |
| 47 ], | |
| 48 } | |
| 49 | |
|
brucedawson
2016/05/18 21:21:31
Please delete this blank line. "git cl patch" comp
| |
| OLD | NEW |