| OLD | NEW |
| (Empty) |
| 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 { | |
| 6 'variables': { | |
| 7 'chromium_code': 1, | |
| 8 | |
| 9 # Keep the archive builder happy. | |
| 10 'chrome_personalization%': 1, | |
| 11 'use_syncapi_stub%': 0, | |
| 12 | |
| 13 'conditions': [ | |
| 14 ['OS=="win"', { | |
| 15 'python': [ | |
| 16 '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python' | |
| 17 ], | |
| 18 }, { # OS != win | |
| 19 'python': [ | |
| 20 'python' | |
| 21 ], | |
| 22 }], | |
| 23 ], | |
| 24 }, | |
| 25 'includes': [ | |
| 26 '../build/win_precompile.gypi', | |
| 27 '../chrome/version.gypi', | |
| 28 ], | |
| 29 'target_defaults': { | |
| 30 'dependencies': [ | |
| 31 '../chrome/chrome_resources.gyp:chrome_resources', | |
| 32 '../chrome/chrome_resources.gyp:chrome_strings', | |
| 33 '../chrome/chrome_resources.gyp:packed_resources', | |
| 34 '../chrome/chrome_resources.gyp:theme_resources', | |
| 35 '../skia/skia.gyp:skia', | |
| 36 ], | |
| 37 'defines': [ 'ISOLATION_AWARE_ENABLED=1' ], | |
| 38 'include_dirs': [ | |
| 39 # all our own includes are relative to src/ | |
| 40 '..', | |
| 41 ], | |
| 42 }, | |
| 43 'targets': [ | |
| 44 { | |
| 45 'target_name': 'chrome_frame_version_resources', | |
| 46 'type': 'none', | |
| 47 'conditions': [ | |
| 48 ['branding == "Chrome"', { | |
| 49 'variables': { | |
| 50 'branding_path': '../chrome/app/theme/google_chrome/BRANDING', | |
| 51 }, | |
| 52 }, { # else branding!="Chrome" | |
| 53 'variables': { | |
| 54 'branding_path': '../chrome/app/theme/chromium/BRANDING', | |
| 55 }, | |
| 56 }], | |
| 57 ], | |
| 58 'variables': { | |
| 59 'output_dir': 'chrome_frame', | |
| 60 'template_input_path': 'npchrome_frame_version.rc.version', | |
| 61 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], | |
| 62 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above | |
| 63 }, | |
| 64 'direct_dependent_settings': { | |
| 65 'include_dirs': [ | |
| 66 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)', | |
| 67 ], | |
| 68 }, | |
| 69 'sources': [ | |
| 70 'npchrome_frame_dll.ver', | |
| 71 ], | |
| 72 'includes': [ | |
| 73 '../chrome/version_resource_rules.gypi', | |
| 74 ], | |
| 75 }, | |
| 76 { | |
| 77 # Builds the crash tests in crash_reporting. | |
| 78 'target_name': 'chrome_frame_crash_tests', | |
| 79 'type': 'none', | |
| 80 'dependencies': [ | |
| 81 'crash_reporting/crash_reporting.gyp:minidump_test', | |
| 82 'crash_reporting/crash_reporting.gyp:vectored_handler_tests', | |
| 83 ], | |
| 84 }, | |
| 85 { | |
| 86 # Builds our IDL file to the shared intermediate directory. | |
| 87 'target_name': 'chrome_tab_idl', | |
| 88 'type': 'none', | |
| 89 'msvs_settings': { | |
| 90 'VCMIDLTool': { | |
| 91 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', | |
| 92 }, | |
| 93 }, | |
| 94 'sources': [ | |
| 95 'chrome_tab.idl', | |
| 96 ], | |
| 97 # Add the output dir for those who depend on us. | |
| 98 'direct_dependent_settings': { | |
| 99 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], | |
| 100 }, | |
| 101 }, | |
| 102 { | |
| 103 'target_name': 'chrome_frame_unittests', | |
| 104 'type': 'executable', | |
| 105 'dependencies': [ | |
| 106 '../base/base.gyp:test_support_base', | |
| 107 '../chrome/chrome.gyp:test_support_common', | |
| 108 '../components/components.gyp:policy', | |
| 109 '../net/net.gyp:net', | |
| 110 '../testing/gmock.gyp:gmock', | |
| 111 '../testing/gtest.gyp:gtest', | |
| 112 'chrome_frame_launcher.gyp:chrome_frame_helper_lib', | |
| 113 'chrome_frame_ie', | |
| 114 'chrome_frame_strings', | |
| 115 'chrome_tab_idl', | |
| 116 'locales/locales.gyp:*', | |
| 117 ], | |
| 118 'sources': [ | |
| 119 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 120 'chrome_frame_unittest_main.cc', | |
| 121 'chrome_launcher.cc', | |
| 122 'chrome_launcher.h', | |
| 123 'chrome_launcher_unittest.cc', | |
| 124 'function_stub_unittest.cc', | |
| 125 'scoped_initialization_manager_unittest.cc', | |
| 126 'test/chrome_tab_mocks.h', | |
| 127 'test/chrome_frame_test_utils.h', | |
| 128 'test/chrome_frame_test_utils.cc', | |
| 129 'test/com_message_event_unittest.cc', | |
| 130 'test/dll_redirector_test.cc', | |
| 131 'test/exception_barrier_unittest.cc', | |
| 132 'test/http_negotiate_unittest.cc', | |
| 133 'test/infobar_unittests.cc', | |
| 134 'test/policy_settings_unittest.cc', | |
| 135 'test/registry_watcher_unittest.cc', | |
| 136 'test/simulate_input.h', | |
| 137 'test/simulate_input.cc', | |
| 138 'test/urlmon_moniker_tests.h', | |
| 139 'test/urlmon_moniker_unittest.cc', | |
| 140 'test/util_unittests.cc', | |
| 141 'test/win_event_receiver.h', | |
| 142 'test/win_event_receiver.cc', | |
| 143 'unittest_precompile.h', | |
| 144 'unittest_precompile.cc', | |
| 145 'urlmon_upload_data_stream_unittest.cc', | |
| 146 'vtable_patch_manager_unittest.cc', | |
| 147 ], | |
| 148 'include_dirs': [ | |
| 149 '<(DEPTH)/breakpad/src', | |
| 150 ], | |
| 151 'resource_include_dirs': [ | |
| 152 '<(INTERMEDIATE_DIR)', | |
| 153 ], | |
| 154 'conditions': [ | |
| 155 ['OS=="win" and buildtype=="Official"', { | |
| 156 'configurations': { | |
| 157 'Release': { | |
| 158 'msvs_settings': { | |
| 159 'VCCLCompilerTool': { | |
| 160 'WholeProgramOptimization': 'false', | |
| 161 }, | |
| 162 }, | |
| 163 }, | |
| 164 }, | |
| 165 },], | |
| 166 ['OS=="win"', { | |
| 167 'link_settings': { | |
| 168 'libraries': [ | |
| 169 '-lshdocvw.lib', | |
| 170 '-loleacc.lib', | |
| 171 ], | |
| 172 }, | |
| 173 'msvs_settings': { | |
| 174 'VCLinkerTool': { | |
| 175 'DelayLoadDLLs': ['shdocvw.dll'], | |
| 176 }, | |
| 177 }, | |
| 178 'dependencies': [ | |
| 179 '../breakpad/breakpad.gyp:breakpad_handler', | |
| 180 # TODO(slightlyoff): Get automation targets working on OS X | |
| 181 '../chrome/chrome.gyp:automation', | |
| 182 '../chrome/chrome.gyp:installer_util', | |
| 183 '../google_update/google_update.gyp:google_update', | |
| 184 ], | |
| 185 'configurations': { | |
| 186 'Debug_Base': { | |
| 187 'msvs_settings': { | |
| 188 'VCLinkerTool': { | |
| 189 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 190 }, | |
| 191 }, | |
| 192 }, | |
| 193 }, | |
| 194 }], | |
| 195 ], | |
| 196 }, | |
| 197 { | |
| 198 'target_name': 'chrome_frame_tests', | |
| 199 'type': 'executable', | |
| 200 'dependencies': [ | |
| 201 '../base/base.gyp:test_support_base', | |
| 202 '../chrome/chrome.gyp:browser', | |
| 203 '../chrome/chrome.gyp:common', | |
| 204 '../chrome/chrome.gyp:debugger', | |
| 205 '../chrome/chrome.gyp:renderer', | |
| 206 '../chrome/chrome.gyp:test_support_common', | |
| 207 '../chrome/chrome.gyp:utility', | |
| 208 '../chrome/installer/upgrade_test.gyp:alternate_version_generator_lib', | |
| 209 '../content/content.gyp:content_gpu', | |
| 210 '../net/net.gyp:net', | |
| 211 '../net/net.gyp:net_test_support', | |
| 212 '../testing/gmock.gyp:gmock', | |
| 213 '../testing/gtest.gyp:gtest', | |
| 214 '../third_party/iaccessible2/iaccessible2.gyp:IAccessible2Proxy', | |
| 215 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | |
| 216 '../third_party/libxslt/libxslt.gyp:libxslt', | |
| 217 '../url/url.gyp:url_lib', | |
| 218 'chrome_frame_ie', | |
| 219 'chrome_frame_strings', | |
| 220 'chrome_frame_utils', | |
| 221 'chrome_tab_idl', | |
| 222 'locales/locales.gyp:*', | |
| 223 'npchrome_frame', | |
| 224 ], | |
| 225 'sources': [ | |
| 226 '../base/test/test_suite.h', | |
| 227 'test/automation_client_mock.cc', | |
| 228 'test/automation_client_mock.h', | |
| 229 'test/chrome_frame_test_utils.cc', | |
| 230 'test/chrome_frame_test_utils.h', | |
| 231 'test/chrome_frame_ui_test_utils.cc', | |
| 232 'test/chrome_frame_ui_test_utils.h', | |
| 233 'test/chrome_frame_automation_mock.cc', | |
| 234 'test/chrome_frame_automation_mock.h', | |
| 235 'test/delete_chrome_history_test.cc', | |
| 236 'test/dll_redirector_loading_test.cc', | |
| 237 'test/header_test.cc', | |
| 238 'test/ie_configurator.cc', | |
| 239 'test/ie_configurator.h', | |
| 240 'test/ie_event_sink.cc', | |
| 241 'test/ie_event_sink.h', | |
| 242 'test/mock_ie_event_sink_actions.h', | |
| 243 'test/mock_ie_event_sink_test.cc', | |
| 244 'test/mock_ie_event_sink_test.h', | |
| 245 'test/navigation_test.cc', | |
| 246 'test/proxy_factory_mock.cc', | |
| 247 'test/proxy_factory_mock.h', | |
| 248 'test/run_all_unittests.cc', | |
| 249 'test/simple_resource_loader_test.cc', | |
| 250 'test/simulate_input.cc', | |
| 251 'test/simulate_input.h', | |
| 252 'test/test_scrubber.cc', | |
| 253 'test/test_scrubber.h', | |
| 254 'test/test_server.cc', | |
| 255 'test/test_server.h', | |
| 256 'test/test_server_test.cc', | |
| 257 'test/test_with_web_server.cc', | |
| 258 'test/test_with_web_server.h', | |
| 259 'test/ui_test.cc', | |
| 260 'test/urlmon_moniker_tests.h', | |
| 261 'test/urlmon_moniker_integration_test.cc', | |
| 262 'test/win_event_receiver.cc', | |
| 263 'test/win_event_receiver.h', | |
| 264 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_launcher_exe_version.rc'
, | |
| 265 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 266 'test_utils.cc', | |
| 267 'test_utils.h', | |
| 268 ], | |
| 269 'include_dirs': [ | |
| 270 '<(DEPTH)/third_party/wtl/include', | |
| 271 '<(DEPTH)/breakpad/src', | |
| 272 ], | |
| 273 'resource_include_dirs': [ | |
| 274 '<(INTERMEDIATE_DIR)', | |
| 275 ], | |
| 276 'conditions': [ | |
| 277 ['OS=="win"', { | |
| 278 'link_settings': { | |
| 279 'libraries': [ | |
| 280 '-loleacc.lib', | |
| 281 ], | |
| 282 }, | |
| 283 'dependencies': [ | |
| 284 '../chrome/chrome.gyp:crash_service', | |
| 285 '../chrome/chrome.gyp:automation', | |
| 286 '../chrome/chrome.gyp:installer_util', | |
| 287 '../google_update/google_update.gyp:google_update', | |
| 288 ], | |
| 289 'configurations': { | |
| 290 'Debug_Base': { | |
| 291 'msvs_settings': { | |
| 292 'VCLinkerTool': { | |
| 293 'LinkIncremental': '<(msvs_debug_link_nonincremental)', | |
| 294 }, | |
| 295 }, | |
| 296 }, | |
| 297 }, | |
| 298 'conditions': [ | |
| 299 ['win_use_allocator_shim==1', { | |
| 300 'dependencies': [ | |
| 301 '../base/allocator/allocator.gyp:allocator', | |
| 302 ], | |
| 303 }], | |
| 304 ], | |
| 305 }], | |
| 306 ], | |
| 307 }, | |
| 308 { | |
| 309 'target_name': 'chrome_frame_perftests', | |
| 310 'type': 'executable', | |
| 311 'dependencies': [ | |
| 312 '../base/base.gyp:base', | |
| 313 '../base/base.gyp:base_i18n', | |
| 314 '../base/base.gyp:test_support_base', | |
| 315 '../chrome/chrome.gyp:browser', | |
| 316 '../chrome/chrome.gyp:common', | |
| 317 '../chrome/chrome.gyp:debugger', | |
| 318 '../chrome/chrome.gyp:image_pre_reader', | |
| 319 '../chrome/chrome.gyp:test_support_common', | |
| 320 '../chrome/chrome.gyp:test_support_ui', | |
| 321 '../chrome/chrome.gyp:utility', | |
| 322 '../chrome/test/perf/perf_test.gyp:*', | |
| 323 '../content/content.gyp:content_gpu', | |
| 324 '../testing/gmock.gyp:gmock', | |
| 325 '../testing/gtest.gyp:gtest', | |
| 326 '../third_party/libxml/libxml.gyp:libxml', | |
| 327 '../third_party/libxslt/libxslt.gyp:libxslt', | |
| 328 '../url/url.gyp:url_lib', | |
| 329 'chrome_frame_ie', | |
| 330 'chrome_frame_strings', | |
| 331 'chrome_frame_utils', | |
| 332 'chrome_tab_idl', | |
| 333 'locales/locales.gyp:*', | |
| 334 'npchrome_frame', | |
| 335 ], | |
| 336 'sources': [ | |
| 337 '../base/test/perf_test_suite.h', | |
| 338 '../base/test/test_file_util.h', | |
| 339 '../chrome/test/base/chrome_process_util.cc', | |
| 340 '../chrome/test/base/chrome_process_util.h', | |
| 341 '../chrome/test/ui/ui_test.cc', | |
| 342 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 343 'test/chrome_frame_test_utils.cc', | |
| 344 'test/chrome_frame_test_utils.h', | |
| 345 'test/perf/chrome_frame_perftest.cc', | |
| 346 'test/perf/chrome_frame_perftest.h', | |
| 347 'test/perf/run_all.cc', | |
| 348 'test/perf/silverlight.cc', | |
| 349 'test/simulate_input.cc', | |
| 350 'test/simulate_input.h', | |
| 351 'test_utils.cc', | |
| 352 'test_utils.h', | |
| 353 'test/win_event_receiver.cc', | |
| 354 'test/win_event_receiver.h', | |
| 355 ], | |
| 356 'include_dirs': [ | |
| 357 '<(DEPTH)/third_party/wtl/include', | |
| 358 ], | |
| 359 'conditions': [ | |
| 360 ['OS=="win"', { | |
| 361 'configurations': { | |
| 362 'Debug_Base': { | |
| 363 'msvs_settings': { | |
| 364 'VCLinkerTool': { | |
| 365 'LinkIncremental': '<(msvs_debug_link_nonincremental)', | |
| 366 }, | |
| 367 }, | |
| 368 }, | |
| 369 }, | |
| 370 'link_settings': { | |
| 371 'libraries': [ | |
| 372 '-loleacc.lib', | |
| 373 ], | |
| 374 }, | |
| 375 'dependencies': [ | |
| 376 '../breakpad/breakpad.gyp:breakpad_handler', | |
| 377 '../chrome/chrome.gyp:automation', | |
| 378 '../chrome/chrome.gyp:crash_service', | |
| 379 '../chrome/chrome.gyp:installer_util', | |
| 380 '../google_update/google_update.gyp:google_update', | |
| 381 ], | |
| 382 'sources': [ | |
| 383 '../base/test/test_file_util_win.cc', | |
| 384 ] | |
| 385 }], | |
| 386 ], | |
| 387 }, | |
| 388 | |
| 389 { | |
| 390 'target_name': 'chrome_frame_net_tests', | |
| 391 'type': 'executable', | |
| 392 'dependencies': [ | |
| 393 '../base/base.gyp:test_support_base', | |
| 394 '../chrome/chrome.gyp:browser', | |
| 395 '../chrome/chrome.gyp:debugger', | |
| 396 '../chrome/chrome.gyp:renderer', | |
| 397 '../chrome/chrome.gyp:test_support_common', | |
| 398 '../chrome/chrome_resources.gyp:chrome_resources', | |
| 399 '../content/content.gyp:content_app_both', | |
| 400 '../content/content.gyp:content_gpu', | |
| 401 '../content/content_shell_and_tests.gyp:test_support_content', | |
| 402 '../net/net.gyp:net', | |
| 403 '../net/net.gyp:net_test_support', | |
| 404 '../skia/skia.gyp:skia', | |
| 405 '../sync/sync.gyp:sync', | |
| 406 '../testing/gtest.gyp:gtest', | |
| 407 '../third_party/icu/icu.gyp:icui18n', | |
| 408 '../third_party/icu/icu.gyp:icuuc', | |
| 409 '../ui/resources/ui_resources.gyp:ui_resources', | |
| 410 'chrome_frame_ie', | |
| 411 'chrome_tab_idl', | |
| 412 'npchrome_frame', | |
| 413 ], | |
| 414 'include_dirs': [ | |
| 415 '<(DEPTH)/breakpad/src', | |
| 416 ], | |
| 417 'defines': [ 'CHROME_FRAME_NET_TESTS=1' ], | |
| 418 'sources': [ | |
| 419 '../net/url_request/url_request_unittest.cc', | |
| 420 'test/chrome_frame_test_utils.cc', | |
| 421 'test/chrome_frame_test_utils.h', | |
| 422 'test/ie_configurator.cc', | |
| 423 'test/ie_configurator.h', | |
| 424 'test/simulate_input.cc', | |
| 425 'test/simulate_input.h', | |
| 426 'test/test_server.cc', | |
| 427 'test/test_server.h', | |
| 428 'test/win_event_receiver.cc', | |
| 429 'test/win_event_receiver.h', | |
| 430 'test/net/fake_external_tab.cc', | |
| 431 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 432 'test_utils.cc', | |
| 433 'test_utils.h', | |
| 434 ], | |
| 435 'conditions': [ | |
| 436 ['OS=="win"', { | |
| 437 'msvs_large_pdb': 1, | |
| 438 'link_settings': { | |
| 439 'libraries': [ | |
| 440 '-loleacc.lib', | |
| 441 ], | |
| 442 }, | |
| 443 'msvs_settings': { | |
| 444 'VCLinkerTool': { | |
| 445 'DelayLoadDLLs': ['prntvpt.dll'], | |
| 446 }, | |
| 447 }, | |
| 448 'dependencies': [ | |
| 449 '../breakpad/breakpad.gyp:breakpad_handler', | |
| 450 '../chrome/chrome.gyp:automation', | |
| 451 '../chrome/chrome.gyp:crash_service', | |
| 452 '../chrome/chrome.gyp:chrome_version_resources', | |
| 453 '../chrome/chrome.gyp:installer_util', | |
| 454 '../google_update/google_update.gyp:google_update', | |
| 455 ], | |
| 456 'configurations': { | |
| 457 'Debug_Base': { | |
| 458 'msvs_settings': { | |
| 459 'VCLinkerTool': { | |
| 460 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 461 }, | |
| 462 }, | |
| 463 }, | |
| 464 }, | |
| 465 }], | |
| 466 ], | |
| 467 }, | |
| 468 | |
| 469 { | |
| 470 'target_name': 'chrome_frame_reliability_tests', | |
| 471 'type': 'executable', | |
| 472 'dependencies': [ | |
| 473 '../base/base.gyp:base', | |
| 474 '../base/base.gyp:test_support_base', | |
| 475 '../chrome/chrome.gyp:browser', | |
| 476 '../chrome/chrome.gyp:debugger', | |
| 477 '../chrome/chrome.gyp:renderer', | |
| 478 '../chrome/chrome.gyp:test_support_common', | |
| 479 '../content/content.gyp:content_gpu', | |
| 480 '../testing/gmock.gyp:gmock', | |
| 481 '../testing/gtest.gyp:gtest', | |
| 482 'chrome_frame_ie', | |
| 483 'chrome_frame_strings', | |
| 484 'chrome_tab_idl', | |
| 485 'locales/locales.gyp:*', | |
| 486 ], | |
| 487 'sources': [ | |
| 488 'test/reliability/run_all_unittests.cc', | |
| 489 'test/reliability/page_load_test.cc', | |
| 490 'test/reliability/page_load_test.h', | |
| 491 'test/reliability/reliability_test_suite.h', | |
| 492 'test/chrome_frame_test_utils.cc', | |
| 493 'test/chrome_frame_test_utils.h', | |
| 494 'test/ie_event_sink.cc', | |
| 495 'test/ie_event_sink.h', | |
| 496 'test_utils.cc', | |
| 497 'test_utils.h', | |
| 498 'test/simulate_input.cc', | |
| 499 'test/simulate_input.h', | |
| 500 'test/win_event_receiver.cc', | |
| 501 'test/win_event_receiver.h', | |
| 502 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 503 '../base/test/test_file_util_win.cc', | |
| 504 '../chrome/test/automation/proxy_launcher.cc', | |
| 505 '../chrome/test/automation/proxy_launcher.h', | |
| 506 '../chrome/test/base/chrome_process_util.cc', | |
| 507 '../chrome/test/base/chrome_process_util.h', | |
| 508 '../chrome/test/ui/ui_test.cc', | |
| 509 '../chrome/test/ui/ui_test.h', | |
| 510 '../chrome/test/ui/ui_test_suite.cc', | |
| 511 '../chrome/test/ui/ui_test_suite.h', | |
| 512 ], | |
| 513 'resource_include_dirs': [ | |
| 514 '<(INTERMEDIATE_DIR)', | |
| 515 ], | |
| 516 'conditions': [ | |
| 517 ['OS=="win"', { | |
| 518 'msvs_large_pdb': 1, | |
| 519 'link_settings': { | |
| 520 'libraries': [ | |
| 521 '-loleacc.lib', | |
| 522 ], | |
| 523 }, | |
| 524 'dependencies': [ | |
| 525 # TODO(slightlyoff): Get automation targets working on OS X | |
| 526 '../chrome/chrome.gyp:automation', | |
| 527 '../chrome/chrome.gyp:installer_util', | |
| 528 '../google_update/google_update.gyp:google_update', | |
| 529 ], | |
| 530 'configurations': { | |
| 531 'Debug_Base': { | |
| 532 'msvs_settings': { | |
| 533 'VCLinkerTool': { | |
| 534 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | |
| 535 }, | |
| 536 }, | |
| 537 }, | |
| 538 }, | |
| 539 }], | |
| 540 ], | |
| 541 }, | |
| 542 { | |
| 543 'target_name': 'chrome_frame_qa_tests', | |
| 544 'type': 'executable', | |
| 545 'dependencies': [ | |
| 546 '../base/base.gyp:test_support_base', | |
| 547 '../chrome/chrome.gyp:test_support_common', | |
| 548 '../net/net.gyp:net', | |
| 549 '../net/net.gyp:net_test_support', | |
| 550 '../testing/gmock.gyp:gmock', | |
| 551 '../testing/gtest.gyp:gtest', | |
| 552 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', | |
| 553 '../third_party/protobuf/protobuf.gyp:protobuf_lite', | |
| 554 '../url/url.gyp:url_lib', | |
| 555 'chrome_frame_ie', | |
| 556 'chrome_frame_strings', | |
| 557 'chrome_tab_idl', | |
| 558 'locales/locales.gyp:*', | |
| 559 'npchrome_frame', | |
| 560 ], | |
| 561 'sources': [ | |
| 562 '../base/test/test_suite.h', | |
| 563 'test/chrome_frame_test_utils.cc', | |
| 564 'test/chrome_frame_test_utils.h', | |
| 565 'test/chrome_frame_ui_test_utils.cc', | |
| 566 'test/chrome_frame_ui_test_utils.h', | |
| 567 'test/external_sites_test.cc', | |
| 568 'test/ie_configurator.cc', | |
| 569 'test/ie_configurator.h', | |
| 570 'test/ie_event_sink.cc', | |
| 571 'test/ie_event_sink.h', | |
| 572 'test/mock_ie_event_sink_actions.h', | |
| 573 'test/mock_ie_event_sink_test.cc', | |
| 574 'test/mock_ie_event_sink_test.h', | |
| 575 'test/run_all_unittests.cc', | |
| 576 'test/simulate_input.cc', | |
| 577 'test/simulate_input.h', | |
| 578 'test/test_scrubber.cc', | |
| 579 'test/test_scrubber.h', | |
| 580 'test/test_server.cc', | |
| 581 'test/test_server.h', | |
| 582 'test/test_with_web_server.cc', | |
| 583 'test/test_with_web_server.h', | |
| 584 'test/win_event_receiver.cc', | |
| 585 'test/win_event_receiver.h', | |
| 586 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 587 'chrome_tab.idl', | |
| 588 'test_utils.cc', | |
| 589 'test_utils.h', | |
| 590 ], | |
| 591 'include_dirs': [ | |
| 592 '<(DEPTH)/third_party/wtl/include', | |
| 593 '<(DEPTH)/breakpad/src', | |
| 594 ], | |
| 595 'resource_include_dirs': [ | |
| 596 '<(INTERMEDIATE_DIR)', | |
| 597 ], | |
| 598 'conditions': [ | |
| 599 ['OS=="win"', { | |
| 600 'link_settings': { | |
| 601 'libraries': [ | |
| 602 '-loleacc.lib', | |
| 603 ], | |
| 604 }, | |
| 605 'dependencies': [ | |
| 606 '../chrome/chrome.gyp:crash_service', | |
| 607 '../chrome/chrome.gyp:automation', | |
| 608 '../chrome/chrome.gyp:installer_util', | |
| 609 '../google_update/google_update.gyp:google_update', | |
| 610 ] | |
| 611 }], | |
| 612 ], | |
| 613 }, | |
| 614 { | |
| 615 'target_name': 'chrome_frame_strings', | |
| 616 'type': 'none', | |
| 617 'variables': { | |
| 618 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', | |
| 619 }, | |
| 620 'actions': [ | |
| 621 { | |
| 622 'action_name': 'chrome_frame_resources', | |
| 623 'variables': { | |
| 624 'grit_grd_file': 'resources/chrome_frame_resources.grd', | |
| 625 }, | |
| 626 'includes': [ '../build/grit_action.gypi' ], | |
| 627 }, | |
| 628 { | |
| 629 'action_name': 'chrome_frame_dialogs', | |
| 630 'variables': { | |
| 631 'grit_grd_file': 'resources/chrome_frame_dialogs.grd', | |
| 632 }, | |
| 633 'includes': [ '../build/grit_action.gypi' ], | |
| 634 }, | |
| 635 ], | |
| 636 'includes': [ '../build/grit_target.gypi' ], | |
| 637 }, | |
| 638 { | |
| 639 'target_name': 'chrome_frame_utils', | |
| 640 # The intent is that shared util code can be built into a separate lib. | |
| 641 'type': 'static_library', | |
| 642 'dependencies': [ | |
| 643 '../base/base.gyp:base_i18n', | |
| 644 '../breakpad/breakpad.gyp:breakpad_handler', | |
| 645 '../chrome/chrome.gyp:chrome_version_header', | |
| 646 ], | |
| 647 'include_dirs': [ | |
| 648 # To allow including "version.h" | |
| 649 # TODO(grt): remove this as per http://crbug.com/99368 | |
| 650 '<(SHARED_INTERMEDIATE_DIR)', | |
| 651 ], | |
| 652 'sources': [ | |
| 653 'crash_server_init.cc', | |
| 654 'crash_server_init.h', | |
| 655 'simple_resource_loader.cc', | |
| 656 'simple_resource_loader.h', | |
| 657 ], | |
| 658 }, | |
| 659 { | |
| 660 'target_name': 'chrome_frame_ie', | |
| 661 'type': 'static_library', | |
| 662 'dependencies': [ | |
| 663 '../chrome/chrome.gyp:common', | |
| 664 '../chrome/chrome.gyp:utility', | |
| 665 '../components/components.gyp:policy', | |
| 666 '../content/content.gyp:content_common', | |
| 667 '../net/net.gyp:net', | |
| 668 '../third_party/libxml/libxml.gyp:libxml', | |
| 669 '../url/url.gyp:url_lib', | |
| 670 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', | |
| 671 'chrome_frame_common', | |
| 672 'chrome_frame_strings', | |
| 673 'chrome_frame_utils', | |
| 674 'chrome_tab_idl', | |
| 675 'locales/locales.gyp:*', | |
| 676 ], | |
| 677 'sources': [ | |
| 678 'bho.cc', | |
| 679 'bho.h', | |
| 680 'bho.rgs', | |
| 681 'bind_context_info.cc', | |
| 682 'bind_context_info.h', | |
| 683 'bind_status_callback_impl.cc', | |
| 684 'bind_status_callback_impl.h', | |
| 685 'buggy_bho_handling.cc', | |
| 686 'buggy_bho_handling.h', | |
| 687 'chrome_active_document.cc', | |
| 688 'chrome_active_document.h', | |
| 689 'chrome_active_document.rgs', | |
| 690 'chrome_frame_activex.cc', | |
| 691 'chrome_frame_activex.h', | |
| 692 'chrome_frame_activex.rgs', | |
| 693 'chrome_frame_activex_base.h', | |
| 694 'chrome_protocol.cc', | |
| 695 'chrome_protocol.h', | |
| 696 'chrome_protocol.rgs', | |
| 697 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 698 'com_message_event.cc', | |
| 699 'com_message_event.h', | |
| 700 'com_type_info_holder.cc', | |
| 701 'com_type_info_holder.h', | |
| 702 'delete_chrome_history.cc', | |
| 703 'delete_chrome_history.h', | |
| 704 'dll_redirector.cc', | |
| 705 'dll_redirector.h', | |
| 706 'exception_barrier.cc', | |
| 707 'exception_barrier.h', | |
| 708 'exception_barrier_lowlevel.asm', | |
| 709 'extra_system_apis.h', | |
| 710 'find_dialog.cc', | |
| 711 'find_dialog.h', | |
| 712 'function_stub.cc', | |
| 713 'function_stub.h', | |
| 714 'html_utils.h', | |
| 715 'html_utils.cc', | |
| 716 'http_negotiate.cc', | |
| 717 'http_negotiate.h', | |
| 718 'iids.cc', | |
| 719 'infobars/infobar_content.h', | |
| 720 'infobars/internal/displaced_window_manager.cc', | |
| 721 'infobars/internal/displaced_window_manager.h', | |
| 722 'infobars/internal/host_window_manager.cc', | |
| 723 'infobars/internal/host_window_manager.h', | |
| 724 'infobars/internal/infobar_window.cc', | |
| 725 'infobars/internal/infobar_window.h', | |
| 726 'infobars/internal/subclassing_window_with_delegate.h', | |
| 727 'infobars/infobar_manager.h', | |
| 728 'infobars/infobar_manager.cc', | |
| 729 'metrics_service.cc', | |
| 730 'metrics_service.h', | |
| 731 'pin_module.cc', | |
| 732 'pin_module.h', | |
| 733 'policy_settings.cc', | |
| 734 'policy_settings.h', | |
| 735 'protocol_sink_wrap.cc', | |
| 736 'protocol_sink_wrap.h', | |
| 737 'ready_mode/internal/ready_mode_web_browser_adapter.cc', | |
| 738 'ready_mode/internal/ready_mode_web_browser_adapter.h', | |
| 739 'ready_mode/internal/url_launcher.h', | |
| 740 'register_bho.rgs', | |
| 741 'registry_list_preferences_holder.cc', | |
| 742 'registry_list_preferences_holder.h', | |
| 743 'stream_impl.cc', | |
| 744 'stream_impl.h', | |
| 745 'turndown_prompt/turndown_prompt.cc', | |
| 746 'turndown_prompt/turndown_prompt.h', | |
| 747 'turndown_prompt/turndown_prompt_content.cc', | |
| 748 'turndown_prompt/turndown_prompt_content.h', | |
| 749 'turndown_prompt/turndown_prompt_window.cc', | |
| 750 'turndown_prompt/turndown_prompt_window.h', | |
| 751 'urlmon_bind_status_callback.h', | |
| 752 'urlmon_bind_status_callback.cc', | |
| 753 'urlmon_moniker.h', | |
| 754 'urlmon_moniker.cc', | |
| 755 'urlmon_url_request.cc', | |
| 756 'urlmon_url_request.h', | |
| 757 'urlmon_url_request_private.h', | |
| 758 'urlmon_upload_data_stream.cc', | |
| 759 'urlmon_upload_data_stream.h', | |
| 760 'utils.h', | |
| 761 'utils.cc', | |
| 762 'vtable_patch_manager.cc', | |
| 763 'vtable_patch_manager.h', | |
| 764 '../third_party/active_doc/in_place_menu.h', | |
| 765 '../third_party/active_doc/ole_document_impl.h', | |
| 766 ], | |
| 767 'include_dirs': [ | |
| 768 '<(DEPTH)/third_party/wtl/include', | |
| 769 ], | |
| 770 'conditions': [ | |
| 771 ['OS=="win"', { | |
| 772 # NOTE(slightlyoff): | |
| 773 # this is a fix for the include dirs length limit on the resource | |
| 774 # compiler, tickled by the xul_include_dirs variable | |
| 775 'resource_include_dirs': [ | |
| 776 '<(INTERMEDIATE_DIR)' | |
| 777 ], | |
| 778 'dependencies': [ | |
| 779 '../breakpad/breakpad.gyp:breakpad_handler', | |
| 780 '../chrome/chrome.gyp:automation', | |
| 781 # Installer | |
| 782 '../chrome/chrome.gyp:installer_util', | |
| 783 '../google_update/google_update.gyp:google_update', | |
| 784 # Make the archive build happy. | |
| 785 '../sync/sync.gyp:sync', | |
| 786 # Crash Reporting | |
| 787 'crash_reporting/crash_reporting.gyp:crash_report', | |
| 788 ], | |
| 789 'link_settings': { | |
| 790 'libraries': ['-lurlmon.lib'], | |
| 791 }, | |
| 792 },], | |
| 793 ], | |
| 794 'rules': [ | |
| 795 { | |
| 796 'rule_name': 'Assemble', | |
| 797 'extension': 'asm', | |
| 798 'inputs': [], | |
| 799 'outputs': [ | |
| 800 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', | |
| 801 ], | |
| 802 'action': [ | |
| 803 'ml', | |
| 804 '/safeseh', | |
| 805 '/Fo', '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj', | |
| 806 '/c', '<(RULE_INPUT_PATH)', | |
| 807 ], | |
| 808 'process_outputs_as_sources': 1, | |
| 809 'message': | |
| 810 'Assembling <(RULE_INPUT_PATH) to ' \ | |
| 811 '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj', | |
| 812 }, | |
| 813 ], | |
| 814 'msvs_settings': { | |
| 815 'VCLinkerTool': { | |
| 816 'AdditionalOptions': [ | |
| 817 '/safeseh', | |
| 818 ], | |
| 819 }, | |
| 820 }, | |
| 821 }, | |
| 822 { | |
| 823 'target_name': 'chrome_frame_common', | |
| 824 'type': 'static_library', | |
| 825 'sources': [ | |
| 826 'chrome_frame_automation.h', | |
| 827 'chrome_frame_automation.cc', | |
| 828 'chrome_frame_delegate.h', | |
| 829 'chrome_frame_delegate.cc', | |
| 830 'chrome_frame_plugin.h', | |
| 831 'chrome_launcher_utils.cc', | |
| 832 'chrome_launcher_utils.h', | |
| 833 'custom_sync_call_context.cc', | |
| 834 'custom_sync_call_context.h', | |
| 835 'navigation_constraints.h', | |
| 836 'navigation_constraints.cc', | |
| 837 'plugin_url_request.h', | |
| 838 'plugin_url_request.cc', | |
| 839 'sync_msg_reply_dispatcher.h', | |
| 840 'sync_msg_reply_dispatcher.cc', | |
| 841 'task_marshaller.h', | |
| 842 'task_marshaller.cc', | |
| 843 ], | |
| 844 'dependencies': [ | |
| 845 '../base/base.gyp:base', | |
| 846 '../net/net.gyp:net', | |
| 847 ], | |
| 848 'export_dependent_settings': [ | |
| 849 '../base/base.gyp:base', | |
| 850 ], | |
| 851 }, | |
| 852 { | |
| 853 'target_name': 'npchrome_frame', | |
| 854 'type': 'shared_library', | |
| 855 'dependencies': [ | |
| 856 '../base/base.gyp:base', | |
| 857 '../chrome/chrome.gyp:chrome', | |
| 858 '../chrome/chrome.gyp:chrome_dll', | |
| 859 '../chrome/chrome.gyp:chrome_version_resources', | |
| 860 '../chrome/chrome.gyp:common', | |
| 861 '../url/url.gyp:url_lib', | |
| 862 'chrome_frame_ie', | |
| 863 'chrome_frame_launcher.gyp:chrome_frame_helper', | |
| 864 'chrome_frame_launcher.gyp:chrome_frame_helper_dll', | |
| 865 'chrome_frame_launcher.gyp:chrome_launcher', | |
| 866 'chrome_frame_strings', | |
| 867 'chrome_frame_utils', | |
| 868 'chrome_frame_version_resources', | |
| 869 'chrome_tab_idl', | |
| 870 'locales/locales.gyp:*', | |
| 871 ], | |
| 872 'defines': [ | |
| 873 '_WINDLL', | |
| 874 ], | |
| 875 'sources': [ | |
| 876 'chrome_frame_elevation.rgs', | |
| 877 'chrome_frame_reporting.cc', | |
| 878 'chrome_frame_reporting.h', | |
| 879 'chrome_tab.cc', | |
| 880 'chrome_tab.def', | |
| 881 'scoped_initialization_manager.h', | |
| 882 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', | |
| 883 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/npchrome_frame_dll_version.rc', | |
| 884 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can | |
| 885 # figure out something more gyp-ish. | |
| 886 'resources/tlb_resource.rc', | |
| 887 'chrome_tab.rgs', | |
| 888 'resource.h', | |
| 889 ], | |
| 890 'conditions': [ | |
| 891 ['OS=="win"', { | |
| 892 # NOTE(slightlyoff): | |
| 893 # this is a fix for the include dirs length limit on the resource | |
| 894 # compiler, tickled by the xul_include_dirs variable | |
| 895 'resource_include_dirs': [ | |
| 896 '<(INTERMEDIATE_DIR)' | |
| 897 ], | |
| 898 'sources': [ | |
| 899 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_resources.rc', | |
| 900 ], | |
| 901 'dependencies': [ | |
| 902 '../breakpad/breakpad.gyp:breakpad_handler', | |
| 903 '../chrome/chrome.gyp:automation', | |
| 904 # Installer | |
| 905 '../chrome/chrome.gyp:installer_util', | |
| 906 '../google_update/google_update.gyp:google_update', | |
| 907 # Make the archive build happy. | |
| 908 '../sync/sync.gyp:sync', | |
| 909 # Crash Reporting | |
| 910 'crash_reporting/crash_reporting.gyp:crash_report', | |
| 911 ], | |
| 912 'link_settings': { | |
| 913 'libraries': [ | |
| 914 '-lshdocvw.lib', | |
| 915 ], | |
| 916 }, | |
| 917 'msvs_settings': { | |
| 918 'VCLinkerTool': { | |
| 919 'DelayLoadDLLs': [], | |
| 920 'BaseAddress': '0x33000000', | |
| 921 # Set /SUBSYSTEM:WINDOWS (for consistency). | |
| 922 'SubSystem': '2', | |
| 923 }, | |
| 924 'VCManifestTool': { | |
| 925 'AdditionalManifestFiles': [ | |
| 926 '$(ProjectDir)\\resources\\npchrome_frame.dll.manifest', | |
| 927 ], | |
| 928 }, | |
| 929 }, | |
| 930 }], | |
| 931 ], | |
| 932 }, | |
| 933 ], | |
| 934 } | |
| OLD | NEW |