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_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_system.dll',
     34           '<(PRODUCT_DIR)/mojo_test_support.dll',
     35         ],
     36       },
     37     }],
     38     ['OS=="linux"', {
     39       'variables': {
     40         'isolate_dependency_tracked': [
     41           '<(PRODUCT_DIR)/lib/libmojo_test_support.so',
     42         ],
     43       },
     44     }],
     45     ['OS=="mac"', {
     46       'variables': {
     47         'isolate_dependency_tracked': [
     48           '<(PRODUCT_DIR)/libmojo_gles2.dylib',
     49           '<(PRODUCT_DIR)/libmojo_test_support.dylib',
     50         ],
     51       },
     52     }],
     53   ],
     54 }
     55