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

Side by Side Diff: webrtc/api/BUILD.gn

Issue 2426563003: Moved transport.h from webrtc/ to webrtc/api, created build target and updated dependencies. (Closed)
Patch Set: Created issue webrtc:6785 as reminder and linked to it in comments. Created 4 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 | « webrtc/BUILD.gn ('k') | webrtc/api/call/audio_receive_stream.h » ('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) 2015 The WebRTC project authors. All Rights Reserved. 1 # Copyright (c) 2015 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 if (is_android) { 10 if (is_android) {
(...skipping 19 matching lines...) Expand all
30 "call/audio_send_stream.cc", 30 "call/audio_send_stream.cc",
31 "call/audio_send_stream.h", 31 "call/audio_send_stream.h",
32 "call/audio_sink.h", 32 "call/audio_sink.h",
33 "call/audio_state.h", 33 "call/audio_state.h",
34 "call/flexfec_receive_stream.h", 34 "call/flexfec_receive_stream.h",
35 ] 35 ]
36 36
37 deps = [ 37 deps = [
38 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done. 38 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
39 ":audio_mixer_api", 39 ":audio_mixer_api",
40 ":transport_api",
40 "..:webrtc_common", 41 "..:webrtc_common",
41 "../base:rtc_base_approved", 42 "../base:rtc_base_approved",
42 "../modules/audio_coding:audio_encoder_interface", 43 "../modules/audio_coding:audio_encoder_interface",
43 ] 44 ]
44 } 45 }
45 46
46 config("libjingle_peerconnection_warnings_config") { 47 config("libjingle_peerconnection_warnings_config") {
47 # GN orders flags on a target before flags from configs. The default config 48 # GN orders flags on a target before flags from configs. The default config
48 # adds these flags so to cancel them out they need to come from a config and 49 # adds these flags so to cancel them out they need to come from a config and
49 # cannot be on the target directly. 50 # cannot be on the target directly.
(...skipping 305 matching lines...) Expand 10 before | Expand all | Expand 10 after
355 rtc_source_set("audio_mixer_api") { 356 rtc_source_set("audio_mixer_api") {
356 sources = [ 357 sources = [
357 "audio/audio_mixer.h", 358 "audio/audio_mixer.h",
358 ] 359 ]
359 360
360 deps = [ 361 deps = [
361 "../base:rtc_base_approved", 362 "../base:rtc_base_approved",
362 ] 363 ]
363 } 364 }
364 365
366 rtc_source_set("transport_api") {
367 sources = [
368 "call/transport.h",
369 ]
370 }
365 if (rtc_include_tests) { 371 if (rtc_include_tests) {
366 config("peerconnection_unittests_config") { 372 config("peerconnection_unittests_config") {
367 # The warnings below are enabled by default. Since GN orders compiler flags 373 # The warnings below are enabled by default. Since GN orders compiler flags
368 # for a target before flags from configs, the only way to disable such 374 # for a target before flags from configs, the only way to disable such
369 # warnings is by having them in a separate config, loaded from the target. 375 # warnings is by having them in a separate config, loaded from the target.
370 # TODO(kjellander): Make the code compile without disabling these flags. 376 # TODO(kjellander): Make the code compile without disabling these flags.
371 # See https://bugs.webrtc.org/3307. 377 # See https://bugs.webrtc.org/3307.
372 if (is_clang && is_win) { 378 if (is_clang && is_win) {
373 cflags = [ 379 cflags = [
374 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267 380 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267
(...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after
523 ":libjingle_peerconnection_java", 529 ":libjingle_peerconnection_java",
524 ":libjingle_peerconnection_metrics_default_java", 530 ":libjingle_peerconnection_metrics_default_java",
525 "../base:base_java", 531 "../base:base_java",
526 "//base:base_java", 532 "//base:base_java",
527 ] 533 ]
528 534
529 shared_libraries = [ ":libjingle_peerconnection_so" ] 535 shared_libraries = [ ":libjingle_peerconnection_so" ]
530 } 536 }
531 } 537 }
532 } 538 }
OLDNEW
« no previous file with comments | « webrtc/BUILD.gn ('k') | webrtc/api/call/audio_receive_stream.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698