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 15 matching lines...) Expand all Loading... |
26 'dec/state.h', | 26 'dec/state.h', |
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 'toolsets': ['host', 'target'], | |
37 }, | 36 }, |
38 { | 37 { |
39 'target_name': 'bro', | 38 'target_name': 'bro', |
40 'type': 'executable', | 39 'type': 'executable', |
41 'dependencies': [ | 40 'dependencies': [ |
42 'brotli', | 41 'brotli', |
43 ], | 42 ], |
44 'sources': [ | 43 'sources': [ |
45 'enc/backward_references.cc', | 44 'enc/backward_references.cc', |
46 'enc/backward_references.h', | 45 'enc/backward_references.h', |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
82 'enc/static_dict_lut.h', | 81 'enc/static_dict_lut.h', |
83 'enc/streams.cc', | 82 'enc/streams.cc', |
84 'enc/streams.h', | 83 'enc/streams.h', |
85 'enc/transform.h', | 84 'enc/transform.h', |
86 'enc/types.h', | 85 'enc/types.h', |
87 'enc/utf8_util.cc', | 86 'enc/utf8_util.cc', |
88 'enc/utf8_util.h', | 87 'enc/utf8_util.h', |
89 'enc/write_bits.h', | 88 'enc/write_bits.h', |
90 'tools/bro.cc', | 89 'tools/bro.cc', |
91 ], | 90 ], |
92 'toolsets': ['host'], | |
93 'conditions': [ | 91 'conditions': [ |
94 ['OS=="win" and MSVS_VERSION == "2015"', { | 92 ['OS=="win"', { |
95 # Disabling "result of 32-bit shift implicitly converted to 64 bits", | 93 'msvs_settings': { |
96 # caused by code like: foo |= (1 << i); // warning 4334 | 94 'VCCLCompilerTool': { |
97 'msvs_disabled_warnings': [ 4334, ], | 95 'AdditionalOptions': [ '/EHsc', ], |
| 96 }, |
| 97 }, |
| 98 }], |
| 99 ['os_posix==1', { |
| 100 'cflags_cc!': [ '-fno-exceptions', ], |
98 }], | 101 }], |
99 ], | 102 ], |
100 } | 103 } |
101 ], | 104 ], |
102 } | 105 } |
OLD | NEW |