OLD | NEW |
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_mac) { | 10 if (is_mac) { |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 | 260 |
261 sources = common_objc_headers + | 261 sources = common_objc_headers + |
262 [ "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h" ] | 262 [ "objc/Framework/Headers/WebRTC/RTCNSGLVideoView.h" ] |
263 | 263 |
264 if (!build_with_chromium) { | 264 if (!build_with_chromium) { |
265 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 265 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
266 } | 266 } |
267 | 267 |
268 deps = [ | 268 deps = [ |
269 ":rtc_sdk_peerconnection_objc", | 269 ":rtc_sdk_peerconnection_objc", |
270 "//webrtc/system_wrappers:field_trial_default", | 270 "../system_wrappers:field_trial_default", |
271 "//webrtc/system_wrappers:metrics_default", | 271 "../system_wrappers:metrics_default", |
272 ] | 272 ] |
273 | 273 |
274 libs = [ | 274 libs = [ |
275 "AVFoundation.framework", | 275 "AVFoundation.framework", |
276 "AudioToolbox.framework", | 276 "AudioToolbox.framework", |
277 "CoreGraphics.framework", | 277 "CoreGraphics.framework", |
278 "CoreMedia.framework", | 278 "CoreMedia.framework", |
279 "GLKit.framework", | 279 "GLKit.framework", |
280 "VideoToolbox.framework", | 280 "VideoToolbox.framework", |
281 ] | 281 ] |
(...skipping 20 matching lines...) Expand all Loading... |
302 sources = common_objc_headers | 302 sources = common_objc_headers |
303 public_headers = common_objc_headers | 303 public_headers = common_objc_headers |
304 | 304 |
305 if (!build_with_chromium) { | 305 if (!build_with_chromium) { |
306 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 306 sources += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
307 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] | 307 public_headers += [ "objc/Framework/Headers/WebRTC/RTCFileLogger.h" ] |
308 } | 308 } |
309 | 309 |
310 deps = [ | 310 deps = [ |
311 ":rtc_sdk_peerconnection_objc", | 311 ":rtc_sdk_peerconnection_objc", |
312 "//webrtc/system_wrappers:field_trial_default", | 312 "../system_wrappers:field_trial_default", |
313 "//webrtc/system_wrappers:metrics_default", | 313 "../system_wrappers:metrics_default", |
314 ] | 314 ] |
315 | 315 |
316 libs = [ | 316 libs = [ |
317 "AVFoundation.framework", | 317 "AVFoundation.framework", |
318 "AudioToolbox.framework", | 318 "AudioToolbox.framework", |
319 "CoreGraphics.framework", | 319 "CoreGraphics.framework", |
320 "CoreMedia.framework", | 320 "CoreMedia.framework", |
321 "GLKit.framework", | 321 "GLKit.framework", |
322 "VideoToolbox.framework", | 322 "VideoToolbox.framework", |
323 ] | 323 ] |
324 | 324 |
325 configs += [ | 325 configs += [ |
326 "..:common_objc", | 326 "..:common_objc", |
327 "//build/config/compiler:enable_arc", | 327 "//build/config/compiler:enable_arc", |
328 ] | 328 ] |
329 | 329 |
330 public_configs = [ ":rtc_sdk_common_objc_config" ] | 330 public_configs = [ ":rtc_sdk_common_objc_config" ] |
331 | 331 |
332 if (is_clang) { | 332 if (is_clang) { |
333 # Suppress warnings from the Chromium Clang plugins. | 333 # Suppress warnings from the Chromium Clang plugins. |
334 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. | 334 # See http://code.google.com/p/webrtc/issues/detail?id=163 for details. |
335 configs -= [ "//build/config/clang:find_bad_constructs" ] | 335 configs -= [ "//build/config/clang:find_bad_constructs" ] |
336 } | 336 } |
337 } | 337 } |
338 } | 338 } |
339 } | 339 } |
OLD | NEW |