| OLD | NEW |
| (Empty) |
| 1 # Copyright 2015 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 { | |
| 6 'variables': { | |
| 7 # This turns on e.g. the filename-based detection of which | |
| 8 # platforms to include source files on (e.g. files ending in | |
| 9 # _mac.h or _mac.cc are only compiled on MacOSX). | |
| 10 'chromium_code': 1, | |
| 11 }, | |
| 12 'targets': [ | |
| 13 { | |
| 14 # GN version: //components/test_runner:test_runner | |
| 15 'target_name': 'test_runner', | |
| 16 'type': '<(component)', | |
| 17 'defines': [ | |
| 18 'TEST_RUNNER_IMPLEMENTATION', | |
| 19 ], | |
| 20 'dependencies': [ | |
| 21 'resources', | |
| 22 '../../base/base.gyp:base', | |
| 23 '../../base/base.gyp:base_i18n', | |
| 24 '../../cc/cc.gyp:cc', | |
| 25 '../../cc/blink/cc_blink.gyp:cc_blink', | |
| 26 '../../gin/gin.gyp:gin', | |
| 27 '../../gpu/gpu.gyp:gpu', | |
| 28 '../../net/net.gyp:net', | |
| 29 '../../skia/skia.gyp:skia', | |
| 30 '../../third_party/WebKit/public/blink.gyp:blink', | |
| 31 '../../ui/display/display.gyp:display', | |
| 32 '../../ui/events/blink/events_blink.gyp:events_blink', | |
| 33 '../../ui/events/events.gyp:dom_keycode_converter', | |
| 34 '../../ui/events/events.gyp:events_base', | |
| 35 '../../ui/gfx/gfx.gyp:gfx', | |
| 36 '../../ui/gfx/gfx.gyp:gfx_geometry', | |
| 37 '../../ui/gfx/gfx.gyp:gfx_test_support', | |
| 38 '../../url/url.gyp:url_lib', | |
| 39 '../../v8/src/v8.gyp:v8', | |
| 40 ], | |
| 41 'include_dirs': [ | |
| 42 '..', | |
| 43 ], | |
| 44 # Note: sources list duplicated in GN build. | |
| 45 'sources': [ | |
| 46 'accessibility_controller.cc', | |
| 47 'accessibility_controller.h', | |
| 48 'app_banner_client.cc', | |
| 49 'app_banner_client.h', | |
| 50 'event_sender.cc', | |
| 51 'event_sender.h', | |
| 52 'gamepad_controller.cc', | |
| 53 'gamepad_controller.h', | |
| 54 'gc_controller.cc', | |
| 55 'gc_controller.h', | |
| 56 'layout_and_paint_async_then.cc', | |
| 57 'layout_and_paint_async_then.h', | |
| 58 'layout_dump.cc', | |
| 59 'layout_dump.h', | |
| 60 'layout_test_runtime_flags.cc', | |
| 61 'layout_test_runtime_flags.h', | |
| 62 'mock_color_chooser.cc', | |
| 63 'mock_color_chooser.h', | |
| 64 'mock_content_settings_client.cc', | |
| 65 'mock_content_settings_client.h', | |
| 66 'mock_credential_manager_client.cc', | |
| 67 'mock_credential_manager_client.h', | |
| 68 'mock_grammar_check.cc', | |
| 69 'mock_grammar_check.h', | |
| 70 'mock_screen_orientation_client.cc', | |
| 71 'mock_screen_orientation_client.h', | |
| 72 'mock_spell_check.cc', | |
| 73 'mock_spell_check.h', | |
| 74 'mock_web_audio_device.cc', | |
| 75 'mock_web_audio_device.h', | |
| 76 'mock_web_document_subresource_filter.cc', | |
| 77 'mock_web_document_subresource_filter.h', | |
| 78 'mock_web_media_stream_center.cc', | |
| 79 'mock_web_media_stream_center.h', | |
| 80 'mock_web_midi_accessor.cc', | |
| 81 'mock_web_midi_accessor.h', | |
| 82 'mock_web_speech_recognizer.cc', | |
| 83 'mock_web_speech_recognizer.h', | |
| 84 'mock_web_theme_engine.cc', | |
| 85 'mock_web_theme_engine.h', | |
| 86 'mock_web_user_media_client.cc', | |
| 87 'mock_web_user_media_client.h', | |
| 88 'mock_webrtc_data_channel_handler.cc', | |
| 89 'mock_webrtc_data_channel_handler.h', | |
| 90 'mock_webrtc_dtmf_sender_handler.cc', | |
| 91 'mock_webrtc_dtmf_sender_handler.h', | |
| 92 'mock_webrtc_peer_connection_handler.cc', | |
| 93 'mock_webrtc_peer_connection_handler.h', | |
| 94 'pixel_dump.cc', | |
| 95 'pixel_dump.h', | |
| 96 'spell_check_client.cc', | |
| 97 'spell_check_client.h', | |
| 98 'test_common.cc', | |
| 99 'test_common.h', | |
| 100 'test_interfaces.cc', | |
| 101 'test_interfaces.h', | |
| 102 'test_plugin.cc', | |
| 103 'test_plugin.h', | |
| 104 'test_preferences.cc', | |
| 105 'test_preferences.h', | |
| 106 'test_runner.cc', | |
| 107 'test_runner.h', | |
| 108 'test_runner_export.h', | |
| 109 'test_runner_for_specific_view.cc', | |
| 110 'test_runner_for_specific_view.h', | |
| 111 'text_input_controller.cc', | |
| 112 'text_input_controller.h', | |
| 113 'tracked_dictionary.cc', | |
| 114 'tracked_dictionary.h', | |
| 115 'web_ax_object_proxy.cc', | |
| 116 'web_ax_object_proxy.h', | |
| 117 'web_frame_test_client.cc', | |
| 118 'web_frame_test_client.h', | |
| 119 'web_frame_test_proxy.cc', | |
| 120 'web_frame_test_proxy.h', | |
| 121 'web_task.cc', | |
| 122 'web_task.h', | |
| 123 'web_test_delegate.h', | |
| 124 'web_test_interfaces.cc', | |
| 125 'web_test_interfaces.h', | |
| 126 'web_test_runner.h', | |
| 127 'web_view_test_client.cc', | |
| 128 'web_view_test_client.h', | |
| 129 'web_view_test_proxy.cc', | |
| 130 'web_view_test_proxy.h', | |
| 131 'web_widget_test_client.cc', | |
| 132 'web_widget_test_client.h', | |
| 133 'web_widget_test_proxy.cc', | |
| 134 'web_widget_test_proxy.h', | |
| 135 ], | |
| 136 'msvs_settings': { | |
| 137 'VCLinkerTool': { | |
| 138 'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS | |
| 139 }, | |
| 140 }, | |
| 141 'conditions': [ | |
| 142 ['OS=="win"', { | |
| 143 'configurations': { | |
| 144 'Debug_Base': { | |
| 145 'msvs_settings': { | |
| 146 'VCLinkerTool': { | |
| 147 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 148 }, | |
| 149 }, | |
| 150 }, | |
| 151 }, | |
| 152 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | |
| 153 'msvs_disabled_warnings': [ 4267, ], | |
| 154 }], # OS=="win" | |
| 155 ], | |
| 156 }, | |
| 157 { | |
| 158 # GN version: //components/test_runner:resources | |
| 159 'target_name': 'resources', | |
| 160 'type': 'none', | |
| 161 'conditions': [ | |
| 162 ['OS=="win"', { | |
| 163 'copies': [{ | |
| 164 'destination': '<(PRODUCT_DIR)', | |
| 165 'files': ['resources/fonts/AHEM____.TTF'], | |
| 166 }], | |
| 167 }], | |
| 168 ['OS=="mac"', { | |
| 169 'all_dependent_settings': { | |
| 170 'mac_bundle_resources': [ | |
| 171 'resources/fonts/AHEM____.TTF', | |
| 172 'resources/fonts/ChromiumAATTest.ttf', | |
| 173 '<(SHARED_INTERMEDIATE_DIR)/webkit/missingImage.png', | |
| 174 '<(SHARED_INTERMEDIATE_DIR)/webkit/textAreaResizeCorner.png', | |
| 175 ], | |
| 176 }, | |
| 177 }], | |
| 178 ['use_x11 == 1', { | |
| 179 'copies': [{ | |
| 180 'destination': '<(PRODUCT_DIR)', | |
| 181 'files': [ | |
| 182 'resources/fonts/AHEM____.TTF', | |
| 183 'resources/fonts/fonts.conf', | |
| 184 '../../third_party/gardiner_mod/GardinerModBug.ttf', | |
| 185 '../../third_party/gardiner_mod/GardinerModCat.ttf', | |
| 186 ] | |
| 187 }], | |
| 188 }], | |
| 189 ['OS=="android"', { | |
| 190 'copies': [{ | |
| 191 'destination': '<(PRODUCT_DIR)', | |
| 192 'files': [ | |
| 193 'resources/fonts/AHEM____.TTF', | |
| 194 'resources/fonts/android_main_fonts.xml', | |
| 195 'resources/fonts/android_fallback_fonts.xml', | |
| 196 ] | |
| 197 }], | |
| 198 }], | |
| 199 ], | |
| 200 }, | |
| 201 ], | |
| 202 'conditions': [ | |
| 203 ['OS=="mac" or OS=="win"', { | |
| 204 'targets': [ | |
| 205 { | |
| 206 # GN version: //components/test_runner:layout_test_helper | |
| 207 'target_name': 'layout_test_helper', | |
| 208 'type': 'executable', | |
| 209 'sources': [ | |
| 210 'helper/layout_test_helper_mac.mm', | |
| 211 'helper/layout_test_helper_win.cc', | |
| 212 ], | |
| 213 'conditions': [ | |
| 214 ['OS=="mac"', { | |
| 215 'link_settings': { | |
| 216 'libraries': [ | |
| 217 '$(SDKROOT)/System/Library/Frameworks/AppKit.framework', | |
| 218 ], | |
| 219 }, | |
| 220 }], | |
| 221 ], | |
| 222 }, | |
| 223 ], | |
| 224 }], # OS=="mac" or OS=="win" | |
| 225 ] | |
| 226 } | |
| OLD | NEW |