diff options
Diffstat (limited to 'google_apis')
-rw-r--r-- | google_apis/google_apis.gyp | 19 | ||||
-rw-r--r-- | google_apis/google_apis_unittests.isolate | 27 |
2 files changed, 46 insertions, 0 deletions
diff --git a/google_apis/google_apis.gyp b/google_apis/google_apis.gyp index 4d40926..659d9835 100644 --- a/google_apis/google_apis.gyp +++ b/google_apis/google_apis.gyp @@ -207,4 +207,23 @@ ], }, ], + 'conditions': [ + ['test_isolation_mode != "noop"', { + 'targets': [ + { + 'target_name': 'google_apis_unittests_run', + 'type': 'none', + 'dependencies': [ + 'google_apis_unittests', + ], + 'includes': [ + '../build/isolate.gypi', + ], + 'sources': [ + 'google_apis_unittests.isolate', + ], + }, + ], + }], + ], } diff --git a/google_apis/google_apis_unittests.isolate b/google_apis/google_apis_unittests.isolate new file mode 100644 index 0000000..f622185 --- /dev/null +++ b/google_apis/google_apis_unittests.isolate @@ -0,0 +1,27 @@ +# Copyright 2015 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. +{ + 'includes': [ + '../base/base.isolate', + ], + 'conditions': [ + ['OS=="win" or OS=="mac" or OS=="linux"', { + 'variables': { + 'command': [ + '../testing/test_env.py', + '<(PRODUCT_DIR)/google_apis_unittests<(EXECUTABLE_SUFFIX)', + '--brave-new-test-launcher', + '--test-launcher-bot-mode', + ], + 'files': [ + '../chrome/test/data/drive/', + '../chrome/test/data/chromeos/file_manager/text.txt', + '../testing/test_env.py', + '<(PRODUCT_DIR)/google_apis_unittests<(EXECUTABLE_SUFFIX)', + 'test/', + ], + }, + }], + ], +} |