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

Side by Side Diff: speex.gyp

Issue 14623014: Remove use_system_speex logic from the mainline gyp file. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/third_party/speex/
Patch Set: Created 7 years, 7 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
« no previous file with comments | « no previous file | 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 'variables': { 6 'targets': [
7 'use_system_speex%': 0, 7 {
8 }, 8 'target_name': 'libspeex',
9 'conditions': [ 9 'product_name': 'speex',
10 ['use_system_speex==0', { 10 'type': 'static_library',
11 'targets': [ 11 'sources': [
12 { 12 'libspeex/arch.h',
13 'target_name': 'libspeex', 13 'libspeex/bits.c',
14 'product_name': 'speex', 14 'libspeex/cb_search.c',
15 'type': 'static_library', 15 'libspeex/cb_search.h',
16 'sources': [ 16 'libspeex/exc_10_16_table.c',
17 'libspeex/arch.h', 17 'libspeex/exc_10_32_table.c',
18 'libspeex/bits.c', 18 'libspeex/exc_20_32_table.c',
19 'libspeex/cb_search.c', 19 'libspeex/exc_5_256_table.c',
20 'libspeex/cb_search.h', 20 'libspeex/exc_5_64_table.c',
21 'libspeex/exc_10_16_table.c', 21 'libspeex/exc_8_128_table.c',
22 'libspeex/exc_10_32_table.c', 22 'libspeex/filters.c',
23 'libspeex/exc_20_32_table.c', 23 'libspeex/filters.h',
24 'libspeex/exc_5_256_table.c', 24 'libspeex/gain_table.c',
25 'libspeex/exc_5_64_table.c', 25 'libspeex/gain_table_lbr.c',
26 'libspeex/exc_8_128_table.c', 26 'libspeex/hexc_10_32_table.c',
27 'libspeex/filters.c', 27 'libspeex/hexc_table.c',
28 'libspeex/filters.h', 28 'libspeex/high_lsp_tables.c',
29 'libspeex/gain_table.c', 29 'libspeex/lpc.c',
30 'libspeex/gain_table_lbr.c', 30 'libspeex/lpc.h',
31 'libspeex/hexc_10_32_table.c', 31 'libspeex/lsp.c',
32 'libspeex/hexc_table.c', 32 'libspeex/lsp.h',
33 'libspeex/high_lsp_tables.c', 33 'libspeex/lsp_tables_nb.c',
34 'libspeex/lpc.c', 34 'libspeex/ltp.c',
35 'libspeex/lpc.h', 35 'libspeex/ltp.h',
36 'libspeex/lsp.c', 36 'libspeex/math_approx.h',
37 'libspeex/lsp.h', 37 'libspeex/modes.c',
38 'libspeex/lsp_tables_nb.c', 38 'libspeex/modes.h',
39 'libspeex/ltp.c', 39 'libspeex/modes_wb.c',
40 'libspeex/ltp.h', 40 'libspeex/nb_celp.c',
41 'libspeex/math_approx.h', 41 'libspeex/nb_celp.h',
42 'libspeex/modes.c', 42 'libspeex/os_support.h',
43 'libspeex/modes.h', 43 'libspeex/pseudofloat.h',
44 'libspeex/modes_wb.c', 44 'libspeex/quant_lsp.c',
45 'libspeex/nb_celp.c', 45 'libspeex/quant_lsp.h',
46 'libspeex/nb_celp.h', 46 'libspeex/sb_celp.c',
47 'libspeex/os_support.h', 47 'libspeex/sb_celp.h',
48 'libspeex/pseudofloat.h', 48 'libspeex/speex.c',
49 'libspeex/quant_lsp.c', 49 'libspeex/speex_callbacks.c',
50 'libspeex/quant_lsp.h', 50 'libspeex/speex_header.c',
51 'libspeex/sb_celp.c', 51 'libspeex/stack_alloc.h',
52 'libspeex/sb_celp.h', 52 'libspeex/stereo.c',
53 'libspeex/speex.c', 53 'libspeex/vbr.c',
54 'libspeex/speex_callbacks.c', 54 'libspeex/vbr.h',
55 'libspeex/speex_header.c', 55 'libspeex/vq.c',
56 'libspeex/stack_alloc.h', 56 'libspeex/vq.h',
57 'libspeex/stereo.c', 57 'libspeex/window.c',
58 'libspeex/vbr.c', 58 'include/speex/speex.h',
59 'libspeex/vbr.h', 59 'include/speex/speex_bits.h',
60 'libspeex/vq.c', 60 'include/speex/speex_buffer.h',
61 'libspeex/vq.h', 61 'include/speex/speex_callbacks.h',
62 'libspeex/window.c', 62 'include/speex/speex_echo.h',
63 'include/speex/speex.h', 63 'include/speex/speex_header.h',
64 'include/speex/speex_bits.h', 64 'include/speex/speex_jitter.h',
65 'include/speex/speex_buffer.h', 65 'include/speex/speex_preprocess.h',
66 'include/speex/speex_callbacks.h', 66 'include/speex/speex_resampler.h',
67 'include/speex/speex_echo.h', 67 'include/speex/speex_stereo.h',
68 'include/speex/speex_header.h', 68 'include/speex/speex_types.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 'msvs_disabled_warnings': [4244, 4305],
91 },
92 ], 69 ],
93 }, { # use_system_speex != 0 70 'defines': [
94 'targets': [ 71 'FLOATING_POINT',
95 { 72 'EXPORT=',
96 'target_name': 'libspeex', 73 'USE_ALLOCA',
97 'type': 'none', 74 'inline=__inline',
98 'variables': {
99 'headers_root_path': 'include',
100 'header_filenames': [
101 'speex/speex_types.h',
102 'speex/speex_callbacks.h',
103 'speex/speex_config_types.h',
104 'speex/speex_stereo.h',
105 'speex/speex_echo.h',
106 'speex/speex_preprocess.h',
107 'speex/speex_jitter.h',
108 'speex/speex.h',
109 'speex/speex_resampler.h',
110 'speex/speex_buffer.h',
111 'speex/speex_header.h',
112 'speex/speex_bits.h',
113 ],
114 },
115 'includes': [
116 '../../build/shim_headers.gypi',
117 ],
118 'direct_dependent_settings': {
119 'cflags': [
120 '<!@(pkg-config --cflags speex)',
121 ],
122 },
123 'link_settings': {
124 'ldflags': [
125 '<!@(pkg-config --libs-only-L --libs-only-other speex)',
126 ],
127 'libraries': [
128 '<!@(pkg-config --libs-only-l speex)',
129 ],
130 },
131 },
132 ], 75 ],
133 }], 76 'include_dirs': [
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 'msvs_disabled_warnings': [4244, 4305],
86 },
134 ], 87 ],
135 } 88 }
136 89
137 # Local Variables: 90 # Local Variables:
138 # tab-width:2 91 # tab-width:2
139 # indent-tabs-mode:nil 92 # indent-tabs-mode:nil
140 # End: 93 # End:
141 # vim: set expandtab tabstop=2 shiftwidth=2: 94 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698