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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user