 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/brotli.gyp | 
| diff --git a/third_party/brotli/brotli.gyp b/third_party/brotli/brotli.gyp | 
| index 08fa2d6df3f1de9586f204dfbf2987c5ab85c30d..ecd996a20401b6f8f55318e68e1ffadb7aa1d691 100644 | 
| --- a/third_party/brotli/brotli.gyp | 
| +++ b/third_party/brotli/brotli.gyp | 
| @@ -34,5 +34,72 @@ | 
| }], | 
| ], | 
| }, | 
| + { | 
| + 'target_name': 'bro', | 
| + 'type': 'executable', | 
| + 'dependencies': [ | 
| + 'brotli', | 
| + ], | 
| + 'sources': [ | 
| + "enc/backward_references.cc", | 
| + "enc/backward_references.h", | 
| + "enc/bit_cost.h", | 
| + "enc/block_splitter.cc", | 
| + "enc/block_splitter.h", | 
| + "enc/brotli_bit_stream.cc", | 
| + "enc/brotli_bit_stream.h", | 
| + "enc/cluster.h", | 
| + "enc/command.h", | 
| + "enc/compress_fragment.cc", | 
| + "enc/compress_fragment.h", | 
| + "enc/compress_fragment_two_pass.cc", | 
| + "enc/compress_fragment_two_pass.h", | 
| + "enc/compressor.h", | 
| + "enc/context.h", | 
| + "enc/dictionary_hash.h", | 
| + "enc/encode.cc", | 
| + "enc/encode.h", | 
| + "enc/encode_parallel.cc", | 
| + "enc/encode_parallel.h", | 
| + "enc/entropy_encode.cc", | 
| + "enc/entropy_encode.h", | 
| + "enc/entropy_encode_static.h", | 
| + "enc/fast_log.h", | 
| + "enc/find_match_length.h", | 
| + "enc/hash.h ", | 
| + "enc/histogram.cc", | 
| + "enc/histogram.h", | 
| + "enc/literal_cost.cc", | 
| + "enc/literal_cost.h", | 
| + "enc/metablock.cc", | 
| + "enc/metablock.h", | 
| + "enc/port.h ", | 
| + "enc/prefix.h", | 
| + "enc/ringbuffer.h", | 
| + "enc/static_dict.cc", | 
| + "enc/static_dict.h", | 
| + "enc/static_dict_lut.h", | 
| + "enc/streams.cc", | 
| + "enc/streams.h", | 
| + "enc/transform.h", | 
| + "enc/types.h", | 
| + "enc/utf8_util.cc", | 
| + "enc/utf8_util.h", | 
| + "enc/write_bits.h", | 
| + "tools/bro.cc", | 
| + ], | 
| + 'conditions': [ | 
| + ['OS=="win"', { | 
| + 'msvs_settings': { | 
| 
brucedawson
2016/05/19 18:41:46
Indentation should be fixed here.
 | 
| + 'VCCLCompilerTool': { | 
| + 'AdditionalOptions': [ '/EHsc', ], | 
| + }, | 
| + }, | 
| + }], | 
| + ['os_posix==1', { | 
| + 'cflags_cc!': [ '-fno-exceptions', ], | 
| + }], | 
| + ], | 
| + } | 
| ], | 
| } |