1 # Copyright (c) 2012 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 # This file is meant to be included into targets which run gpu tests. 6 { 7 'variables': { 8 'test_list_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome/test/gpu', 9 'src_dir': '../../..', 10 }, 11 'dependencies': [ 12 'browser', 13 'chrome', 14 'chrome_resources.gyp:chrome_resources', 15 'chrome_resources.gyp:chrome_strings', 16 'renderer', 17 'test_support_common', 18 'test_support_ui', 19 '<(src_dir)/base/base.gyp:base', 20 '<(src_dir)/base/base.gyp:test_support_base', 21 '<(src_dir)/net/net.gyp:net_test_support', 22 '<(src_dir)/skia/skia.gyp:skia', 23 '<(src_dir)/testing/gmock.gyp:gmock', 24 '<(src_dir)/testing/gtest.gyp:gtest', 25 '<(src_dir)/third_party/icu/icu.gyp:icui18n', 26 '<(src_dir)/third_party/icu/icu.gyp:icuuc', 27 ], 28 'defines': [ 29 'HAS_OUT_OF_PROC_TEST_RUNNER', 30 ], 31 'include_dirs': [ 32 '<(src_dir)', 33 '<(test_list_out_dir)', 34 ], 35 'sources': [ 36 '<(src_dir)/chrome/test/base/chrome_test_launcher.cc', 37 ], 38 # hard_dependency is necessary for this target because it has actions 39 # that generate a header file included by dependent targets. The header 40 # file must be generated before the dependents are compiled. The usual 41 # semantics are to allow the two targets to build concurrently. 42 'hard_dependency': 1, 43 'conditions': [ 44 ['OS=="win"', { 45 'dependencies': [ 46 'chrome_version_resources', 47 ], 48 'include_dirs': [ 49 '<(DEPTH)/third_party/wtl/include', 50 ], 51 'sources': [ 52 '<(src_dir)/chrome/app/chrome_dll.rc', 53 '<(src_dir)/chrome/app/chrome_dll_resource.h', 54 '<(src_dir)/chrome/app/chrome_version.rc.version', 55 '<(SHARED_INTERMEDIATE_DIR)/chrome/browser_resources.rc', 56 '<(SHARED_INTERMEDIATE_DIR)/chrome/chrome_unscaled_resources.rc', 57 '<(SHARED_INTERMEDIATE_DIR)/chrome/common_resources.rc', 58 '<(SHARED_INTERMEDIATE_DIR)/chrome/extensions_api_resources.rc', 59 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/other_version.rc', 60 '<(SHARED_INTERMEDIATE_DIR)/content/content_resources.rc', 61 '<(SHARED_INTERMEDIATE_DIR)/net/net_resources.rc', 62 '<(SHARED_INTERMEDIATE_DIR)/webkit/blink_resources.rc', 63 ], 64 'conditions': [ 65 ['win_use_allocator_shim==1', { 66 'dependencies': [ 67 '<(allocator_target)', 68 ], 69 }], 70 ], 71 'configurations': { 72 'Debug': { 73 'msvs_settings': { 74 'VCLinkerTool': { 75 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', 76 }, 77 }, 78 }, 79 }, 80 }], 81 ['OS=="mac"', { 82 # See comments about "xcode_settings" elsewhere in this file. 83 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-ObjC']}, 84 }], 85 ['toolkit_uses_gtk == 1', { 86 'dependencies': [ 87 '<(src_dir)/build/linux/system.gyp:gtk', 88 ], 89 }], 90 ['toolkit_uses_gtk == 1 or chromeos==1 or (OS=="linux" and use_aura==1)', { 91 'dependencies': [ 92 '<(src_dir)/build/linux/system.gyp:ssl', 93 ], 94 }], 95 ['toolkit_views==1', { 96 'dependencies': [ 97 '<(src_dir)/ui/views/views.gyp:views', 98 ], 99 }], 100 ['OS=="android"', { 101 'dependencies!': [ 102 'chrome', 103 ], 104 'dependencies': [ 105 '<@(chromium_browser_dependencies)', 106 '<@(chromium_child_dependencies)', 107 '../content/content.gyp:content_app_both', 108 'chrome_resources.gyp:packed_resources', 109 'chrome_resources.gyp:packed_extra_resources', 110 ], 111 }], 112 ], 113 } 114