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.
5 config("speex_config") {
6 include_dirs = [ "include" ] # Clients expect <speex/speex.h> to be a system header.
13 "libspeex/cb_search.c",
14 "libspeex/cb_search.h",
15 "libspeex/exc_10_16_table.c",
16 "libspeex/exc_10_32_table.c",
17 "libspeex/exc_20_32_table.c",
18 "libspeex/exc_5_256_table.c",
19 "libspeex/exc_5_64_table.c",
20 "libspeex/exc_8_128_table.c",
23 "libspeex/gain_table.c",
24 "libspeex/gain_table_lbr.c",
25 "libspeex/hexc_10_32_table.c",
26 "libspeex/hexc_table.c",
27 "libspeex/high_lsp_tables.c",
32 "libspeex/lsp_tables_nb.c",
35 "libspeex/math_approx.h",
38 "libspeex/modes_wb.c",
41 "libspeex/os_support.h",
42 "libspeex/pseudofloat.h",
43 "libspeex/quant_lsp.c",
44 "libspeex/quant_lsp.h",
48 "libspeex/speex_callbacks.c",
49 "libspeex/speex_header.c",
50 "libspeex/stack_alloc.h",
57 "include/speex/speex.h",
58 "include/speex/speex_bits.h",
59 "include/speex/speex_buffer.h",
60 "include/speex/speex_callbacks.h",
61 "include/speex/speex_echo.h",
62 "include/speex/speex_header.h",
63 "include/speex/speex_jitter.h",
64 "include/speex/speex_preprocess.h",
65 "include/speex/speex_resampler.h",
66 "include/speex/speex_stereo.h",
67 "include/speex/speex_types.h",
70 configs -= [ "//build/config/compiler:chromium_code" ]
71 configs += [ "//build/config/compiler:no_chromium_code" ]
73 public_configs = [ ":speex_config" ]
75 include_dirs = [ "libspeex" ]