# 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.
{
  'includes': [
    'chrome.isolate',
  ],
  'conditions': [
    ['OS=="android" or OS=="linux" or OS=="mac" or OS=="win"', {
      'variables': {
        'command': [
          '<(PRODUCT_DIR)/performance_browser_tests<(EXECUTABLE_SUFFIX)',
          # These arguments were copied from the GPU recipe at
          # tools/build/scripts/slave/recipe_modules/gpu/api.py.
          '--enable-gpu',
          '--test-launcher-jobs=1',
          '--test-launcher-print-test-stdio=always',
          '--gtest_filter=TabCapturePerformanceTest*',
        ],
        'isolate_dependency_tracked': [
          '<(PRODUCT_DIR)/performance_browser_tests<(EXECUTABLE_SUFFIX)',
        ],
        'isolate_dependency_untracked': [
          'test/data/extensions/api_test/tab_capture/',
        ],
      },
    }],
  ],
}