Added gyp variable to include/exclude all tests.

BUG=
TEST=

Review URL: https://webrtc-codereview.appspot.com/597004

git-svn-id: http://webrtc.googlecode.com/svn/trunk@2292 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
mflodman@webrtc.org
2012-05-24 13:23:35 +00:00
parent ee646c37d4
commit 6af9594d71
30 changed files with 68 additions and 76 deletions

View File

@@ -31,7 +31,7 @@
},
], # targets
'conditions': [
['build_with_chromium==0', {
['include_tests==1', {
'targets': [
{
'target_name': 'cng_unittests',
@@ -46,7 +46,7 @@
],
}, # CNG_unittests
], # targets
}], # build_with_chromium
}], # include_tests
], # conditions
}

View File

@@ -27,9 +27,8 @@
],
},
], # targets
# Exclude the test target when building with chromium.
'conditions': [
['build_with_chromium==0', {
['include_tests==1', {
'targets': [
{
'target_name': 'g711_unittests',
@@ -54,7 +53,7 @@
],
},
], # targets
}], # build_with_chromium
}], # include_tests
], # conditions
}

View File

@@ -27,9 +27,8 @@
],
},
], # targets
# Exclude the test target when building with chromium.
'conditions': [
['build_with_chromium==0', {
['include_tests==1', {
'targets': [
{
'target_name': 'g722_unittests',
@@ -54,7 +53,7 @@
],
},
], # targets
}], # build_with_chromium
}], # include_tests
], # conditions
}

View File

@@ -166,8 +166,8 @@
}, # iLBC
], # targets
'conditions': [
['build_with_chromium==0', {
'targets': [
['include_tests==1', {
'targets': [
{
'target_name': 'iLBCtest',
'type': 'executable',
@@ -179,7 +179,7 @@
],
}, # iLBCtest
], # targets
}], # build_with_chromium
}], # include_tests
], # conditions
}

View File

@@ -26,7 +26,7 @@
},
], # targets
'conditions': [
['build_with_chromium==0', {
['include_tests==1', {
'targets': [
{
'target_name': 'pcm16b_unittests',
@@ -41,7 +41,7 @@
],
}, # PCM16B_unittests
], # targets
}], # build_with_chromium
}], # include_tests
], # conditions
}

View File

@@ -93,9 +93,8 @@
],
},
],
# Exclude the test targets when building with chromium.
'conditions': [
['build_with_chromium==0', {
['include_tests==1', {
'targets': [
{
'target_name': 'audio_coding_module_test',

View File

@@ -84,9 +84,8 @@
],
},
], # targets
# Exclude the test target when building with chromium.
'conditions': [
['build_with_chromium==0', {
['include_tests==1', {
'targets': [
{
'target_name': 'neteq_unittests',
@@ -295,6 +294,6 @@
],
},
], # targets
}], # build_with_chromium
}], # include_tests
], # conditions
}