OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 'variables': { | |
7 'werror': '', | |
8 }, | |
9 'includes': [ | 6 'includes': [ |
10 '../../native_client/build/untrusted.gypi', | 7 '../../native_client/build/untrusted.gypi', |
11 ], | 8 ], |
12 'targets': [ | 9 'targets': [ |
13 { | 10 { |
14 'target_name': 'opus_nacl', | 11 'target_name': 'opus_nacl', |
15 'type': 'none', | 12 'type': 'none', |
16 'variables': { | 13 'variables': { |
17 'nlib_target': 'libopus_nacl.a', | 14 'nlib_target': 'libopus_nacl.a', |
18 'build_glibc': 0, | 15 'build_glibc': 0, |
(...skipping 14 matching lines...) Expand all Loading... |
33 'src/celt', | 30 'src/celt', |
34 'src/include', | 31 'src/include', |
35 'src/silk', | 32 'src/silk', |
36 'src/silk/float', | 33 'src/silk/float', |
37 ], | 34 ], |
38 'includes': ['opus_srcs.gypi', ], | 35 'includes': ['opus_srcs.gypi', ], |
39 'sources': [ | 36 'sources': [ |
40 '<@(opus_common_sources)', | 37 '<@(opus_common_sources)', |
41 '<@(opus_float_sources)', | 38 '<@(opus_float_sources)', |
42 ], | 39 ], |
| 40 # Suppress a warning given by opus_decoder.c that tells us |
| 41 # optimizations are turned off. |
| 42 'cflags': [ |
| 43 '-Wno-#pragma-messages', |
| 44 ], |
43 }, # end of target 'opus_nacl' | 45 }, # end of target 'opus_nacl' |
44 ], | 46 ], |
45 } | 47 } |
OLD | NEW |