summaryrefslogtreecommitdiffstats
path: root/mojo/mojo_apps_js_unittests.isolate
blob: af1b0aabfe569775eb703db96407bb3de7f470d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Copyright 2014 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': [
    '../third_party/icu/icu.isolate',
  ],
  'conditions': [
    ['OS=="win" or OS=="mac" or OS=="linux"', {
      'variables': {
        'command': [
          '../testing/test_env.py',
          '<(PRODUCT_DIR)/mojo_apps_js_unittests<(EXECUTABLE_SUFFIX)',
          '--brave-new-test-launcher',
          '--test-launcher-bot-mode',
        ],
        'isolate_dependency_tracked': [
          '../gin/test/expect.js',
          '../testing/test_env.py',
          '<(PRODUCT_DIR)/mojo_apps_js_unittests<(EXECUTABLE_SUFFIX)',
        ],
        'isolate_dependency_untracked': [
          '<(PRODUCT_DIR)/gen/mojo/public/interfaces/bindings/tests/',
          'apps/js/',
          'bindings/js/',
          'public/js/bindings/',
        ],
      },
    }],
    ['OS=="win"', {
      'variables': {
        'isolate_dependency_tracked': [
          '<(PRODUCT_DIR)/mojo_system.dll',
          '<(PRODUCT_DIR)/mojo_test_support.dll',
        ],
      },
    }],
    ['OS=="linux"', {
      'variables': {
        'isolate_dependency_tracked': [
          '<(PRODUCT_DIR)/lib/libmojo_test_support.so',
        ],
      },
    }],
    ['OS=="mac"', {
      'variables': {
        'isolate_dependency_tracked': [
          '<(PRODUCT_DIR)/libmojo_test_support.dylib',
        ],
      },
    }],
  ],
}