[Telemetry] Fix telemetry's find_dependencies_unittest
[chromium-blink-merge.git] / content / content_gl_tests.isolate
blobe9626a61ebb3024208fdc7525712b709be5028e3
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.
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         'files': [
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         'files': [
22           '<(PRODUCT_DIR)/content_resources.pak',
23           '<(PRODUCT_DIR)/ui_test.pak',
24         ],
25       },
26     }],
27     ['OS=="win"', {
28       'variables': {
29         'files': [
30           '<(PRODUCT_DIR)/d3dcompiler_47.dll',
31           '<(PRODUCT_DIR)/libEGL.dll',
32           '<(PRODUCT_DIR)/libGLESv2.dll',
33           '<(PRODUCT_DIR)/osmesa.dll',
34         ],
35       },
36     }],
37     # These PDBs are needed in order to get reasonable stack traces if
38     # an assertion fires or a crash occurs. Add more as necessary.
39     ['OS=="win" and (fastbuild==0 or fastbuild==1)', {
40       'variables': {
41         'files': [
42           '<(PRODUCT_DIR)/content_gl_tests.exe.pdb',
43         ],
44       },
45     }],
46     ['OS=="win" and component=="shared_library" and (fastbuild==0 or fastbuild==1)', {
47       'variables': {
48         'files': [
49           '<(PRODUCT_DIR)/base.dll.pdb',
50           '<(PRODUCT_DIR)/content.dll.pdb',
51         ],
52       },
53     }],
54   ],
55   'includes': [
56     '../base/base.isolate',
57     '../gin/v8.isolate',
58   ],