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

Side by Side Diff: third_party/brotli/bro.gypi

Issue 1992703003: Added gyp build rules for brotli. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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
« no previous file with comments | « third_party/brotli/README.chromium ('k') | third_party/brotli/brotli.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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
OLDNEW
« no previous file with comments | « third_party/brotli/README.chromium ('k') | third_party/brotli/brotli.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698