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_apps_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_apps_js_unittests<(EXECUTABLE_SUFFIX)',
21        ],
22        'isolate_dependency_untracked': [
23          '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/',
24          'apps/js/',
25          'bindings/js/',
26          'public/js/bindings/',
27        ],
28      },
29    }],
30    ['OS=="win"', {
31      'variables': {
32        'isolate_dependency_tracked': [
33          '<(PRODUCT_DIR)/mojo_test_support.dll',
34        ],
35      },
36    }],
37    ['OS=="linux"', {
38      'variables': {
39        'isolate_dependency_tracked': [
40          '<(PRODUCT_DIR)/lib/libmojo_test_support.so',
41        ],
42      },
43    }],
44    ['OS=="mac"', {
45      'variables': {
46        'isolate_dependency_tracked': [
47          '<(PRODUCT_DIR)/libmojo_test_support.dylib',
48        ],
49      },
50    }],
51  ],
52}
53