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 config("speex_config") { | |
6 include_dirs = [ | |
7 "include", # Clients expect <speex/speex.h> to be a system header. | |
8 ] | |
9 } | |
10 | |
11 source_set("speex") { | |
12 sources = [ | |
13 "libspeex/arch.h", | |
14 "libspeex/bits.c", | |
15 "libspeex/cb_search.c", | |
16 "libspeex/cb_search.h", | |
17 "libspeex/exc_10_16_table.c", | |
18 "libspeex/exc_10_32_table.c", | |
19 "libspeex/exc_20_32_table.c", | |
20 "libspeex/exc_5_256_table.c", | |
21 "libspeex/exc_5_64_table.c", | |
22 "libspeex/exc_8_128_table.c", | |
23 "libspeex/filters.c", | |
24 "libspeex/filters.h", | |
25 "libspeex/gain_table.c", | |
26 "libspeex/gain_table_lbr.c", | |
27 "libspeex/hexc_10_32_table.c", | |
28 "libspeex/hexc_table.c", | |
29 "libspeex/high_lsp_tables.c", | |
30 "libspeex/lpc.c", | |
31 "libspeex/lpc.h", | |
32 "libspeex/lsp.c", | |
33 "libspeex/lsp.h", | |
34 "libspeex/lsp_tables_nb.c", | |
35 "libspeex/ltp.c", | |
36 "libspeex/ltp.h", | |
37 "libspeex/math_approx.h", | |
38 "libspeex/modes.c", | |
39 "libspeex/modes.h", | |
40 "libspeex/modes_wb.c", | |
41 "libspeex/nb_celp.c", | |
42 "libspeex/nb_celp.h", | |
43 "libspeex/os_support.h", | |
44 "libspeex/pseudofloat.h", | |
45 "libspeex/quant_lsp.c", | |
46 "libspeex/quant_lsp.h", | |
47 "libspeex/sb_celp.c", | |
48 "libspeex/sb_celp.h", | |
49 "libspeex/speex.c", | |
50 "libspeex/speex_callbacks.c", | |
51 "libspeex/speex_header.c", | |
52 "libspeex/stack_alloc.h", | |
53 "libspeex/stereo.c", | |
54 "libspeex/vbr.c", | |
55 "libspeex/vbr.h", | |
56 "libspeex/vq.c", | |
57 "libspeex/vq.h", | |
58 "libspeex/window.c", | |
59 "include/speex/speex.h", | |
60 "include/speex/speex_bits.h", | |
61 "include/speex/speex_buffer.h", | |
62 "include/speex/speex_callbacks.h", | |
63 "include/speex/speex_echo.h", | |
64 "include/speex/speex_header.h", | |
65 "include/speex/speex_jitter.h", | |
66 "include/speex/speex_preprocess.h", | |
67 "include/speex/speex_resampler.h", | |
68 "include/speex/speex_stereo.h", | |
69 "include/speex/speex_types.h", | |
70 ] | |
71 | |
72 configs -= [ "//build/config/compiler:chromium_code" ] | |
73 configs += [ "//build/config/compiler:no_chromium_code" ] | |
74 | |
75 direct_dependent_configs = [ ":speex_config" ] | |
76 | |
77 include_dirs = [ | |
78 "include", | |
brettw
2014/05/25 03:20:11
You don't need this "include" one since speex_conf
tfarina
2014/05/25 05:45:05
Thanks for catching this. Removed.
| |
79 "libspeex", | |
80 ] | |
81 | |
82 defines = [ | |
83 "FLOATING_POINT", | |
84 "EXPORT=", | |
85 "USE_ALLOCA", | |
86 "inline=__inline", | |
87 ] | |
88 | |
89 cflags = [] | |
90 | |
91 if (is_win) { | |
92 cflags += [ | |
93 "/wd4244", | |
94 "/wd4305", | |
95 ] | |
96 } | |
97 } | |
OLD | NEW |