mirror of
https://github.com/mollyim/webrtc.git
synced 2025-05-20 00:57:49 +01:00

The legacy objc API is not included in the GYP generation if include_tests=0. This causes problems downstream in some cases, so it's changed in this CL. The libyuv dependency needs to be possible to disable using the build_libyuv GYP variable. NOTRY=True Review URL: https://codereview.webrtc.org/1705733002 Cr-Commit-Position: refs/heads/master@{#11652}
44 lines
1.2 KiB
Python
44 lines
1.2 KiB
Python
# Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
|
|
#
|
|
# Use of this source code is governed by a BSD-style license
|
|
# that can be found in the LICENSE file in the root of the source
|
|
# tree. An additional intellectual property rights grant can be found
|
|
# in the file PATENTS. All contributing project authors may
|
|
# be found in the AUTHORS file in the root of the source tree.
|
|
|
|
{
|
|
'variables': {
|
|
'include_examples%': 1,
|
|
'include_tests%': 1,
|
|
'webrtc_root_additional_dependencies': [],
|
|
},
|
|
'targets': [
|
|
{
|
|
'target_name': 'All',
|
|
'type': 'none',
|
|
'dependencies': [
|
|
'webrtc/webrtc.gyp:*',
|
|
'<@(webrtc_root_additional_dependencies)',
|
|
],
|
|
'conditions': [
|
|
['include_examples==1', {
|
|
'dependencies': [
|
|
'webrtc/webrtc_examples.gyp:*',
|
|
],
|
|
}],
|
|
['OS=="ios" or (OS=="mac" and target_arch!="ia32")', {
|
|
'dependencies': [
|
|
'talk/app/webrtc/legacy_objc_api.gyp:*',
|
|
],
|
|
'conditions': [
|
|
['include_tests==1', {
|
|
'dependencies': [
|
|
'talk/app/webrtc/legacy_objc_api_tests.gyp:*',
|
|
],
|
|
}],
|
|
],
|
|
}],
|
|
],
|
|
},
|
|
],
|
|
}
|