Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(329)

Side by Side Diff: speex.gyp

Issue 5990013: Linux: change gyp and add a shim header to build with system speex.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/speex/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« speex.h ('K') | « speex.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 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 'variables': {
7 { 7 'use_system_speex%': 0,
8 'target_name': 'libspeex', 8 },
9 'product_name': 'speex', 9 'conditions': [
10 'type': '<(library)', 10 ['use_system_speex==0', {
11 'sources': [ 11 'targets': [
12 'libspeex/arch.h', 12 {
13 'libspeex/bits.c', 13 'target_name': 'libspeex',
14 'libspeex/cb_search.c', 14 'product_name': 'speex',
15 'libspeex/cb_search.h', 15 'type': '<(library)',
16 'libspeex/exc_10_16_table.c', 16 'sources': [
17 'libspeex/exc_10_32_table.c', 17 'libspeex/arch.h',
18 'libspeex/exc_20_32_table.c', 18 'libspeex/bits.c',
19 'libspeex/exc_5_256_table.c', 19 'libspeex/cb_search.c',
20 'libspeex/exc_5_64_table.c', 20 'libspeex/cb_search.h',
21 'libspeex/exc_8_128_table.c', 21 'libspeex/exc_10_16_table.c',
22 'libspeex/filters.c', 22 'libspeex/exc_10_32_table.c',
23 'libspeex/filters.h', 23 'libspeex/exc_20_32_table.c',
24 'libspeex/gain_table.c', 24 'libspeex/exc_5_256_table.c',
25 'libspeex/gain_table_lbr.c', 25 'libspeex/exc_5_64_table.c',
26 'libspeex/hexc_10_32_table.c', 26 'libspeex/exc_8_128_table.c',
27 'libspeex/hexc_table.c', 27 'libspeex/filters.c',
28 'libspeex/high_lsp_tables.c', 28 'libspeex/filters.h',
29 'libspeex/lpc.c', 29 'libspeex/gain_table.c',
30 'libspeex/lpc.h', 30 'libspeex/gain_table_lbr.c',
31 'libspeex/lsp.c', 31 'libspeex/hexc_10_32_table.c',
32 'libspeex/lsp.h', 32 'libspeex/hexc_table.c',
33 'libspeex/lsp_tables_nb.c', 33 'libspeex/high_lsp_tables.c',
34 'libspeex/ltp.c', 34 'libspeex/lpc.c',
35 'libspeex/ltp.h', 35 'libspeex/lpc.h',
36 'libspeex/math_approx.h', 36 'libspeex/lsp.c',
37 'libspeex/modes.c', 37 'libspeex/lsp.h',
38 'libspeex/modes.h', 38 'libspeex/lsp_tables_nb.c',
39 'libspeex/modes_wb.c', 39 'libspeex/ltp.c',
40 'libspeex/nb_celp.c', 40 'libspeex/ltp.h',
41 'libspeex/nb_celp.h', 41 'libspeex/math_approx.h',
42 'libspeex/os_support.h', 42 'libspeex/modes.c',
43 'libspeex/pseudofloat.h', 43 'libspeex/modes.h',
44 'libspeex/quant_lsp.c', 44 'libspeex/modes_wb.c',
45 'libspeex/quant_lsp.h', 45 'libspeex/nb_celp.c',
46 'libspeex/sb_celp.c', 46 'libspeex/nb_celp.h',
47 'libspeex/sb_celp.h', 47 'libspeex/os_support.h',
48 'libspeex/speex.c', 48 'libspeex/pseudofloat.h',
49 'libspeex/speex_callbacks.c', 49 'libspeex/quant_lsp.c',
50 'libspeex/speex_header.c', 50 'libspeex/quant_lsp.h',
51 'libspeex/stack_alloc.h', 51 'libspeex/sb_celp.c',
52 'libspeex/stereo.c', 52 'libspeex/sb_celp.h',
53 'libspeex/vbr.c', 53 'libspeex/speex.c',
54 'libspeex/vbr.h', 54 'libspeex/speex_callbacks.c',
55 'libspeex/vq.c', 55 'libspeex/speex_header.c',
56 'libspeex/vq.h', 56 'libspeex/stack_alloc.h',
57 'libspeex/window.c', 57 'libspeex/stereo.c',
58 'include/speex/speex.h', 58 'libspeex/vbr.c',
59 'include/speex/speex_bits.h', 59 'libspeex/vbr.h',
60 'include/speex/speex_buffer.h', 60 'libspeex/vq.c',
61 'include/speex/speex_callbacks.h', 61 'libspeex/vq.h',
62 'include/speex/speex_echo.h', 62 'libspeex/window.c',
63 'include/speex/speex_header.h', 63 'include/speex/speex.h',
64 'include/speex/speex_jitter.h', 64 'include/speex/speex_bits.h',
65 'include/speex/speex_preprocess.h', 65 'include/speex/speex_buffer.h',
66 'include/speex/speex_resampler.h', 66 'include/speex/speex_callbacks.h',
67 'include/speex/speex_stereo.h', 67 'include/speex/speex_echo.h',
68 'include/speex/speex_types.h', 68 'include/speex/speex_header.h',
69 'include/speex/speex_jitter.h',
70 'include/speex/speex_preprocess.h',
71 'include/speex/speex_resampler.h',
72 'include/speex/speex_stereo.h',
73 'include/speex/speex_types.h',
74 ],
75 'defines': [
76 'FLOATING_POINT',
77 'EXPORT=',
78 'USE_ALLOCA',
79 'inline=__inline',
80 ],
81 'include_dirs': [
82 'include',
83 'libspeex',
84 ],
85 'direct_dependent_settings': {
86 'include_dirs': [
87 'include', # Clients expect <speex/speex.h> to be a system header .
88 ],
89 },
90 },
69 ], 91 ],
70 'defines': [ 92 }, { # use_system_speex != 0
71 'FLOATING_POINT', 93 'targets': [
72 'EXPORT=', 94 {
73 'USE_ALLOCA', 95 'target_name': 'libspeex',
74 'inline=__inline', 96 'type': 'settings',
97 'direct_dependent_settings': {
98 'cflags': [
99 '<!@(pkg-config --cflags speex)',
100 ],
101 'defines': [
102 'USE_SYSTEM_SPEEX',
103 ],
104 },
105 'link_settings': {
106 'ldflags': [
107 '<!@(pkg-config --libs-only-L --libs-only-other speex)',
108 ],
109 'libraries': [
110 '<!@(pkg-config --libs-only-l speex)',
111 ],
112 },
113 },
75 ], 114 ],
76 'include_dirs': [ 115 }],
77 'include',
78 'libspeex',
79 ],
80 'direct_dependent_settings': {
81 'include_dirs': [
82 'include', # Clients expect <speex/speex.h> to be a system header.
83 ],
84 },
85 },
86 ], 116 ],
87 } 117 }
88 118
89 # Local Variables: 119 # Local Variables:
90 # tab-width:2 120 # tab-width:2
91 # indent-tabs-mode:nil 121 # indent-tabs-mode:nil
92 # End: 122 # End:
93 # vim: set expandtab tabstop=2 shiftwidth=2: 123 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« speex.h ('K') | « speex.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698