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

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

Issue 2611663002: Refactor rtc_unittests into several targets. (Closed)
Patch Set: Add fakemetricsobserver target in webrtc/api/BUILD.gn Created 3 years, 11 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/p2p/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The WebRTC project authors. All Rights Reserved. 1 # Copyright 2016 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_ios) { 10 if (is_ios) {
(...skipping 212 matching lines...) Expand 10 before | Expand all | Expand 10 after
223 ] 223 ]
224 224
225 if (rtc_build_libyuv) { 225 if (rtc_build_libyuv) {
226 deps += [ "$rtc_libyuv_dir" ] 226 deps += [ "$rtc_libyuv_dir" ]
227 public_deps = [ 227 public_deps = [
228 "$rtc_libyuv_dir", 228 "$rtc_libyuv_dir",
229 ] 229 ]
230 } 230 }
231 } 231 }
232 232
233 if (rtc_include_tests) {
234 rtc_static_library("rtc_sdk_peerconnection_objc_unittests") {
kjellander_webrtc 2017/01/04 14:06:28 rtc_source_set?
235 testonly = true
236 sources = [
237 "objc/Framework/UnitTests/RTCConfigurationTest.mm",
238 "objc/Framework/UnitTests/RTCDataChannelConfigurationTest.mm",
239 "objc/Framework/UnitTests/RTCIceCandidateTest.mm",
240 "objc/Framework/UnitTests/RTCIceServerTest.mm",
241 "objc/Framework/UnitTests/RTCMediaConstraintsTest.mm",
242 "objc/Framework/UnitTests/RTCSessionDescriptionTest.mm",
243 "objc/Framework/UnitTests/avformatmappertests.mm",
244 ]
245 deps = [
246 ":rtc_sdk_peerconnection_objc",
247 "//third_party/ocmock",
248 "//webrtc/system_wrappers:system_wrappers_default",
249 ]
250
251 # TODO(tkchin): Cleanup this warning.
252 cflags = [ "-Wno-objc-property-no-attribute" ]
253
254 # |-ObjC| flag needed to make sure category method implementations
255 # are included:
256 # https://developer.apple.com/library/mac/qa/qa1490/_index.html
257 ldflags = [ "-ObjC" ]
258 }
259 }
260
233 if (is_ios) { 261 if (is_ios) {
234 ios_framework_bundle("rtc_sdk_framework_objc") { 262 ios_framework_bundle("rtc_sdk_framework_objc") {
235 info_plist = "objc/Framework/Info.plist" 263 info_plist = "objc/Framework/Info.plist"
236 output_name = "WebRTC" 264 output_name = "WebRTC"
237 265
238 common_objc_headers = [ 266 common_objc_headers = [
239 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h", 267 "objc/Framework/Headers/WebRTC/RTCAVFoundationVideoSource.h",
240 "objc/Framework/Headers/WebRTC/RTCAudioSource.h", 268 "objc/Framework/Headers/WebRTC/RTCAudioSource.h",
241 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h", 269 "objc/Framework/Headers/WebRTC/RTCAudioTrack.h",
242 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h", 270 "objc/Framework/Headers/WebRTC/RTCCameraPreviewView.h",
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
358 deps += [ "$rtc_libyuv_dir" ] 386 deps += [ "$rtc_libyuv_dir" ]
359 public_deps = [ 387 public_deps = [
360 "$rtc_libyuv_dir", 388 "$rtc_libyuv_dir",
361 ] 389 ]
362 } else { 390 } else {
363 # Need to add a directory normally exported by libyuv. 391 # Need to add a directory normally exported by libyuv.
364 include_dirs = [ "$rtc_libyuv_dir/include" ] 392 include_dirs = [ "$rtc_libyuv_dir/include" ]
365 } 393 }
366 } 394 }
367 } 395 }
OLDNEW
« no previous file with comments | « webrtc/p2p/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698