aboutsummaryrefslogtreecommitdiff
path: root/all.gyp
diff options
context:
space:
mode:
authorkjellander <kjellander@webrtc.org>2015-07-09 01:18:58 -0700
committerCommit bot <commit-bot@chromium.org>2015-07-09 08:19:01 +0000
commit31acf3d1208b294ba86cbcdfa475a5c94229ae3a (patch)
tree0c18fbd8a09c686890c7d0e1568390a2c73512ef /all.gyp
parente987a47f95abc4fe9ea649cf9e70eaf30175f813 (diff)
downloadwebrtc-31acf3d1208b294ba86cbcdfa475a5c94229ae3a.tar.gz
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}
Diffstat (limited to 'all.gyp')
-rw-r--r--all.gyp5
1 files changed, 3 insertions, 2 deletions
diff --git a/all.gyp b/all.gyp
index 702e7d07e6..9ccfe251cc 100644
--- a/all.gyp
+++ b/all.gyp
@@ -8,6 +8,7 @@
{
'variables': {
+ 'include_examples%': 1,
'include_tests%': 1,
'webrtc_root_additional_dependencies': [],
},
@@ -18,12 +19,12 @@
'dependencies': [
'webrtc/webrtc.gyp:*',
'talk/libjingle.gyp:*',
- 'talk/libjingle_examples.gyp:*',
'<@(webrtc_root_additional_dependencies)',
],
'conditions': [
- ['OS=="android"', {
+ ['include_examples==1', {
'dependencies': [
+ 'talk/libjingle_examples.gyp:*',
'webrtc/webrtc_examples.gyp:*',
],
}],