webrtc_m130/all.gyp
kjellander 31acf3d120 Add include_examples GYP variable.
To make it possible to exclude the examples when running
GYP on all.gyp.
The webrtc_examples.gyp already has an OS=="android" condition
inside it, so there's no need to check that before including it.

BUG=webrtc:4242

Review URL: https://codereview.webrtc.org/1196623006

Cr-Commit-Position: refs/heads/master@{#9556}
2015-07-09 08:19:01 +00:00

40 lines
1.1 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:*',
'talk/libjingle.gyp:*',
'<@(webrtc_root_additional_dependencies)',
],
'conditions': [
['include_examples==1', {
'dependencies': [
'talk/libjingle_examples.gyp:*',
'webrtc/webrtc_examples.gyp:*',
],
}],
['include_tests==1', {
'dependencies': [
'talk/libjingle_tests.gyp:*',
],
}],
],
},
],
}