summaryrefslogtreecommitdiffstats
path: root/chrome/content_gl_tests.isolate
blob: 1682a04a182c35b209e967292720c10c224a25a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Copyright 2013 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
  # TODO(kbr): including all of chrome.isolate is overkill -- the only
  # real dependency is on ffmpegsumo. However, wait to refactor
  # chrome.isolate (perhaps adding a media.isolate) for the moment.
  'includes': [
    'chrome.isolate',
  ],
  'conditions': [
    ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
      'variables': {
        'command': [
          '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)',
        ],
        'isolate_dependency_tracked': [
          '<(PRODUCT_DIR)/content_gl_tests<(EXECUTABLE_SUFFIX)',
        ],
      },
    }],
    # TODO(kbr): these two dependencies seem to be necessary when
    # running the component build to avoid "Failed to mmap datapack"
    # errors. Should investigate further.
    ['OS=="linux" or OS=="win"', {
      'variables': {
        'isolate_dependency_tracked': [
          '<(PRODUCT_DIR)/content_resources.pak',
          '<(PRODUCT_DIR)/ui_test.pak',
        ],
      },
    }],
  ],
}