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

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: Changed to webrtc/api/call Created 4 years, 6 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
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 11
12 group("api") { 12 group("api") {
13 deps = [ 13 deps = [
14 ":libjingle_peerconnection", 14 ":libjingle_peerconnection",
15 ] 15 ]
16 } 16 }
17 17
18 source_set("call_api") {
19 sources = [
20 "call/audio_receive_stream.h",
21 "call/audio_send_stream.h",
22 "call/audio_sink.h",
23 "call/audio_state.h",
24 ]
25
26 configs += [ "..:common_config" ]
27 public_configs = [ "..:common_inherited_config" ]
28
29 deps = [
30 # TODO(kjellander): Add remaining dependencies when webrtc:4243 is done.
31 "..:webrtc_common",
32 "../base:rtc_base_approved",
33 "../modules/audio_coding:audio_encoder_interface",
34 ]
35 }
36
18 config("libjingle_peerconnection_warnings_config") { 37 config("libjingle_peerconnection_warnings_config") {
19 # GN orders flags on a target before flags from configs. The default config 38 # GN orders flags on a target before flags from configs. The default config
20 # adds these flags so to cancel them out they need to come from a config and 39 # adds these flags so to cancel them out they need to come from a config and
21 # cannot be on the target directly. 40 # cannot be on the target directly.
22 if (!is_win) { 41 if (!is_win) {
23 cflags = [ "-Wno-sign-compare" ] 42 cflags = [ "-Wno-sign-compare" ]
24 if (!is_clang) { 43 if (!is_clang) {
25 cflags += [ "-Wno-maybe-uninitialized" ] # Only exists for GCC. 44 cflags += [ "-Wno-maybe-uninitialized" ] # Only exists for GCC.
26 } 45 }
27 } 46 }
(...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 if (is_clang) { 127 if (is_clang) {
109 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 128 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
110 configs -= [ "//build/config/clang:find_bad_constructs" ] 129 configs -= [ "//build/config/clang:find_bad_constructs" ]
111 } 130 }
112 131
113 if (is_win) { 132 if (is_win) {
114 cflags += [ "/wd4389" ] # signed/unsigned mismatch. 133 cflags += [ "/wd4389" ] # signed/unsigned mismatch.
115 } 134 }
116 135
117 deps = [ 136 deps = [
137 ":call_api",
118 "../call", 138 "../call",
119 "../media", 139 "../media",
120 "../pc", 140 "../pc",
121 ] 141 ]
122 142
123 if (rtc_use_quic) { 143 if (rtc_use_quic) {
124 sources += [ 144 sources += [
125 "quicdatachannel.cc", 145 "quicdatachannel.cc",
126 "quicdatachannel.h", 146 "quicdatachannel.h",
127 "quicdatatransport.cc", 147 "quicdatatransport.cc",
(...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after
320 "../pc:rtc_pc", 340 "../pc:rtc_pc",
321 "../system_wrappers:metrics_default", 341 "../system_wrappers:metrics_default",
322 "//testing/gmock", 342 "//testing/gmock",
323 ] 343 ]
324 344
325 if (is_android) { 345 if (is_android) {
326 deps += [ "//testing/android/native_test:native_test_support" ] 346 deps += [ "//testing/android/native_test:native_test_support" ]
327 } 347 }
328 } 348 }
329 } 349 }
OLDNEW
« no previous file with comments | « webrtc/DEPS ('k') | webrtc/api/api.gyp » ('j') | webrtc/common.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698