Home | History | Annotate | Download | only in chrome
      1 # Copyright (c) 2012 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   'conditions': [
      6     ['OS=="linux"', {
      7       'variables': {
      8         'command': [
      9           '../testing/xvfb.py',
     10           '<(PRODUCT_DIR)',
     11           '../tools/swarm_client/googletest/run_test_cases.py',
     12           '--use-less-jobs',
     13           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
     14         ],
     15         'isolate_dependency_tracked': [
     16           '../testing/xvfb.py',
     17           '<(PRODUCT_DIR)/chrome.pak',
     18           '<(PRODUCT_DIR)/chrome<(EXECUTABLE_SUFFIX)',
     19           '<(PRODUCT_DIR)/libclearkeycdm.so',
     20           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
     21           '<(PRODUCT_DIR)/libffmpegsumo.so',
     22           '<(PRODUCT_DIR)/libosmesa.so',
     23           '<(PRODUCT_DIR)/libppGoogleNaClPluginChrome.so',
     24           '<(PRODUCT_DIR)/libppapi_tests.so',
     25           '<(PRODUCT_DIR)/nacl_helper<(EXECUTABLE_SUFFIX)',
     26           '<(PRODUCT_DIR)/nacl_helper_bootstrap<(EXECUTABLE_SUFFIX)',
     27           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
     28         ],
     29       },
     30     }],
     31     ['OS=="linux" or OS=="mac"', {
     32       'variables': {
     33         'isolate_dependency_tracked': [
     34           'browser/nacl_host/test/debug_stub_browser_tests.py',
     35           'browser/nacl_host/test/gdb_rsp.py',
     36         ],
     37       },
     38     }],
     39     ['OS=="linux" or OS=="mac" or OS=="win"', {
     40       'variables': {
     41         'isolate_dependency_tracked': [
     42           '../media/test/data/bear-320x240-multitrack.webm',
     43           '../media/test/data/no_streams.webm',
     44           '../media/test/data/sfx.ogg',
     45           '../ppapi/tests/test_case.html',
     46           '../ppapi/tests/test_page.css',
     47           '../tools/swarm_client/run_isolated.py',
     48           '../tools/swarm_client/googletest/run_test_cases.py',
     49           '../testing/test_env.py',
     50           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
     51           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc.nmf',
     52           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib.nmf',
     53           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl.nmf',
     54           '<(PRODUCT_DIR)/resources.pak',
     55           '<(PRODUCT_DIR)/test_case.html',
     56           '<(PRODUCT_DIR)/test_case.html.mock-http-headers',
     57           '<(PRODUCT_DIR)/test_page.css',
     58           'browser/policy/test/asn1der.py',
     59           'browser/policy/test/policy_testserver.py',
     60           'browser/safe_browsing/safe_browsing_testserver.py',
     61           'common/extensions/docs/examples/apps/calculator/app/controller.js',
     62           'common/extensions/docs/examples/apps/calculator/app/model.js',
     63           'common/extensions/docs/examples/apps/calculator/app/view.js',
     64         ],
     65         'isolate_dependency_untracked': [
     66           '../content/test/data/',
     67           '../net/data/',
     68           '../net/tools/testserver/',
     69           '../third_party/WebKit/Tools/Scripts/',
     70           '../third_party/accessibility-developer-tools/gen/',
     71           '../third_party/pyftpdlib/',
     72           '../third_party/pywebsocket/',
     73           '../third_party/safe_browsing/',
     74           '../third_party/simplejson/',
     75           '../third_party/tlslite/',
     76           '<(PRODUCT_DIR)/nacl_test_data/',
     77           '<(PRODUCT_DIR)/pnacl/',
     78           '<(PRODUCT_DIR)/pseudo_locales/',
     79           '<(PRODUCT_DIR)/pyproto/',
     80           '<(PRODUCT_DIR)/test_data/chrome/',
     81           '<(PRODUCT_DIR)/test_url_loader_data/',
     82           'common/extensions/docs/examples/apps/calculator/tests/',
     83           'test/data/',
     84           'third_party/mock4js/',
     85         ],
     86       },
     87     }],
     88     ['OS=="linux" or OS=="win"', {
     89       'variables': {
     90         'isolate_dependency_tracked': [
     91           '<(PRODUCT_DIR)/chrome_100_percent.pak',
     92           '<(PRODUCT_DIR)/locales/en-US.pak',
     93           '<(PRODUCT_DIR)/locales/fr.pak',
     94           '<(PRODUCT_DIR)/mock_nacl_gdb<(EXECUTABLE_SUFFIX)',
     95           '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
     96           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x64.nexe',
     97           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x64.nexe',
     98           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x64.nexe',
     99         ],
    100         'isolate_dependency_untracked': [
    101           '../third_party/bidichecker/',
    102           '<(PRODUCT_DIR)/lib64/',
    103           '<(PRODUCT_DIR)/plugins/',
    104           '<(PRODUCT_DIR)/resources/extension/',
    105         ],
    106       },
    107     }],
    108     ['OS=="mac"', {
    109       'variables': {
    110         'isolate_dependency_tracked': [
    111           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
    112           '<(PRODUCT_DIR)/ffmpegsumo.so',
    113           '<(PRODUCT_DIR)/libclearkeycdm.dylib',
    114           '<(PRODUCT_DIR)/ppapi_nacl_tests_glibc_x32.nexe',
    115           '<(PRODUCT_DIR)/ppapi_nacl_tests_newlib_x32.nexe',
    116           '<(PRODUCT_DIR)/ppapi_nacl_tests_pnacl_newlib_x32.nexe',
    117           '<(PRODUCT_DIR)/ppapi_tests.plugin/Contents/MacOS/ppapi_tests',
    118         ],
    119         'isolate_dependency_untracked': [
    120           '<(PRODUCT_DIR)/Chromium Framework.framework/',
    121           '<(PRODUCT_DIR)/Chromium.app/',
    122           '<(PRODUCT_DIR)/lib32/',
    123           '<(PRODUCT_DIR)/plugins/TestNetscapePlugIn.plugin/',
    124           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin/',
    125         ],
    126       },
    127     }],
    128     ['OS=="mac" or OS=="win"', {
    129       'variables': {
    130         'command': [
    131           '../testing/test_env.py',
    132           '../tools/swarm_client/googletest/run_test_cases.py',
    133           '--use-less-jobs',
    134           '<(PRODUCT_DIR)/browser_tests<(EXECUTABLE_SUFFIX)',
    135         ],
    136       },
    137     }],
    138     ['OS=="win"', {
    139       'variables': {
    140         'isolate_dependency_tracked': [
    141           '../native_client/build/build_nexe.py',
    142           '../third_party/cygwin/bin/bash.exe',
    143           '../third_party/cygwin/setup_mount.bat',
    144           '<(PRODUCT_DIR)/D3DCompiler_43.dll',
    145           '<(PRODUCT_DIR)/clearkeycdm.dll',
    146           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
    147           '<(PRODUCT_DIR)/d3dcompiler_46.dll',
    148           '<(PRODUCT_DIR)/ffmpegsumo.dll',
    149           '<(PRODUCT_DIR)/icudt.dll',
    150           '<(PRODUCT_DIR)/libEGL.dll',
    151           '<(PRODUCT_DIR)/libGLESv2.dll',
    152           '<(PRODUCT_DIR)/nacl64<(EXECUTABLE_SUFFIX)',
    153           '<(PRODUCT_DIR)/osmesa.dll',
    154           '<(PRODUCT_DIR)/ppGoogleNaClPluginChrome.dll',
    155           '<(PRODUCT_DIR)/ppapi_tests.dll',
    156           '<(PRODUCT_DIR)/security_tests.dll',
    157           'tools/build/repack_locales.py',
    158         ],
    159         'isolate_dependency_untracked': [
    160           '../third_party/npapi/npspy/extern/plugin/',
    161           '../third_party/psyco_win32/psyco/',
    162           '../third_party/python_26/',
    163         ],
    164       },
    165     }],
    166   ],
    167 }
    168