| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'brotli', | 8 'target_name': 'brotli', |
| 9 'type': 'static_library', | 9 'type': 'static_library', |
| 10 'include_dirs': [ | 10 'include_dirs': [ |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 'dec/transform.h', | 27 'dec/transform.h', |
| 28 'dec/types.h', | 28 'dec/types.h', |
| 29 ], | 29 ], |
| 30 'conditions': [ | 30 'conditions': [ |
| 31 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_
arch=="arm64")', { | 31 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_
arch=="arm64")', { |
| 32 'cflags!': ['-Os'], | 32 'cflags!': ['-Os'], |
| 33 'cflags': ['-O2'], | 33 'cflags': ['-O2'], |
| 34 }], | 34 }], |
| 35 ], | 35 ], |
| 36 }, | 36 }, |
| 37 { |
| 38 'target_name': 'bro', |
| 39 'type': 'executable', |
| 40 'dependencies': [ |
| 41 'brotli', |
| 42 ], |
| 43 'sources': [ |
| 44 "enc/backward_references.cc", |
| 45 "enc/backward_references.h", |
| 46 "enc/bit_cost.h", |
| 47 "enc/block_splitter.cc", |
| 48 "enc/block_splitter.h", |
| 49 "enc/brotli_bit_stream.cc", |
| 50 "enc/brotli_bit_stream.h", |
| 51 "enc/cluster.h", |
| 52 "enc/command.h", |
| 53 "enc/compress_fragment.cc", |
| 54 "enc/compress_fragment.h", |
| 55 "enc/compress_fragment_two_pass.cc", |
| 56 "enc/compress_fragment_two_pass.h", |
| 57 "enc/compressor.h", |
| 58 "enc/context.h", |
| 59 "enc/dictionary_hash.h", |
| 60 "enc/encode.cc", |
| 61 "enc/encode.h", |
| 62 "enc/encode_parallel.cc", |
| 63 "enc/encode_parallel.h", |
| 64 "enc/entropy_encode.cc", |
| 65 "enc/entropy_encode.h", |
| 66 "enc/entropy_encode_static.h", |
| 67 "enc/fast_log.h", |
| 68 "enc/find_match_length.h", |
| 69 "enc/hash.h ", |
| 70 "enc/histogram.cc", |
| 71 "enc/histogram.h", |
| 72 "enc/literal_cost.cc", |
| 73 "enc/literal_cost.h", |
| 74 "enc/metablock.cc", |
| 75 "enc/metablock.h", |
| 76 "enc/port.h ", |
| 77 "enc/prefix.h", |
| 78 "enc/ringbuffer.h", |
| 79 "enc/static_dict.cc", |
| 80 "enc/static_dict.h", |
| 81 "enc/static_dict_lut.h", |
| 82 "enc/streams.cc", |
| 83 "enc/streams.h", |
| 84 "enc/transform.h", |
| 85 "enc/types.h", |
| 86 "enc/utf8_util.cc", |
| 87 "enc/utf8_util.h", |
| 88 "enc/write_bits.h", |
| 89 "tools/bro.cc", |
| 90 ], |
| 91 'conditions': [ |
| 92 ['OS=="win"', { |
| 93 'cflags_cc': [ '/EHsc', ], |
| 94 }], |
| 95 ['os_posix==1', { |
| 96 'cflags_cc!': [ '-fno-exceptions', ], |
| 97 }], |
| 98 ], |
| 99 } |
| 37 ], | 100 ], |
| 38 } | 101 } |
| OLD | NEW |