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 'variables': { | 6 'variables': { |
7 'werror': '', | 7 'werror': '', |
8 }, | 8 }, |
9 'includes': [ | 9 'includes': [ |
10 '../../native_client/build/untrusted.gypi', | 10 '../../native_client/build/untrusted.gypi', |
11 ], | 11 ], |
12 'targets': [ | 12 'targets': [ |
13 { | 13 { |
14 'target_name': 'opus_untrusted', | 14 'target_name': 'opus_nacl', |
15 'type': 'none', | 15 'type': 'none', |
16 'variables': { | 16 'variables': { |
17 'nlib_target': 'libopus_untrusted.a', | 17 'nlib_target': 'libopus_nacl.a', |
18 'build_glibc': 0, | 18 'build_glibc': 0, |
19 'build_newlib': 0, | 19 'build_newlib': 0, |
20 'build_pnacl_newlib': 1, | 20 'build_pnacl_newlib': 1, |
21 }, | 21 }, |
22 'dependencies': [ | 22 'dependencies': [ |
23 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 23 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
24 ], | 24 ], |
25 'defines': [ | 25 'defines': [ |
26 'OPUS_BUILD', | 26 'OPUS_BUILD', |
27 'OPUS_EXPORT=', | 27 'OPUS_EXPORT=', |
28 'HAVE_LRINT', | 28 'HAVE_LRINT', |
29 'HAVE_LRINTF', | 29 'HAVE_LRINTF', |
30 'VAR_ARRAYS', | 30 'VAR_ARRAYS', |
31 ], | 31 ], |
32 'include_dirs': [ | 32 'include_dirs': [ |
33 'src/celt', | 33 'src/celt', |
34 'src/include', | 34 'src/include', |
35 'src/silk', | 35 'src/silk', |
36 'src/silk/float', | 36 'src/silk/float', |
37 ], | 37 ], |
38 'includes': ['opus_srcs.gypi', ], | 38 'includes': ['opus_srcs.gypi', ], |
39 'sources/': [ | 39 'sources/': [ |
40 ['exclude', '/fixed/[^/]*_FIX.(h|c)$'], | 40 ['exclude', '/fixed/[^/]*_FIX.(h|c)$'], |
41 ], | 41 ], |
42 }, # end of target 'opus_untrusted' | 42 }, # end of target 'opus_nacl' |
43 ], | 43 ], |
44 } | 44 } |
OLD | NEW |