[Telemetry] Always uploading browser log if enabled instead of wait for crash to...
[chromium-blink-merge.git] / third_party / opus / opus_nacl.gyp
blob27dc55ce7135f93a09d8a5472ae4b002d3aa89f4
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
3 # found in the LICENSE file.
6   'includes': [
7     '../../native_client/build/untrusted.gypi',
8   ],
9   'targets': [
10     {
11       'target_name': 'opus_nacl',
12       'type': 'none',
13       'variables': {
14         'nlib_target': 'libopus_nacl.a',
15         'build_glibc': 0,
16         'build_newlib': 0,
17         'build_pnacl_newlib': 1,
18       },
19       'defines': [
20         'OPUS_BUILD',
21         'OPUS_EXPORT=',
22         'HAVE_LRINT',
23         'HAVE_LRINTF',
24         'VAR_ARRAYS',
25       ],
26       'include_dirs': [
27         'src/celt',
28         'src/include',
29         'src/silk',
30         'src/silk/float',
31       ],
32       'includes': ['opus_srcs.gypi', ],
33       'sources': [
34         '<@(opus_common_sources)',
35         '<@(opus_float_sources)',
36       ],
37       # Suppress a warning given by opus_decoder.c that tells us
38       # optimizations are turned off.
39       'cflags': [
40         '-Wno-#pragma-messages',
41       ],
42     },  # end of target 'opus_nacl'
43   ],