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