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

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

Issue 779473002: gn format //third_party (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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
« no previous file with comments | « third_party/snappy/BUILD.gn ('k') | third_party/sqlite/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [ 6 include_dirs = [ "include" ] # Clients expect <speex/speex.h> to be a system header.
7 "include", # Clients expect <speex/speex.h> to be a system header.
8 ]
9 } 7 }
10 8
11 source_set("speex") { 9 source_set("speex") {
12 sources = [ 10 sources = [
13 "libspeex/arch.h", 11 "libspeex/arch.h",
14 "libspeex/bits.c", 12 "libspeex/bits.c",
15 "libspeex/cb_search.c", 13 "libspeex/cb_search.c",
16 "libspeex/cb_search.h", 14 "libspeex/cb_search.h",
17 "libspeex/exc_10_16_table.c", 15 "libspeex/exc_10_16_table.c",
18 "libspeex/exc_10_32_table.c", 16 "libspeex/exc_10_32_table.c",
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 "include/speex/speex_resampler.h", 65 "include/speex/speex_resampler.h",
68 "include/speex/speex_stereo.h", 66 "include/speex/speex_stereo.h",
69 "include/speex/speex_types.h", 67 "include/speex/speex_types.h",
70 ] 68 ]
71 69
72 configs -= [ "//build/config/compiler:chromium_code" ] 70 configs -= [ "//build/config/compiler:chromium_code" ]
73 configs += [ "//build/config/compiler:no_chromium_code" ] 71 configs += [ "//build/config/compiler:no_chromium_code" ]
74 72
75 public_configs = [ ":speex_config" ] 73 public_configs = [ ":speex_config" ]
76 74
77 include_dirs = [ 75 include_dirs = [ "libspeex" ]
78 "libspeex",
79 ]
80 76
81 defines = [ 77 defines = [
82 "FLOATING_POINT", 78 "FLOATING_POINT",
83 "EXPORT=", 79 "EXPORT=",
84 "USE_ALLOCA", 80 "USE_ALLOCA",
85 "inline=__inline", 81 "inline=__inline",
86 ] 82 ]
87 83
88 cflags = [] 84 cflags = []
89 85
90 if (is_win) { 86 if (is_win) {
91 cflags += [ 87 cflags += [
92 "/wd4244", 88 "/wd4244",
93 "/wd4305", 89 "/wd4305",
94 ] 90 ]
95 } 91 }
96 } 92 }
OLDNEW
« no previous file with comments | « third_party/snappy/BUILD.gn ('k') | third_party/sqlite/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698