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

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

Issue 2059703002: Move webrtc/audio_*.h to webrtc/api/call (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: Rebased on top of d565b73121b1b7672fb7d1f115bbbbb137a838eb Created 4 years, 3 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/DEPS ('k') | webrtc/api/api.gyp » ('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 import("//testing/test.gni") 10 import("//testing/test.gni")
11 if (is_android) { 11 if (is_android) {
12 import("//build/config/android/config.gni") 12 import("//build/config/android/config.gni")
13 import("//build/config/android/rules.gni") 13 import("//build/config/android/rules.gni")
14 } 14 }
15 15
16 group("api") { 16 group("api") {
17 deps = [ 17 deps = [
18 ":libjingle_peerconnection", 18 ":libjingle_peerconnection",
19 ] 19 ]
20 } 20 }
21 21
22 source_set("call_api") {
23 sources = [
24 "call/audio_receive_stream.h",
25 "call/audio_send_stream.h",
26 "call/audio_sink.h",
27 "call/audio_state.h",
28 ]
29
30 configs += [ "..:common_config" ]
31 public_configs = [ "..:common_inherited_config" ]
32
33 deps = [
34 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
35 "..:webrtc_common",
36 "../base:rtc_base_approved",
37 "../modules/audio_coding:audio_encoder_interface",
38 ]
39 }
40
22 config("libjingle_peerconnection_warnings_config") { 41 config("libjingle_peerconnection_warnings_config") {
23 # GN orders flags on a target before flags from configs. The default config 42 # GN orders flags on a target before flags from configs. The default config
24 # adds these flags so to cancel them out they need to come from a config and 43 # adds these flags so to cancel them out they need to come from a config and
25 # cannot be on the target directly. 44 # cannot be on the target directly.
26 if (!is_win && !is_clang) { 45 if (!is_win && !is_clang) {
27 cflags = [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. 46 cflags = [ "-Wno-maybe-uninitialized" ] # Only exists for GCC.
28 } 47 }
29 } 48 }
30 49
31 source_set("libjingle_peerconnection") { 50 source_set("libjingle_peerconnection") {
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
106 ":libjingle_peerconnection_warnings_config", 125 ":libjingle_peerconnection_warnings_config",
107 ] 126 ]
108 public_configs = [ "..:common_inherited_config" ] 127 public_configs = [ "..:common_inherited_config" ]
109 128
110 if (is_clang) { 129 if (is_clang) {
111 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 130 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
112 configs -= [ "//build/config/clang:find_bad_constructs" ] 131 configs -= [ "//build/config/clang:find_bad_constructs" ]
113 } 132 }
114 133
115 deps = [ 134 deps = [
135 ":call_api",
116 "../call", 136 "../call",
117 "../media", 137 "../media",
118 "../pc", 138 "../pc",
119 ] 139 ]
120 140
121 if (rtc_use_quic) { 141 if (rtc_use_quic) {
122 sources += [ 142 sources += [
123 "quicdatachannel.cc", 143 "quicdatachannel.cc",
124 "quicdatachannel.h", 144 "quicdatachannel.h",
125 "quicdatatransport.cc", 145 "quicdatatransport.cc",
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after
446 466
447 shared_libraries = [ ":libjingle_peerconnection_so" ] 467 shared_libraries = [ ":libjingle_peerconnection_so" ]
448 } 468 }
449 469
450 android_resources("libjingle_peerconnection_android_unittest_resources") { 470 android_resources("libjingle_peerconnection_android_unittest_resources") {
451 resource_dirs = [ "androidtests/res" ] 471 resource_dirs = [ "androidtests/res" ]
452 custom_package = "org.webrtc" 472 custom_package = "org.webrtc"
453 } 473 }
454 } 474 }
455 } 475 }
OLDNEW
« no previous file with comments | « webrtc/DEPS ('k') | webrtc/api/api.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698