1# Copyright 2014 The Chromium Authors. All rights reserved.
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4{
5  'includes': [
6    '../third_party/icu/icu.isolate',
7  ],
8  'conditions': [
9    ['OS=="win" or OS=="mac" or OS=="linux"', {
10      'variables': {
11        'command': [
12          '../testing/test_env.py',
13          '<(PRODUCT_DIR)/mojo_js_unittests<(EXECUTABLE_SUFFIX)',
14          '--brave-new-test-launcher',
15          '--test-launcher-bot-mode',
16        ],
17        'isolate_dependency_tracked': [
18          '../gin/test/expect.js',
19          '../testing/test_env.py',
20          '<(PRODUCT_DIR)/mojo_js_unittests<(EXECUTABLE_SUFFIX)',
21        ],
22        'isolate_dependency_untracked': [
23          '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/',
24          'bindings/js/',
25          'public/js/bindings/',
26        ],
27      },
28    }],
29    ['OS=="win"', {
30      'variables': {
31        'isolate_dependency_tracked': [
32          '<(PRODUCT_DIR)/mojo_test_support.dll',
33        ],
34      },
35    }],
36    ['OS=="linux"', {
37      'variables': {
38        'isolate_dependency_tracked': [
39          '<(PRODUCT_DIR)/lib/libmojo_test_support.so',
40        ],
41      },
42    }],
43    ['OS=="mac"', {
44      'variables': {
45        'isolate_dependency_tracked': [
46          '<(PRODUCT_DIR)/libmojo_test_support.dylib',
47        ],
48      },
49    }],
50  ],
51}
52