Home | History | Annotate | Download | only in content
      1 # Copyright (c) 2013 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"', {
      7       'variables': {
      8         'isolate_dependency_tracked': [
      9           '<(PRODUCT_DIR)/content_shell/assets/content_shell.pak',
     10         ],
     11         'isolate_dependency_untracked': [
     12           '../third_party/webgl_conformance/',
     13         ],
     14       },
     15     }],
     16     ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
     17       'variables': {
     18         'isolate_dependency_untracked': [
     19           '../net/data/',
     20           'test/data/',
     21         ],
     22       },
     23     }],
     24     ['OS=="linux"', {
     25       'variables': {
     26         'command': [
     27           '../testing/xvfb.py',
     28           '<(PRODUCT_DIR)',
     29           '../tools/swarm_client/googletest/run_test_cases.py',
     30           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
     31         ],
     32         'isolate_dependency_tracked': [
     33           '../testing/xvfb.py',
     34           '<(PRODUCT_DIR)/content_shell.pak',
     35           '<(PRODUCT_DIR)/fonts.conf',
     36           '<(PRODUCT_DIR)/libclearkeycdm.so',
     37           '<(PRODUCT_DIR)/libclearkeycdmadapter.so',
     38           '<(PRODUCT_DIR)/libffmpegsumo.so',
     39           '<(PRODUCT_DIR)/plugins/libTestNetscapePlugin.so',
     40           '<(PRODUCT_DIR)/plugins/libnpapi_test_plugin.so',
     41         ],
     42       },
     43     }],
     44     ['OS=="linux" or OS=="mac" or OS=="win"', {
     45       'variables': {
     46         'isolate_dependency_tracked': [
     47           '../testing/test_env.py',
     48           '../tools/swarm_client/run_isolated.py',
     49           '../tools/swarm_client/googletest/run_test_cases.py',
     50           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
     51         ],
     52         'isolate_dependency_untracked': [
     53           '../net/tools/testserver/',
     54           '../third_party/WebKit/Tools/Scripts/',
     55           '../third_party/lighttpd/',
     56           '../third_party/pyftpdlib/',
     57           '../third_party/pywebsocket/',
     58           '../third_party/tlslite/',
     59         ],
     60       },
     61     }],
     62     ['OS=="mac"', {
     63       'variables': {
     64         'isolate_dependency_tracked': [
     65           '<(PRODUCT_DIR)/clearkeycdmadapter.plugin',
     66           '<(PRODUCT_DIR)/content_resources.pak',
     67           '<(PRODUCT_DIR)/ffmpegsumo.so',
     68           '<(PRODUCT_DIR)/plugins/TestNestscapePlugin.plugin',
     69           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.plugin',
     70         ],
     71         'isolate_dependency_untracked': [
     72           '<(PRODUCT_DIR)/Content Shell.app/',
     73         ],
     74       },
     75     }],
     76     ['OS=="mac" or OS=="win"', {
     77       'variables': {
     78         'command': [
     79           '../testing/test_env.py',
     80           '../tools/swarm_client/googletest/run_test_cases.py',
     81           '<(PRODUCT_DIR)/content_browsertests<(EXECUTABLE_SUFFIX)',
     82         ],
     83       },
     84     }],
     85     ['OS=="win"', {
     86       'variables': {
     87         'isolate_dependency_tracked': [
     88           '<(PRODUCT_DIR)/ffmpegsumo.dll',
     89           '<(PRODUCT_DIR)/chrome_100_percent.pak',
     90           '<(PRODUCT_DIR)/clearkeycdm.dll',
     91           '<(PRODUCT_DIR)/clearkeycdmadapter.dll',
     92           '<(PRODUCT_DIR)/content_shell.pak',
     93           '<(PRODUCT_DIR)/plugins/npTestNetscapePlugIn.dll',
     94           '<(PRODUCT_DIR)/plugins/npapi_test_plugin.dll',
     95         ],
     96         'isolate_dependency_untracked': [
     97           # The two directories below are only needed for
     98           # WorkerXHRHttpLayoutTest.Tests which are currently disabled.
     99           #'../third_party/cygwin/',
    100           #'../third_party/perl/perl/',
    101           '../third_party/python_26/',
    102         ],
    103       },
    104     }],
    105   ],
    106 }
    107