Home | History | Annotate | Download | only in mojo
      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_system.dll',
     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