Index: base/base.gyp |
diff --git a/base/base.gyp b/base/base.gyp |
index c13a93e61bbaab2a53728df5b3ba483994e7bb5b..b5fc140c361fabd9ff4a93312ae81f0e558ba5c2 100644 |
--- a/base/base.gyp |
+++ b/base/base.gyp |
@@ -440,6 +440,46 @@ |
], |
}, |
{ |
+ 'target_name': 'base_unittests_run', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ 'base_unittests', |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': 'isolate', |
+ 'inputs': [ |
+ '<(PRODUCT_DIR)/base_unittests<(EXECUTABLE_SUFFIX)', |
+ 'data/file_util_unittest/', |
Mark Mentovai
2012/03/06 22:05:02
Specifying a directory as an input is undefined. W
M-A Ruel
2012/03/06 22:19:51
For now, I don't list each files in the test data
|
+ ], |
+ 'conditions': [ |
+ ['OS != "mac" and OS != "win"', { |
+ 'inputs': [ |
+ '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)', |
+ ], |
+ }], |
+ ['OS == "win"', { |
+ 'inputs': [ |
+ 'data/file_version_info_unittest/FileVersionInfoTest1.dll', |
+ 'data/file_version_info_unittest/FileVersionInfoTest2.dll', |
+ ], |
+ }], |
+ ], |
+ 'outputs': [ |
+ '<(PRODUCT_DIR)/base_unittests.results', |
+ ], |
+ 'action': [ |
+ 'python', |
+ '<(DEPTH)/tools/isolate/isolate.py', |
+ '--mode=<(tests_run)', |
+ '--root', '<(DEPTH)', |
+ '--result', '<@(_outputs)', |
+ '<@(_inputs)', |
+ ], |
+ }, |
+ ], |
+ }, |
+ { |
'target_name': 'test_support_perf', |
'type': 'static_library', |
'dependencies': [ |