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=="android" or OS=="linux"', {
      7       'variables': {
      8         'isolate_dependency_untracked': [
      9           '<(PRODUCT_DIR)/test_data/',
     10         ],
     11       },
     12     }],
     13     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
     14       'variables': {
     15         'isolate_dependency_tracked': [
     16           '../third_party/accessibility-audit/axs_testing.js',
     17           '<(PRODUCT_DIR)/resources.pak',
     18         ],
     19         'isolate_dependency_untracked': [
     20           '../base/test/data/',
     21           '../components/test/data/',
     22           '../extensions/test/data/',
     23           '../net/data/',
     24           '../third_party/hunspell_dictionaries/',
     25           '../third_party/zlib/google/test/data/',
     26           'test/data/',
     27           'third_party/mock4js/',
     28         ],
     29       },
     30     }],
     31     ['OS=="android" or OS=="linux" or OS=="win"', {
     32       'variables': {
     33         'isolate_dependency_tracked': [
     34           '<(PRODUCT_DIR)/chrome_100_percent.pak',
     35           '<(PRODUCT_DIR)/locales/en-US.pak',
     36         ],
     37       },
     38     }],
     39     ['OS=="linux"', {
     40       'variables': {
     41         'command': [
     42           '../testing/xvfb.py',
     43           '<(PRODUCT_DIR)',
     44           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
     45           '--brave-new-test-launcher',
     46           '--test-launcher-bot-mode',
     47         ],
     48         'isolate_dependency_tracked': [
     49           '../testing/xvfb.py',
     50           '<(PRODUCT_DIR)/libffmpegsumo.so',
     51           '<(PRODUCT_DIR)/libosmesa.so',
     52           '<(PRODUCT_DIR)/locales/fr.pak',
     53           '<(PRODUCT_DIR)/xdisplaycheck<(EXECUTABLE_SUFFIX)',
     54         ],
     55         'isolate_dependency_touched': [
     56           '<(PRODUCT_DIR)/libppGoogleNaClPluginChrome.so',
     57         ],
     58       },
     59     }],
     60     ['OS=="linux" or OS=="mac" or OS=="win"', {
     61       'variables': {
     62         'isolate_dependency_tracked': [
     63           '../testing/test_env.py',
     64           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
     65           'browser/safe_browsing/two_phase_testserver.py',
     66         ],
     67         'isolate_dependency_untracked': [
     68           '../net/tools/testserver/',
     69           '../third_party/pyftpdlib/',
     70           '../third_party/pywebsocket/',
     71           '../third_party/tlslite/',
     72           '<(PRODUCT_DIR)/pyproto/',
     73           '<(PRODUCT_DIR)/test_data/chrome/renderer/resources/extensions/',
     74         ],
     75       },
     76     }],
     77     ['OS=="linux" or OS=="mac"', {
     78       'variables': {
     79         # Can't be enabled on Windows due to http://crbug.com/342913
     80         'read_only': 1,
     81       },
     82     }],
     83     ['OS=="mac"', {
     84       'variables': {
     85         'isolate_dependency_tracked': [
     86           '<(PRODUCT_DIR)/exif.so',
     87           '<(PRODUCT_DIR)/ffmpegsumo.so',
     88           '<(PRODUCT_DIR)/osmesa.so',
     89         ],
     90         'isolate_dependency_untracked': [
     91           '<(PRODUCT_DIR)/<(mac_product_name) Framework.framework/',
     92         ],
     93       },
     94     }],
     95     ['OS=="mac" or OS=="win"', {
     96       'variables': {
     97         'command': [
     98           '../testing/test_env.py',
     99           '<(PRODUCT_DIR)/unit_tests<(EXECUTABLE_SUFFIX)',
    100           '--brave-new-test-launcher',
    101           '--test-launcher-bot-mode',
    102         ],
    103         'isolate_dependency_untracked': [
    104           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/google_now/',
    105           '<(PRODUCT_DIR)/test_data/chrome/browser/resources/print_preview/',
    106           '<(PRODUCT_DIR)/test_data/chrome/test/data/unit/',
    107           '<(PRODUCT_DIR)/test_data/ui/',
    108         ],
    109       },
    110     }],
    111     ['OS=="win"', {
    112       'variables': {
    113         'isolate_dependency_tracked': [
    114           '<(PRODUCT_DIR)/chrome_elf.dll',
    115           '<(PRODUCT_DIR)/ffmpegsumo.dll',
    116           '<(PRODUCT_DIR)/libexif.dll',
    117           '<(PRODUCT_DIR)/osmesa.dll',
    118         ],
    119         'isolate_dependency_untracked': [
    120           '../ppapi/lib/gl/include/KHR/',
    121           '../skia/ext/data/',
    122           '../ui/base/glib/',
    123         ],
    124       },
    125     }],
    126   ],
    127   'includes': [
    128     '../base/base.isolate',
    129   ],
    130 }
    131