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

Side by Side Diff: third_party/speex/BUILD.gn

Issue 960413003: Apply gn format with 'sources' sorting to src/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-format-sort-2
Patch Set: . Created 5 years, 10 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
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 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 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 config("speex_config") { 5 config("speex_config") {
6 include_dirs = [ "include" ] # Clients expect <speex/speex.h> to be a system header. 6 include_dirs = [ "include" ] # Clients expect <speex/speex.h> to be a system header.
7 } 7 }
8 8
9 source_set("speex") { 9 source_set("speex") {
10 sources = [ 10 sources = [
11 "include/speex/speex.h",
12 "include/speex/speex_bits.h",
13 "include/speex/speex_buffer.h",
14 "include/speex/speex_callbacks.h",
15 "include/speex/speex_echo.h",
16 "include/speex/speex_header.h",
17 "include/speex/speex_jitter.h",
18 "include/speex/speex_preprocess.h",
19 "include/speex/speex_resampler.h",
20 "include/speex/speex_stereo.h",
21 "include/speex/speex_types.h",
11 "libspeex/arch.h", 22 "libspeex/arch.h",
12 "libspeex/bits.c", 23 "libspeex/bits.c",
13 "libspeex/cb_search.c", 24 "libspeex/cb_search.c",
14 "libspeex/cb_search.h", 25 "libspeex/cb_search.h",
15 "libspeex/exc_10_16_table.c", 26 "libspeex/exc_10_16_table.c",
16 "libspeex/exc_10_32_table.c", 27 "libspeex/exc_10_32_table.c",
17 "libspeex/exc_20_32_table.c", 28 "libspeex/exc_20_32_table.c",
18 "libspeex/exc_5_256_table.c", 29 "libspeex/exc_5_256_table.c",
19 "libspeex/exc_5_64_table.c", 30 "libspeex/exc_5_64_table.c",
20 "libspeex/exc_8_128_table.c", 31 "libspeex/exc_8_128_table.c",
(...skipping 26 matching lines...) Expand all
47 "libspeex/speex.c", 58 "libspeex/speex.c",
48 "libspeex/speex_callbacks.c", 59 "libspeex/speex_callbacks.c",
49 "libspeex/speex_header.c", 60 "libspeex/speex_header.c",
50 "libspeex/stack_alloc.h", 61 "libspeex/stack_alloc.h",
51 "libspeex/stereo.c", 62 "libspeex/stereo.c",
52 "libspeex/vbr.c", 63 "libspeex/vbr.c",
53 "libspeex/vbr.h", 64 "libspeex/vbr.h",
54 "libspeex/vq.c", 65 "libspeex/vq.c",
55 "libspeex/vq.h", 66 "libspeex/vq.h",
56 "libspeex/window.c", 67 "libspeex/window.c",
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",
68 ] 68 ]
69 69
70 configs -= [ "//build/config/compiler:chromium_code" ] 70 configs -= [ "//build/config/compiler:chromium_code" ]
71 configs += [ "//build/config/compiler:no_chromium_code" ] 71 configs += [ "//build/config/compiler:no_chromium_code" ]
72 72
73 public_configs = [ ":speex_config" ] 73 public_configs = [ ":speex_config" ]
74 74
75 include_dirs = [ "libspeex" ] 75 include_dirs = [ "libspeex" ]
76 76
77 defines = [ 77 defines = [
78 "FLOATING_POINT", 78 "FLOATING_POINT",
79 "EXPORT=", 79 "EXPORT=",
80 "USE_ALLOCA", 80 "USE_ALLOCA",
81 "inline=__inline", 81 "inline=__inline",
82 ] 82 ]
83 83
84 cflags = [] 84 cflags = []
85 85
86 if (is_win) { 86 if (is_win) {
87 cflags += [ 87 cflags += [
88 "/wd4244", 88 "/wd4244",
89 "/wd4305", 89 "/wd4305",
90 ] 90 ]
91 } 91 }
92 } 92 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698