• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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  # TODO(kbr): including all of chrome.isolate is overkill -- the only
6  # real dependency is on ffmpegsumo. However, wait to refactor
7  # chrome.isolate (perhaps adding a media.isolate) for the moment.
8  'includes': [
9    'chrome.isolate',
10  ],
11  'conditions': [
12    ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
13      'variables': {
14        'command': [
15          '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)',
16        ],
17        'isolate_dependency_tracked': [
18          '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)',
19        ],
20      },
21    }],
22    # TODO(kbr): these two dependencies seem to be necessary when
23    # running the component build to avoid "Failed to mmap datapack"
24    # errors. Should investigate further.
25    ['OS=="linux" or OS=="win"', {
26      'variables': {
27        'isolate_dependency_tracked': [
28          '<(PRODUCT_DIR)/content_resources.pak',
29          '<(PRODUCT_DIR)/ui_test.pak',
30        ],
31      },
32    }],
33  ],
34}
35