Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9)

Unified Diff: third_party/cacheinvalidation/cacheinvalidation.gyp

Issue 11191027: Roll swarm_client @ 162405. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix cacheinvalidation_test_run to be ifdef'ed out in mode == noop Created 8 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/cacheinvalidation/README.chromium ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/cacheinvalidation/cacheinvalidation.gyp
diff --git a/third_party/cacheinvalidation/cacheinvalidation.gyp b/third_party/cacheinvalidation/cacheinvalidation.gyp
index 0f1aac5182c6f94f44b239d8990a048b1a3cbac8..2271a38be7ec7797d7282132a87a41c0941e23a6 100644
--- a/third_party/cacheinvalidation/cacheinvalidation.gyp
+++ b/third_party/cacheinvalidation/cacheinvalidation.gyp
@@ -146,37 +146,43 @@
'cacheinvalidation_proto_cpp',
],
},
- {
- 'target_name': 'cacheinvalidation_unittests_run',
- 'type': 'none',
- 'dependencies': [
- 'cacheinvalidation_unittests',
- ],
- 'includes': [
- 'cacheinvalidation_unittests.isolate',
- ],
- 'actions': [
+ ],
+ 'conditions': [
+ ['test_isolation_mode != "noop"', {
+ 'targets': [
{
- 'action_name': 'isolate',
- 'inputs': [
- 'cacheinvalidation_unittests.isolate',
- '<@(isolate_dependency_tracked)',
+ 'target_name': 'cacheinvalidation_unittests_run',
+ 'type': 'none',
+ 'dependencies': [
+ 'cacheinvalidation_unittests',
],
- 'outputs': [
- '<(PRODUCT_DIR)/cacheinvalidation_unittests.isolated',
+ 'includes': [
+ 'cacheinvalidation_unittests.isolate',
],
- 'action': [
- 'python',
- '../../tools/swarm_client/isolate.py',
- '<(test_isolation_mode)',
- '--outdir', '<(test_isolation_outdir)',
- '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
- '--variable', 'OS', '<(OS)',
- '--result', '<@(_outputs)',
- '--isolate', 'cacheinvalidation_unittests.isolate',
+ 'actions': [
+ {
+ 'action_name': 'isolate',
+ 'inputs': [
+ 'cacheinvalidation_unittests.isolate',
+ '<@(isolate_dependency_tracked)',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/cacheinvalidation_unittests.isolated',
+ ],
+ 'action': [
+ 'python',
+ '../../tools/swarm_client/isolate.py',
+ '<(test_isolation_mode)',
+ '--outdir', '<(test_isolation_outdir)',
+ '--variable', 'PRODUCT_DIR', '<(PRODUCT_DIR)',
+ '--variable', 'OS', '<(OS)',
+ '--result', '<@(_outputs)',
+ '--isolate', 'cacheinvalidation_unittests.isolate',
+ ],
+ },
],
},
],
- },
+ }],
],
}
« no previous file with comments | « third_party/cacheinvalidation/README.chromium ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698