1# Copyright 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" or OS=="linux" or OS=="mac" or OS=="win"', {
7      'variables': {
8        'command': [
9          '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)',
10        ],
11        'isolate_dependency_tracked': [
12          '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)',
13        ],
14      },
15    }],
16    # TODO(kbr): these two dependencies seem to be necessary when
17    # running the component build to avoid "Failed to mmap datapack"
18    # errors. Should investigate further.
19    ['OS=="linux" or OS=="win"', {
20      'variables': {
21        'isolate_dependency_tracked': [
22          '<(PRODUCT_DIR)/content_resources.pak',
23          '<(PRODUCT_DIR)/ui_test.pak',
24        ],
25      },
26    }],
27    ['OS=="linux"', {
28      'variables': {
29        'isolate_dependency_tracked': [
30          '<(PRODUCT_DIR)/libffmpegsumo.so',
31        ],
32      },
33    }],
34    ['OS=="mac"', {
35      'variables': {
36        'isolate_dependency_tracked': [
37          '<(PRODUCT_DIR)/ffmpegsumo.so',
38        ],
39      },
40    }],
41    ['OS=="win"', {
42      'variables': {
43        'isolate_dependency_tracked': [
44          '<(PRODUCT_DIR)/d3dcompiler_46.dll',
45          '<(PRODUCT_DIR)/libEGL.dll',
46          '<(PRODUCT_DIR)/libGLESv2.dll',
47          '<(PRODUCT_DIR)/ffmpegsumo.dll',
48          '<(PRODUCT_DIR)/osmesa.dll',
49        ],
50      },
51    }],
52  ],
53  'includes': [
54    '../base/base.isolate',
55  ],
56}
57