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

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

Issue 3011943002: Move optional.h to webrtc/api/ (Closed)
Patch Set: Created 3 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 | « no previous file | webrtc/api/audio_codecs/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) 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("../webrtc.gni") 9 import("../webrtc.gni")
10 if (is_android) { 10 if (is_android) {
(...skipping 189 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 200
201 rtc_source_set("array_view") { 201 rtc_source_set("array_view") {
202 sources = [ 202 sources = [
203 "array_view.h", 203 "array_view.h",
204 ] 204 ]
205 deps = [ 205 deps = [
206 "../rtc_base:rtc_base_approved", 206 "../rtc_base:rtc_base_approved",
207 ] 207 ]
208 } 208 }
209 209
210 rtc_source_set("optional") {
211 sources = [
212 "optional.cc",
213 "optional.h",
214 ]
215 deps = [
216 ":array_view",
217 "../rtc_base:rtc_base_approved",
218 ]
219 }
220
210 rtc_source_set("libjingle_peerconnection_test_api") { 221 rtc_source_set("libjingle_peerconnection_test_api") {
211 testonly = true 222 testonly = true
212 sources = [ 223 sources = [
213 "test/fakeconstraints.h", 224 "test/fakeconstraints.h",
214 ] 225 ]
215 226
216 public_deps = [ 227 public_deps = [
217 ":libjingle_peerconnection_api", 228 ":libjingle_peerconnection_api",
218 ] 229 ]
219 230
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 testonly = true 270 testonly = true
260 271
261 # Skip restricting visibility on mobile platforms since the tests on those 272 # Skip restricting visibility on mobile platforms since the tests on those
262 # gets additional generated targets which would require many lines here to 273 # gets additional generated targets which would require many lines here to
263 # cover (which would be confusing to read and hard to maintain). 274 # cover (which would be confusing to read and hard to maintain).
264 if (!is_android && !is_ios) { 275 if (!is_android && !is_ios) {
265 visibility = [ "..:rtc_unittests" ] 276 visibility = [ "..:rtc_unittests" ]
266 } 277 }
267 sources = [ 278 sources = [
268 "array_view_unittest.cc", 279 "array_view_unittest.cc",
280 "optional_unittest.cc",
269 "ortc/mediadescription_unittest.cc", 281 "ortc/mediadescription_unittest.cc",
270 "ortc/sessiondescription_unittest.cc", 282 "ortc/sessiondescription_unittest.cc",
271 "rtcerror_unittest.cc", 283 "rtcerror_unittest.cc",
272 "rtpparameters_unittest.cc", 284 "rtpparameters_unittest.cc",
273 ] 285 ]
274 286
275 if (!build_with_chromium && is_clang) { 287 if (!build_with_chromium && is_clang) {
276 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163). 288 # Suppress warnings from the Chromium Clang plugin (bugs.webrtc.org/163).
277 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ] 289 suppressed_configs += [ "//build/config/clang:find_bad_constructs" ]
278 } 290 }
279 291
280 deps = [ 292 deps = [
281 ":array_view", 293 ":array_view",
282 ":libjingle_peerconnection_api", 294 ":libjingle_peerconnection_api",
295 ":optional",
283 ":ortc_api", 296 ":ortc_api",
284 "../rtc_base:rtc_base_approved", 297 "../rtc_base:rtc_base_approved",
285 "../rtc_base:rtc_base_tests_utils", 298 "../rtc_base:rtc_base_tests_utils",
286 "../test:test_support", 299 "../test:test_support",
287 ] 300 ]
288 } 301 }
289 } 302 }
OLDNEW
« no previous file with comments | « no previous file | webrtc/api/audio_codecs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698