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 11 matching lines...) Expand all Loading... |
22 'dec/prefix.h', | 22 'dec/prefix.h', |
23 'dec/safe_malloc.c', | 23 'dec/safe_malloc.c', |
24 'dec/safe_malloc.h', | 24 'dec/safe_malloc.h', |
25 'dec/state.c', | 25 'dec/state.c', |
26 'dec/state.h', | 26 'dec/state.h', |
27 'dec/streams.c', | 27 'dec/streams.c', |
28 'dec/streams.h', | 28 'dec/streams.h', |
29 'dec/transform.h', | 29 'dec/transform.h', |
30 'dec/types.h', | 30 'dec/types.h', |
31 ], | 31 ], |
| 32 'variables': { |
| 33 'clang_warning_flags': [ |
| 34 # IncrementalCopyFastPath in decode.c can be unused. |
| 35 # (The file looks very different upstream, this is probably no longer |
| 36 # needed after rolling brotli the next time.) |
| 37 '-Wno-unused-function', |
| 38 ], |
| 39 }, |
32 'conditions': [ | 40 'conditions': [ |
33 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_
arch=="arm64")', { | 41 ['os_posix==1 and (target_arch=="arm" or target_arch=="armv7" or target_
arch=="arm64")', { |
34 'cflags!': ['-Os'], | 42 'cflags!': ['-Os'], |
35 'cflags': ['-O2'], | 43 'cflags': ['-O2'], |
36 }], | 44 }], |
37 ], | 45 ], |
38 }, | 46 }, |
39 ], | 47 ], |
40 } | 48 } |
OLD | NEW |