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

Side by Side Diff: webrtc/modules/audio_coding/BUILD.gn

Issue 2361623004: GN: Change rtc_source_set targets --> rtc_static_library (Closed)
Patch Set: Restored accidental rebase errors. Created 4 years, 2 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
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/modules/audio_conference_mixer/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 (c) 2014 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2014 The WebRTC project authors. All Rights Reserved.
2 # 2 #
3 # Use of this source code is governed by a BSD-style license 3 # Use of this source code is governed by a BSD-style license
4 # that can be found in the LICENSE file in the root of the source 4 # that can be found in the LICENSE file in the root of the source
5 # tree. An additional intellectual property rights grant can be found 5 # tree. An additional intellectual property rights grant can be found
6 # in the file PATENTS. All contributing project authors may 6 # in the file PATENTS. All contributing project authors may
7 # be found in the AUTHORS file in the root of the source tree. 7 # be found in the AUTHORS file in the root of the source tree.
8 8
9 import("../../build/webrtc.gni") 9 import("../../build/webrtc.gni")
10 import("audio_coding.gni") 10 import("audio_coding.gni")
(...skipping 21 matching lines...) Expand all
32 } 32 }
33 if (!build_with_mozilla && !build_with_chromium) { 33 if (!build_with_mozilla && !build_with_chromium) {
34 audio_codec_deps += [ ":red" ] 34 audio_codec_deps += [ ":red" ]
35 } 35 }
36 audio_coding_deps = audio_codec_deps + [ 36 audio_coding_deps = audio_codec_deps + [
37 "../..:webrtc_common", 37 "../..:webrtc_common",
38 "../../common_audio", 38 "../../common_audio",
39 "../../system_wrappers", 39 "../../system_wrappers",
40 ] 40 ]
41 41
42 rtc_source_set("audio_decoder_factory_interface") { 42 rtc_static_library("audio_decoder_factory_interface") {
43 sources = [ 43 sources = [
44 "codecs/audio_decoder_factory.h", 44 "codecs/audio_decoder_factory.h",
45 "codecs/audio_format.cc", 45 "codecs/audio_format.cc",
46 "codecs/audio_format.h", 46 "codecs/audio_format.h",
47 ] 47 ]
48 deps = [ 48 deps = [
49 "../..:webrtc_common", 49 "../..:webrtc_common",
50 ] 50 ]
51 } 51 }
52 52
53 rtc_source_set("builtin_audio_decoder_factory") { 53 rtc_static_library("builtin_audio_decoder_factory") {
54 sources = [ 54 sources = [
55 "codecs/builtin_audio_decoder_factory.cc", 55 "codecs/builtin_audio_decoder_factory.cc",
56 "codecs/builtin_audio_decoder_factory.h", 56 "codecs/builtin_audio_decoder_factory.h",
57 ] 57 ]
58 deps = [ 58 deps = [
59 "../..:webrtc_common", 59 "../..:webrtc_common",
60 ":audio_decoder_factory_interface", 60 ":audio_decoder_factory_interface",
61 ] + audio_codec_deps 61 ] + audio_codec_deps
62 defines = audio_codec_defines 62 defines = audio_codec_defines
63 } 63 }
64 64
65 rtc_source_set("rent_a_codec") { 65 rtc_static_library("rent_a_codec") {
66 sources = [ 66 sources = [
67 "acm2/acm_codec_database.cc", 67 "acm2/acm_codec_database.cc",
68 "acm2/acm_codec_database.h", 68 "acm2/acm_codec_database.h",
69 "acm2/rent_a_codec.cc", 69 "acm2/rent_a_codec.cc",
70 "acm2/rent_a_codec.h", 70 "acm2/rent_a_codec.h",
71 ] 71 ]
72 deps = [ "../..:webrtc_common" ] + audio_codec_deps 72 deps = [ "../..:webrtc_common" ] + audio_codec_deps
73 defines = audio_codec_defines 73 defines = audio_codec_defines
74 } 74 }
75 75
76 config("audio_coding_config") { 76 config("audio_coding_config") {
77 include_dirs = [ 77 include_dirs = [
78 "include", 78 "include",
79 "../include", 79 "../include",
80 ] 80 ]
81 } 81 }
82 82
83 rtc_source_set("audio_coding") { 83 rtc_static_library("audio_coding") {
84 sources = [ 84 sources = [
85 "acm2/acm_common_defs.h", 85 "acm2/acm_common_defs.h",
86 "acm2/acm_receiver.cc", 86 "acm2/acm_receiver.cc",
87 "acm2/acm_receiver.h", 87 "acm2/acm_receiver.h",
88 "acm2/acm_resampler.cc", 88 "acm2/acm_resampler.cc",
89 "acm2/acm_resampler.h", 89 "acm2/acm_resampler.h",
90 "acm2/audio_coding_module.cc", 90 "acm2/audio_coding_module.cc",
91 "acm2/call_statistics.cc", 91 "acm2/call_statistics.cc",
92 "acm2/call_statistics.h", 92 "acm2/call_statistics.h",
93 "acm2/codec_manager.cc", 93 "acm2/codec_manager.cc",
(...skipping 23 matching lines...) Expand all
117 117
118 deps = audio_coding_deps + [ 118 deps = audio_coding_deps + [
119 ":audio_network_adaptor", 119 ":audio_network_adaptor",
120 ":neteq", 120 ":neteq",
121 ":rent_a_codec", 121 ":rent_a_codec",
122 "../..:rtc_event_log", 122 "../..:rtc_event_log",
123 ] 123 ]
124 defines = audio_coding_defines 124 defines = audio_coding_defines
125 } 125 }
126 126
127 rtc_source_set("audio_decoder_interface") { 127 rtc_static_library("audio_decoder_interface") {
128 sources = [ 128 sources = [
129 "codecs/audio_decoder.cc", 129 "codecs/audio_decoder.cc",
130 "codecs/audio_decoder.h", 130 "codecs/audio_decoder.h",
131 "codecs/legacy_encoded_audio_frame.cc", 131 "codecs/legacy_encoded_audio_frame.cc",
132 "codecs/legacy_encoded_audio_frame.h", 132 "codecs/legacy_encoded_audio_frame.h",
133 ] 133 ]
134 deps = [ 134 deps = [
135 "../..:webrtc_common", 135 "../..:webrtc_common",
136 "../../base:rtc_base_approved", 136 "../../base:rtc_base_approved",
137 ] 137 ]
138 } 138 }
139 139
140 rtc_source_set("audio_encoder_interface") { 140 rtc_static_library("audio_encoder_interface") {
141 sources = [ 141 sources = [
142 "codecs/audio_encoder.cc", 142 "codecs/audio_encoder.cc",
143 "codecs/audio_encoder.h", 143 "codecs/audio_encoder.h",
144 ] 144 ]
145 deps = [ 145 deps = [
146 "../..:webrtc_common", 146 "../..:webrtc_common",
147 "../../base:rtc_base_approved", 147 "../../base:rtc_base_approved",
148 ] 148 ]
149 } 149 }
150 150
151 config("cng_config") { 151 config("cng_config") {
152 include_dirs = [ 152 include_dirs = [
153 "../../..", 153 "../../..",
154 "codecs/cng/include", 154 "codecs/cng/include",
155 ] 155 ]
156 } 156 }
157 157
158 rtc_source_set("cng") { 158 rtc_static_library("cng") {
159 sources = [ 159 sources = [
160 "codecs/cng/audio_encoder_cng.cc", 160 "codecs/cng/audio_encoder_cng.cc",
161 "codecs/cng/audio_encoder_cng.h", 161 "codecs/cng/audio_encoder_cng.h",
162 "codecs/cng/webrtc_cng.cc", 162 "codecs/cng/webrtc_cng.cc",
163 "codecs/cng/webrtc_cng.h", 163 "codecs/cng/webrtc_cng.h",
164 ] 164 ]
165 165
166 public_configs = [ ":cng_config" ] 166 public_configs = [ ":cng_config" ]
167 167
168 deps = [ 168 deps = [
169 ":audio_encoder_interface", 169 ":audio_encoder_interface",
170 "../../common_audio", 170 "../../common_audio",
171 ] 171 ]
172 } 172 }
173 173
174 config("red_config") { 174 config("red_config") {
175 include_dirs = [ "codecs/red" ] 175 include_dirs = [ "codecs/red" ]
176 } 176 }
177 177
178 rtc_source_set("red") { 178 rtc_static_library("red") {
179 sources = [ 179 sources = [
180 "codecs/red/audio_encoder_copy_red.cc", 180 "codecs/red/audio_encoder_copy_red.cc",
181 "codecs/red/audio_encoder_copy_red.h", 181 "codecs/red/audio_encoder_copy_red.h",
182 ] 182 ]
183 183
184 public_configs = [ ":red_config" ] 184 public_configs = [ ":red_config" ]
185 185
186 deps = [ 186 deps = [
187 ":audio_encoder_interface", 187 ":audio_encoder_interface",
188 "../../common_audio", 188 "../../common_audio",
189 ] 189 ]
190 } 190 }
191 191
192 config("g711_config") { 192 config("g711_config") {
193 include_dirs = [ 193 include_dirs = [
194 "../../..", 194 "../../..",
195 "codecs/g711/include", 195 "codecs/g711/include",
196 ] 196 ]
197 } 197 }
198 198
199 rtc_source_set("g711") { 199 rtc_static_library("g711") {
200 sources = [ 200 sources = [
201 "codecs/g711/audio_decoder_pcm.cc", 201 "codecs/g711/audio_decoder_pcm.cc",
202 "codecs/g711/audio_decoder_pcm.h", 202 "codecs/g711/audio_decoder_pcm.h",
203 "codecs/g711/audio_encoder_pcm.cc", 203 "codecs/g711/audio_encoder_pcm.cc",
204 "codecs/g711/audio_encoder_pcm.h", 204 "codecs/g711/audio_encoder_pcm.h",
205 "codecs/g711/g711.c", 205 "codecs/g711/g711.c",
206 "codecs/g711/g711.h", 206 "codecs/g711/g711.h",
207 "codecs/g711/g711_interface.c", 207 "codecs/g711/g711_interface.c",
208 "codecs/g711/g711_interface.h", 208 "codecs/g711/g711_interface.h",
209 ] 209 ]
210 210
211 public_configs = [ ":g711_config" ] 211 public_configs = [ ":g711_config" ]
212 212
213 deps = [ 213 deps = [
214 ":audio_decoder_interface", 214 ":audio_decoder_interface",
215 ":audio_encoder_interface", 215 ":audio_encoder_interface",
216 ] 216 ]
217 } 217 }
218 218
219 config("g722_config") { 219 config("g722_config") {
220 include_dirs = [ 220 include_dirs = [
221 "../../..", 221 "../../..",
222 "codecs/g722/include", 222 "codecs/g722/include",
223 ] 223 ]
224 } 224 }
225 225
226 rtc_source_set("g722") { 226 rtc_static_library("g722") {
227 sources = [ 227 sources = [
228 "codecs/g722/audio_decoder_g722.cc", 228 "codecs/g722/audio_decoder_g722.cc",
229 "codecs/g722/audio_decoder_g722.h", 229 "codecs/g722/audio_decoder_g722.h",
230 "codecs/g722/audio_encoder_g722.cc", 230 "codecs/g722/audio_encoder_g722.cc",
231 "codecs/g722/audio_encoder_g722.h", 231 "codecs/g722/audio_encoder_g722.h",
232 "codecs/g722/g722_decode.c", 232 "codecs/g722/g722_decode.c",
233 "codecs/g722/g722_enc_dec.h", 233 "codecs/g722/g722_enc_dec.h",
234 "codecs/g722/g722_encode.c", 234 "codecs/g722/g722_encode.c",
235 "codecs/g722/g722_interface.c", 235 "codecs/g722/g722_interface.c",
236 "codecs/g722/g722_interface.h", 236 "codecs/g722/g722_interface.h",
237 ] 237 ]
238 238
239 public_configs = [ ":g722_config" ] 239 public_configs = [ ":g722_config" ]
240 240
241 deps = [ 241 deps = [
242 ":audio_decoder_interface", 242 ":audio_decoder_interface",
243 ":audio_encoder_interface", 243 ":audio_encoder_interface",
244 ] 244 ]
245 } 245 }
246 246
247 config("ilbc_config") { 247 config("ilbc_config") {
248 include_dirs = [ 248 include_dirs = [
249 "../../..", 249 "../../..",
250 "codecs/ilbc/include", 250 "codecs/ilbc/include",
251 ] 251 ]
252 } 252 }
253 253
254 rtc_source_set("ilbc") { 254 rtc_static_library("ilbc") {
255 sources = [ 255 sources = [
256 "codecs/ilbc/abs_quant.c", 256 "codecs/ilbc/abs_quant.c",
257 "codecs/ilbc/abs_quant.h", 257 "codecs/ilbc/abs_quant.h",
258 "codecs/ilbc/abs_quant_loop.c", 258 "codecs/ilbc/abs_quant_loop.c",
259 "codecs/ilbc/abs_quant_loop.h", 259 "codecs/ilbc/abs_quant_loop.h",
260 "codecs/ilbc/audio_decoder_ilbc.cc", 260 "codecs/ilbc/audio_decoder_ilbc.cc",
261 "codecs/ilbc/audio_decoder_ilbc.h", 261 "codecs/ilbc/audio_decoder_ilbc.h",
262 "codecs/ilbc/audio_encoder_ilbc.cc", 262 "codecs/ilbc/audio_encoder_ilbc.cc",
263 "codecs/ilbc/audio_encoder_ilbc.h", 263 "codecs/ilbc/audio_encoder_ilbc.h",
264 "codecs/ilbc/augmented_cb_corr.c", 264 "codecs/ilbc/augmented_cb_corr.c",
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after
401 public_configs = [ ":ilbc_config" ] 401 public_configs = [ ":ilbc_config" ]
402 402
403 deps = [ 403 deps = [
404 ":audio_decoder_interface", 404 ":audio_decoder_interface",
405 ":audio_encoder_interface", 405 ":audio_encoder_interface",
406 "../../base:rtc_base_approved", 406 "../../base:rtc_base_approved",
407 "../../common_audio", 407 "../../common_audio",
408 ] 408 ]
409 } 409 }
410 410
411 rtc_source_set("isac_common") { 411 rtc_static_library("isac_common") {
412 sources = [ 412 sources = [
413 "codecs/isac/audio_encoder_isac_t.h", 413 "codecs/isac/audio_encoder_isac_t.h",
414 "codecs/isac/audio_encoder_isac_t_impl.h", 414 "codecs/isac/audio_encoder_isac_t_impl.h",
415 "codecs/isac/locked_bandwidth_info.cc", 415 "codecs/isac/locked_bandwidth_info.cc",
416 "codecs/isac/locked_bandwidth_info.h", 416 "codecs/isac/locked_bandwidth_info.h",
417 ] 417 ]
418 } 418 }
419 419
420 config("isac_config") { 420 config("isac_config") {
421 include_dirs = [ 421 include_dirs = [
422 "../../..", 422 "../../..",
423 "codecs/isac/main/include", 423 "codecs/isac/main/include",
424 ] 424 ]
425 } 425 }
426 426
427 rtc_source_set("isac") { 427 rtc_static_library("isac") {
428 sources = [ 428 sources = [
429 "codecs/isac/main/include/audio_decoder_isac.h", 429 "codecs/isac/main/include/audio_decoder_isac.h",
430 "codecs/isac/main/include/audio_encoder_isac.h", 430 "codecs/isac/main/include/audio_encoder_isac.h",
431 "codecs/isac/main/include/isac.h", 431 "codecs/isac/main/include/isac.h",
432 "codecs/isac/main/source/arith_routines.c", 432 "codecs/isac/main/source/arith_routines.c",
433 "codecs/isac/main/source/arith_routines.h", 433 "codecs/isac/main/source/arith_routines.h",
434 "codecs/isac/main/source/arith_routines_hist.c", 434 "codecs/isac/main/source/arith_routines_hist.c",
435 "codecs/isac/main/source/arith_routines_logist.c", 435 "codecs/isac/main/source/arith_routines_logist.c",
436 "codecs/isac/main/source/audio_decoder_isac.cc", 436 "codecs/isac/main/source/audio_decoder_isac.cc",
437 "codecs/isac/main/source/audio_encoder_isac.cc", 437 "codecs/isac/main/source/audio_encoder_isac.cc",
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
498 ] 498 ]
499 } 499 }
500 500
501 config("isac_fix_config") { 501 config("isac_fix_config") {
502 include_dirs = [ 502 include_dirs = [
503 "../../..", 503 "../../..",
504 "codecs/isac/fix/include", 504 "codecs/isac/fix/include",
505 ] 505 ]
506 } 506 }
507 507
508 rtc_source_set("isac_fix") { 508 rtc_static_library("isac_fix") {
509 sources = [ 509 sources = [
510 "codecs/isac/fix/include/audio_decoder_isacfix.h", 510 "codecs/isac/fix/include/audio_decoder_isacfix.h",
511 "codecs/isac/fix/include/audio_encoder_isacfix.h", 511 "codecs/isac/fix/include/audio_encoder_isacfix.h",
512 "codecs/isac/fix/include/isacfix.h", 512 "codecs/isac/fix/include/isacfix.h",
513 "codecs/isac/fix/source/arith_routines.c", 513 "codecs/isac/fix/source/arith_routines.c",
514 "codecs/isac/fix/source/arith_routines_hist.c", 514 "codecs/isac/fix/source/arith_routines_hist.c",
515 "codecs/isac/fix/source/arith_routines_logist.c", 515 "codecs/isac/fix/source/arith_routines_logist.c",
516 "codecs/isac/fix/source/arith_routins.h", 516 "codecs/isac/fix/source/arith_routins.h",
517 "codecs/isac/fix/source/audio_decoder_isacfix.cc", 517 "codecs/isac/fix/source/audio_decoder_isacfix.cc",
518 "codecs/isac/fix/source/audio_encoder_isacfix.cc", 518 "codecs/isac/fix/source/audio_encoder_isacfix.cc",
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 sources += [ 601 sources += [
602 "codecs/isac/fix/source/lpc_masking_model_mips.c", 602 "codecs/isac/fix/source/lpc_masking_model_mips.c",
603 "codecs/isac/fix/source/pitch_filter_mips.c", 603 "codecs/isac/fix/source/pitch_filter_mips.c",
604 ] 604 ]
605 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ] 605 sources -= [ "codecs/isac/fix/source/pitch_filter_c.c" ]
606 } 606 }
607 } 607 }
608 } 608 }
609 609
610 if (rtc_build_with_neon) { 610 if (rtc_build_with_neon) {
611 rtc_source_set("isac_neon") { 611 rtc_static_library("isac_neon") {
612 sources = [ 612 sources = [
613 "codecs/isac/fix/source/entropy_coding_neon.c", 613 "codecs/isac/fix/source/entropy_coding_neon.c",
614 "codecs/isac/fix/source/filterbanks_neon.c", 614 "codecs/isac/fix/source/filterbanks_neon.c",
615 "codecs/isac/fix/source/filters_neon.c", 615 "codecs/isac/fix/source/filters_neon.c",
616 "codecs/isac/fix/source/lattice_neon.c", 616 "codecs/isac/fix/source/lattice_neon.c",
617 "codecs/isac/fix/source/transform_neon.c", 617 "codecs/isac/fix/source/transform_neon.c",
618 ] 618 ]
619 619
620 if (current_cpu != "arm64") { 620 if (current_cpu != "arm64") {
621 # Enable compilation for the NEON instruction set. This is needed 621 # Enable compilation for the NEON instruction set. This is needed
(...skipping 18 matching lines...) Expand all
640 } 640 }
641 } 641 }
642 642
643 config("pcm16b_config") { 643 config("pcm16b_config") {
644 include_dirs = [ 644 include_dirs = [
645 "../../..", 645 "../../..",
646 "codecs/pcm16b/include", 646 "codecs/pcm16b/include",
647 ] 647 ]
648 } 648 }
649 649
650 rtc_source_set("pcm16b") { 650 rtc_static_library("pcm16b") {
651 sources = [ 651 sources = [
652 "codecs/pcm16b/audio_decoder_pcm16b.cc", 652 "codecs/pcm16b/audio_decoder_pcm16b.cc",
653 "codecs/pcm16b/audio_decoder_pcm16b.h", 653 "codecs/pcm16b/audio_decoder_pcm16b.h",
654 "codecs/pcm16b/audio_encoder_pcm16b.cc", 654 "codecs/pcm16b/audio_encoder_pcm16b.cc",
655 "codecs/pcm16b/audio_encoder_pcm16b.h", 655 "codecs/pcm16b/audio_encoder_pcm16b.h",
656 "codecs/pcm16b/pcm16b.c", 656 "codecs/pcm16b/pcm16b.c",
657 "codecs/pcm16b/pcm16b.h", 657 "codecs/pcm16b/pcm16b.h",
658 ] 658 ]
659 659
660 deps = [ 660 deps = [
661 ":audio_decoder_interface", 661 ":audio_decoder_interface",
662 ":audio_encoder_interface", 662 ":audio_encoder_interface",
663 ":g711", 663 ":g711",
664 ] 664 ]
665 665
666 public_configs = [ ":pcm16b_config" ] 666 public_configs = [ ":pcm16b_config" ]
667 } 667 }
668 668
669 config("opus_config") { 669 config("opus_config") {
670 include_dirs = [ "../../.." ] 670 include_dirs = [ "../../.." ]
671 } 671 }
672 672
673 rtc_source_set("webrtc_opus") { 673 rtc_static_library("webrtc_opus") {
674 sources = [ 674 sources = [
675 "codecs/opus/audio_decoder_opus.cc", 675 "codecs/opus/audio_decoder_opus.cc",
676 "codecs/opus/audio_decoder_opus.h", 676 "codecs/opus/audio_decoder_opus.h",
677 "codecs/opus/audio_encoder_opus.cc", 677 "codecs/opus/audio_encoder_opus.cc",
678 "codecs/opus/audio_encoder_opus.h", 678 "codecs/opus/audio_encoder_opus.h",
679 "codecs/opus/opus_inst.h", 679 "codecs/opus/opus_inst.h",
680 "codecs/opus/opus_interface.c", 680 "codecs/opus/opus_interface.c",
681 "codecs/opus/opus_interface.h", 681 "codecs/opus/opus_interface.h",
682 ] 682 ]
683 683
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
718 } 718 }
719 719
720 config("neteq_config") { 720 config("neteq_config") {
721 include_dirs = [ 721 include_dirs = [
722 # Need Opus header files for the audio classifier. 722 # Need Opus header files for the audio classifier.
723 "//third_party/opus/src/celt", 723 "//third_party/opus/src/celt",
724 "//third_party/opus/src/src", 724 "//third_party/opus/src/src",
725 ] 725 ]
726 } 726 }
727 727
728 rtc_source_set("neteq") { 728 rtc_static_library("neteq") {
729 sources = [ 729 sources = [
730 "neteq/accelerate.cc", 730 "neteq/accelerate.cc",
731 "neteq/accelerate.h", 731 "neteq/accelerate.h",
732 "neteq/audio_classifier.cc", 732 "neteq/audio_classifier.cc",
733 "neteq/audio_classifier.h", 733 "neteq/audio_classifier.h",
734 "neteq/audio_decoder_impl.cc", 734 "neteq/audio_decoder_impl.cc",
735 "neteq/audio_decoder_impl.h", 735 "neteq/audio_decoder_impl.h",
736 "neteq/audio_multi_vector.cc", 736 "neteq/audio_multi_vector.cc",
737 "neteq/audio_multi_vector.h", 737 "neteq/audio_multi_vector.h",
738 "neteq/audio_vector.cc", 738 "neteq/audio_vector.cc",
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 } # audio_decoder_unittests 971 } # audio_decoder_unittests
972 972
973 if (rtc_enable_protobuf) { 973 if (rtc_enable_protobuf) {
974 proto_library("neteq_unittest_proto") { 974 proto_library("neteq_unittest_proto") {
975 sources = [ 975 sources = [
976 "neteq/neteq_unittest.proto", 976 "neteq/neteq_unittest.proto",
977 ] 977 ]
978 proto_out_dir = "webrtc/audio_coding/neteq" 978 proto_out_dir = "webrtc/audio_coding/neteq"
979 } 979 }
980 980
981 rtc_source_set("rtc_event_log_source") { 981 rtc_static_library("rtc_event_log_source") {
982 testonly = true 982 testonly = true
983 sources = [ 983 sources = [
984 "neteq/tools/rtc_event_log_source.cc", 984 "neteq/tools/rtc_event_log_source.cc",
985 "neteq/tools/rtc_event_log_source.h", 985 "neteq/tools/rtc_event_log_source.h",
986 ] 986 ]
987 987
988 if (is_clang) { 988 if (is_clang) {
989 # Suppress warnings from the Chromium Clang plugins 989 # Suppress warnings from the Chromium Clang plugins
990 # (bugs.webrtc.org/163). 990 # (bugs.webrtc.org/163).
991 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 991 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
(...skipping 575 matching lines...) Expand 10 before | Expand all | Expand 10 after
1567 "//testing/gtest", 1567 "//testing/gtest",
1568 ] 1568 ]
1569 1569
1570 if (is_clang) { 1570 if (is_clang) {
1571 # Suppress warnings from Chrome's Clang plugins. 1571 # Suppress warnings from Chrome's Clang plugins.
1572 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. 1572 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details.
1573 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 1573 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
1574 } 1574 }
1575 } 1575 }
1576 } 1576 }
OLDNEW
« no previous file with comments | « webrtc/media/BUILD.gn ('k') | webrtc/modules/audio_conference_mixer/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698