diff options
Diffstat (limited to 'jingle')
-rw-r--r-- | jingle/jingle.gyp | 19 | ||||
-rw-r--r-- | jingle/jingle_unittests.isolate | 27 |
2 files changed, 46 insertions, 0 deletions
diff --git a/jingle/jingle.gyp b/jingle/jingle.gyp index ed0439c..2228d9b 100644 --- a/jingle/jingle.gyp +++ b/jingle/jingle.gyp @@ -180,6 +180,25 @@ ], }, ], + 'conditions': [ + ['test_isolation_mode != "noop"', { + 'targets': [ + { + 'target_name': 'jingle_unittests_run', + 'type': 'none', + 'dependencies': [ + 'jingle_unittests', + ], + 'includes': [ + '../build/isolate.gypi', + ], + 'sources': [ + 'jingle_unittests.isolate', + ], + }, + ], + }], + ], }, { # enable_webrtc!=1 and OS=="android" 'targets': [ # Stub targets as Android doesn't use libjingle when webrtc is disabled. diff --git a/jingle/jingle_unittests.isolate b/jingle/jingle_unittests.isolate new file mode 100644 index 0000000..625ac92 --- /dev/null +++ b/jingle/jingle_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. +{ + 'conditions': [ + ['OS=="linux" or OS=="mac" or OS=="win"', { + 'variables': { + 'command': [ + '../testing/test_env.py', + '<(PRODUCT_DIR)/jingle_unittests<(EXECUTABLE_SUFFIX)', + '--brave-new-test-launcher', + '--test-launcher-bot-mode', + '--asan=<(asan)', + '--msan=<(msan)', + '--tsan=<(tsan)', + ], + 'files': [ + '../testing/test_env.py', + '<(PRODUCT_DIR)/jingle_unittests<(EXECUTABLE_SUFFIX)', + ], + }, + }], + ], + 'includes': [ + '../base/base.isolate', + ], +} |