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

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: Remove mentions of GYP. 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
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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after
334 rtc_source_set("audio_mixer_api") { 335 rtc_source_set("audio_mixer_api") {
335 sources = [ 336 sources = [
336 "audio/audio_mixer.h", 337 "audio/audio_mixer.h",
337 ] 338 ]
338 339
339 deps = [ 340 deps = [
340 "../base:rtc_base_approved", 341 "../base:rtc_base_approved",
341 ] 342 ]
342 } 343 }
343 344
345 rtc_source_set("transport_api") {
346 sources = [
347 "call/transport.h",
348 ]
349 }
344 if (rtc_include_tests) { 350 if (rtc_include_tests) {
345 config("peerconnection_unittests_config") { 351 config("peerconnection_unittests_config") {
346 # The warnings below are enabled by default. Since GN orders compiler flags 352 # The warnings below are enabled by default. Since GN orders compiler flags
347 # for a target before flags from configs, the only way to disable such 353 # for a target before flags from configs, the only way to disable such
348 # warnings is by having them in a separate config, loaded from the target. 354 # warnings is by having them in a separate config, loaded from the target.
349 # TODO(kjellander): Make the code compile without disabling these flags. 355 # TODO(kjellander): Make the code compile without disabling these flags.
350 # See https://bugs.webrtc.org/3307. 356 # See https://bugs.webrtc.org/3307.
351 if (is_clang && is_win) { 357 if (is_clang && is_win) {
352 cflags = [ 358 cflags = [
353 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267 359 # See https://bugs.chromium.org/p/webrtc/issues/detail?id=6267
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
486 deps = [ 492 deps = [
487 ":libjingle_peerconnection_java", 493 ":libjingle_peerconnection_java",
488 "../base:base_java", 494 "../base:base_java",
489 "//base:base_java", 495 "//base:base_java",
490 ] 496 ]
491 497
492 shared_libraries = [ ":libjingle_peerconnection_so" ] 498 shared_libraries = [ ":libjingle_peerconnection_so" ]
493 } 499 }
494 } 500 }
495 } 501 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698