# Copyright (c) 2012 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. # This file is meant to be included into targets which run gpu tests. { 'variables': { 'test_list_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome/test/gpu', 'src_dir': '../../..', }, 'dependencies': [ 'browser', 'chrome', 'chrome_resources.gyp:chrome_resources', 'chrome_resources.gyp:chrome_strings', 'renderer', 'test_support_common', 'test_support_ui', '<(src_dir)/base/base.gyp:base', '<(src_dir)/base/base.gyp:test_support_base', '<(src_dir)/net/net.gyp:net_test_support', '<(src_dir)/skia/skia.gyp:skia', '<(src_dir)/testing/gtest.gyp:gtest', '<(src_dir)/third_party/icu/icu.gyp:icui18n', '<(src_dir)/third_party/icu/icu.gyp:icuuc', ], 'defines': [ 'HAS_OUT_OF_PROC_TEST_RUNNER', 'BROWSER_TESTS_HEADER_OVERRIDE="chrome/test/base/in_process_browser_test.h"', ], 'include_dirs': [ '<(src_dir)', '<(test_list_out_dir)', ], 'sources': [ '<(src_dir)/chrome/test/base/chrome_test_launcher.cc', '<(src_dir)/content/app/startup_helper_win.cc', '<(src_dir)/content/test/gpu/test_switches.cc', '<(src_dir)/content/test/gpu/test_switches.h', '<(src_dir)/content/test/test_launcher.cc', '<(src_dir)/content/test/test_launcher.h', ], # hard_dependency is necessary for this target because it has actions # that generate a header file included by dependent targets. The header # file must be generated before the dependents are compiled. The usual # semantics are to allow the two targets to build concurrently. 'hard_dependency': 1, 'conditions': [ ['OS=="win"', { 'dependencies': [ 'chrome_version_resources', '../sandbox/sandbox.gyp:sandbox', ], 'include_dirs': [ '<(DEPTH)/third_party/wtl/include', ], 'sources': [ '<(src_dir)/chrome/app/chrome_dll.rc', '<(src_dir)/chrome/app/chrome_dll_resource.h', '<(src_dir)/chrome/app/chrome_version.rc.version', '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome/renderer_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome/theme_resources_standard.rc', '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources_standard/ui_resources_standard.rc', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_chromium_resources.rc', '<(SHARED_INTERMEDIATE_DIR)/webkit/webkit_resources.rc', ], 'conditions': [ ['win_use_allocator_shim==1', { 'dependencies': [ '<(allocator_target)', ], }], ], 'configurations': { 'Debug': { 'msvs_settings': { 'VCLinkerTool': { 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', }, }, }, }, }], ['OS=="mac"', { # See comments about "xcode_settings" elsewhere in this file. 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, }], ['toolkit_uses_gtk == 1', { 'dependencies': [ '<(src_dir)/build/linux/system.gyp:gtk', ], }], ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)', { 'dependencies': [ '<(src_dir)/build/linux/system.gyp:ssl', ], }], ['toolkit_views==1', { 'dependencies': [ '<(src_dir)/ui/views/views.gyp:views', ], }], ], }