 Chromium Code Reviews
 Chromium Code Reviews Issue 1992703003:
  Added gyp build rules for brotli.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master
    
  
    Issue 1992703003:
  Added gyp build rules for brotli.  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@master| Index: third_party/brotli/bro.gypi | 
| diff --git a/third_party/brotli/bro.gypi b/third_party/brotli/bro.gypi | 
| new file mode 100644 | 
| index 0000000000000000000000000000000000000000..33c69c47f3423c217137fa850183fbef1a56e053 | 
| --- /dev/null | 
| +++ b/third_party/brotli/bro.gypi | 
| @@ -0,0 +1,49 @@ | 
| +# Copyright (c) 2016 The Chromium Authors. All rights reserved. | 
| +# Use of this source code is governed by a BSD-style license that can be | 
| +# found in the LICENSE file. | 
| + | 
| +# Usage: | 
| +# { | 
| +# 'target_name': 'your_target_name', | 
| +# 'type': 'none', | 
| +# 'sources': [ | 
| +# 'path/to/file/you/wish/to/compress.anyextension', | 
| +# ], | 
| +# 'variables': { | 
| +# 'output_file': 'path/to/compressed/destination.bro', | 
| +# }, | 
| +# 'includes': ['../third_party/brotli/bro.gypi'], | 
| +# 'dependencies': [ | 
| +# '../components/components_resources.gyp:about_credits' | 
| +# ], | 
| +# }, | 
| + | 
| +{ | 
| + 'variables': { | 
| + 'bro': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)bro<(EXECUTABLE_SUFFIX)', | 
| + }, | 
| + 'rules': [ | 
| + { | 
| + 'rule_name': 'genbro', | 
| + 'extension': '', | 
| + 'inputs': [ | 
| + '<(bro)', | 
| + ], | 
| + 'outputs': [ | 
| + '<(output_file)', | 
| + ], | 
| + 'action': [ | 
| + '<(bro)', | 
| + '--force', | 
| + '--input', | 
| + '<(RULE_INPUT_PATH)', | 
| + '--output', | 
| + '<(output_file)', | 
| + ], | 
| + } | 
| + ], | 
| + 'dependencies': [ | 
| + '<(DEPTH)/third_party/brotli/brotli.gyp:bro', | 
| + ], | 
| +} | 
| + | 
| 
brucedawson
2016/05/18 21:21:31
Please delete this blank line. "git cl patch" comp
 |