| OLD | NEW |
| (Empty) |
| 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. | |
| 4 | |
| 5 { | |
| 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 ], | |
| 44 } | |
| OLD | NEW |