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.
9 # Keep the archive builder happy.
10 'chrome_personalization%': 1,
11 'use_syncapi_stub%': 0,
16 '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python'
26 '../build/win_precompile.gypi',
27 '../chrome/version.gypi',
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',
37 'defines': [ 'ISOLATION_AWARE_ENABLED=1' ],
39 # all our own includes are relative to src/
45 'target_name': 'chrome_frame_version_resources',
48 ['branding == "Chrome"', {
50 'branding_path': '../chrome/app/theme/google_chrome/BRANDING',
52 }, { # else branding!="Chrome"
54 'branding_path': '../chrome/app/theme/chromium/BRANDING',
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
64 'direct_dependent_settings': {
66 '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)',
70 'npchrome_frame_dll.ver',
73 '../chrome/version_resource_rules.gypi',
77 # Builds the crash tests in crash_reporting.
78 'target_name': 'chrome_frame_crash_tests',
81 'crash_reporting/crash_reporting.gyp:minidump_test',
82 'crash_reporting/crash_reporting.gyp:vectored_handler_tests',
86 # Builds our IDL file to the shared intermediate directory.
87 'target_name': 'chrome_tab_idl',
91 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
97 # Add the output dir for those who depend on us.
98 'direct_dependent_settings': {
99 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'],
103 'target_name': 'chrome_frame_unittests',
104 'type': 'executable',
106 '../base/base.gyp:test_support_base',
107 '../chrome/app/policy/cloud_policy_codegen.gyp:policy',
108 '../chrome/chrome.gyp:test_support_common',
109 '../net/net.gyp:net',
110 '../testing/gmock.gyp:gmock',
111 '../testing/gtest.gyp:gtest',
112 'chrome_frame_launcher.gyp:chrome_frame_helper_lib',
114 'chrome_frame_strings',
116 'locales/locales.gyp:*',
119 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
120 'chrome_frame_unittest_main.cc',
121 'chrome_launcher.cc',
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/html_util_unittests.cc',
133 'test/http_negotiate_unittest.cc',
134 'test/infobar_unittests.cc',
135 'test/policy_settings_unittest.cc',
136 'test/ready_mode_unittest.cc',
137 'test/registry_watcher_unittest.cc',
138 'test/simulate_input.h',
139 'test/simulate_input.cc',
140 'test/urlmon_moniker_tests.h',
141 'test/urlmon_moniker_unittest.cc',
142 'test/util_unittests.cc',
143 'test/win_event_receiver.h',
144 'test/win_event_receiver.cc',
145 'unittest_precompile.h',
146 'unittest_precompile.cc',
147 'urlmon_upload_data_stream_unittest.cc',
148 'vtable_patch_manager_unittest.cc',
151 '<(DEPTH)/breakpad/src',
153 'resource_include_dirs': [
154 '<(INTERMEDIATE_DIR)',
157 # We can't instrument code for coverage if it depends on 3rd party
158 # binaries that we don't have PDBs for. See here for more details:
159 # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-not-disable-warning-lnk4099
164 '../breakpad/breakpad.gyp:breakpad_handler',
165 # TODO(slightlyoff): Get automation targets working on OS X
166 '../chrome/chrome.gyp:automation',
171 ['OS=="win" and buildtype=="Official"', {
175 'VCCLCompilerTool': {
176 'WholeProgramOptimization': 'false',
191 'DelayLoadDLLs': ['shdocvw.dll'],
195 # TODO(slightlyoff): Get automation targets working on OS X
196 '../chrome/chrome.gyp:automation',
197 '../chrome/chrome.gyp:installer_util',
198 '../google_update/google_update.gyp:google_update',
204 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
213 'target_name': 'chrome_frame_tests',
214 'type': 'executable',
216 '../base/base.gyp:test_support_base',
217 '../chrome/chrome.gyp:browser',
218 '../chrome/chrome.gyp:common',
219 '../chrome/chrome.gyp:debugger',
220 '../chrome/chrome.gyp:renderer',
221 '../chrome/chrome.gyp:test_support_common',
222 '../chrome/chrome.gyp:utility',
223 '../chrome/installer/upgrade_test.gyp:alternate_version_generator_lib',
224 '../content/content.gyp:content_gpu',
225 '../net/net.gyp:net',
226 '../net/net.gyp:net_test_support',
227 '../testing/gmock.gyp:gmock',
228 '../testing/gtest.gyp:gtest',
229 '../third_party/iaccessible2/iaccessible2.gyp:IAccessible2Proxy',
230 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
231 '../third_party/libxslt/libxslt.gyp:libxslt',
232 '../url/url.gyp:url_lib',
234 'chrome_frame_strings',
235 'chrome_frame_utils',
237 'locales/locales.gyp:*',
241 '../base/test/test_suite.h',
242 'test/automation_client_mock.cc',
243 'test/automation_client_mock.h',
244 'test/chrome_frame_test_utils.cc',
245 'test/chrome_frame_test_utils.h',
246 'test/chrome_frame_ui_test_utils.cc',
247 'test/chrome_frame_ui_test_utils.h',
248 'test/chrome_frame_automation_mock.cc',
249 'test/chrome_frame_automation_mock.h',
250 'test/delete_chrome_history_test.cc',
251 'test/dll_redirector_loading_test.cc',
252 'test/header_test.cc',
253 'test/ie_configurator.cc',
254 'test/ie_configurator.h',
255 'test/ie_event_sink.cc',
256 'test/ie_event_sink.h',
257 'test/mock_ie_event_sink_actions.h',
258 'test/mock_ie_event_sink_test.cc',
259 'test/mock_ie_event_sink_test.h',
260 'test/navigation_test.cc',
261 'test/proxy_factory_mock.cc',
262 'test/proxy_factory_mock.h',
263 'test/run_all_unittests.cc',
264 'test/simple_resource_loader_test.cc',
265 'test/simulate_input.cc',
266 'test/simulate_input.h',
267 'test/test_scrubber.cc',
268 'test/test_scrubber.h',
269 'test/test_server.cc',
270 'test/test_server.h',
271 'test/test_server_test.cc',
272 'test/test_with_web_server.cc',
273 'test/test_with_web_server.h',
275 'test/urlmon_moniker_tests.h',
276 'test/urlmon_moniker_integration_test.cc',
277 'test/url_request_test.cc',
278 'test/win_event_receiver.cc',
279 'test/win_event_receiver.h',
280 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_launcher_exe_version.rc',
281 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
286 '<(DEPTH)/third_party/wtl/include',
287 '<(DEPTH)/breakpad/src',
289 'resource_include_dirs': [
290 '<(INTERMEDIATE_DIR)',
300 '../chrome/chrome.gyp:crash_service',
301 '../chrome/chrome.gyp:automation',
302 '../chrome/chrome.gyp:installer_util',
303 '../google_update/google_update.gyp:google_update',
309 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
315 ['win_use_allocator_shim==1', {
317 '../base/allocator/allocator.gyp:allocator',
325 'target_name': 'chrome_frame_perftests',
326 'type': 'executable',
328 '../base/base.gyp:base',
329 '../base/base.gyp:base_i18n',
330 '../base/base.gyp:test_support_base',
331 '../chrome/chrome.gyp:browser',
332 '../chrome/chrome.gyp:common',
333 '../chrome/chrome.gyp:debugger',
334 '../chrome/chrome.gyp:image_pre_reader',
335 '../chrome/chrome.gyp:test_support_common',
336 '../chrome/chrome.gyp:test_support_ui',
337 '../chrome/chrome.gyp:utility',
338 '../chrome/test/perf/perf_test.gyp:*',
339 '../content/content.gyp:content_gpu',
340 '../testing/gmock.gyp:gmock',
341 '../testing/gtest.gyp:gtest',
342 '../third_party/libxml/libxml.gyp:libxml',
343 '../third_party/libxslt/libxslt.gyp:libxslt',
344 '../url/url.gyp:url_lib',
346 'chrome_frame_strings',
347 'chrome_frame_utils',
349 'locales/locales.gyp:*',
353 '../base/test/perf_test_suite.h',
354 '../base/test/test_file_util.h',
355 '../chrome/test/base/chrome_process_util.cc',
356 '../chrome/test/base/chrome_process_util.h',
357 '../chrome/test/ui/ui_test.cc',
358 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
359 'test/chrome_frame_test_utils.cc',
360 'test/chrome_frame_test_utils.h',
361 'test/perf/chrome_frame_perftest.cc',
362 'test/perf/chrome_frame_perftest.h',
363 'test/perf/run_all.cc',
364 'test/perf/silverlight.cc',
365 'test/simulate_input.cc',
366 'test/simulate_input.h',
369 'test/win_event_receiver.cc',
370 'test/win_event_receiver.h',
373 '<(DEPTH)/third_party/wtl/include',
381 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
392 '../breakpad/breakpad.gyp:breakpad_handler',
393 '../chrome/chrome.gyp:automation',
394 '../chrome/chrome.gyp:crash_service',
395 '../chrome/chrome.gyp:installer_util',
396 '../google_update/google_update.gyp:google_update',
399 '../base/test/test_file_util_win.cc',
406 'target_name': 'chrome_frame_net_tests',
407 'type': 'executable',
409 '../base/base.gyp:test_support_base',
410 '../chrome/chrome.gyp:browser',
411 '../chrome/chrome.gyp:debugger',
412 '../chrome/chrome.gyp:renderer',
413 '../chrome/chrome.gyp:test_support_common',
414 '../chrome/chrome_resources.gyp:chrome_resources',
415 '../content/content.gyp:content_app_both',
416 '../content/content.gyp:content_gpu',
417 '../content/content_shell_and_tests.gyp:test_support_content',
418 '../net/net.gyp:net',
419 '../net/net.gyp:net_test_support',
420 '../skia/skia.gyp:skia',
421 '../sync/sync.gyp:sync',
422 '../testing/gtest.gyp:gtest',
423 '../third_party/icu/icu.gyp:icui18n',
424 '../third_party/icu/icu.gyp:icuuc',
425 '../ui/ui.gyp:ui_resources',
431 '<(DEPTH)/breakpad/src',
434 '../net/url_request/url_request_unittest.cc',
435 'test/chrome_frame_test_utils.cc',
436 'test/chrome_frame_test_utils.h',
437 'test/ie_configurator.cc',
438 'test/ie_configurator.h',
439 'test/simulate_input.cc',
440 'test/simulate_input.h',
441 'test/test_server.cc',
442 'test/test_server.h',
443 'test/win_event_receiver.cc',
444 'test/win_event_receiver.h',
445 'test/net/fake_external_tab.cc',
446 'test/net/fake_external_tab.h',
447 'test/net/test_automation_provider.cc',
448 'test/net/test_automation_provider.h',
449 'test/net/test_automation_resource_message_filter.cc',
450 'test/net/test_automation_resource_message_filter.h',
451 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
464 'DelayLoadDLLs': ['prntvpt.dll'],
468 '../breakpad/breakpad.gyp:breakpad_handler',
469 '../chrome/chrome.gyp:automation',
470 '../chrome/chrome.gyp:crash_service',
471 '../chrome/chrome.gyp:chrome_version_resources',
472 '../chrome/chrome.gyp:installer_util',
473 '../google_update/google_update.gyp:google_update',
479 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
489 'target_name': 'chrome_frame_reliability_tests',
490 'type': 'executable',
492 '../base/base.gyp:base',
493 '../base/base.gyp:test_support_base',
494 '../chrome/chrome.gyp:browser',
495 '../chrome/chrome.gyp:debugger',
496 '../chrome/chrome.gyp:renderer',
497 '../chrome/chrome.gyp:test_support_common',
498 '../content/content.gyp:content_gpu',
499 '../testing/gmock.gyp:gmock',
500 '../testing/gtest.gyp:gtest',
502 'chrome_frame_strings',
504 'locales/locales.gyp:*',
507 'test/reliability/run_all_unittests.cc',
508 'test/reliability/page_load_test.cc',
509 'test/reliability/page_load_test.h',
510 'test/reliability/reliability_test_suite.h',
511 'test/chrome_frame_test_utils.cc',
512 'test/chrome_frame_test_utils.h',
513 'test/ie_event_sink.cc',
514 'test/ie_event_sink.h',
517 'test/simulate_input.cc',
518 'test/simulate_input.h',
519 'test/win_event_receiver.cc',
520 'test/win_event_receiver.h',
521 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
522 '../base/test/test_file_util_win.cc',
523 '../chrome/test/automation/proxy_launcher.cc',
524 '../chrome/test/automation/proxy_launcher.h',
525 '../chrome/test/base/chrome_process_util.cc',
526 '../chrome/test/base/chrome_process_util.h',
527 '../chrome/test/ui/ui_test.cc',
528 '../chrome/test/ui/ui_test.h',
529 '../chrome/test/ui/ui_test_suite.cc',
530 '../chrome/test/ui/ui_test_suite.h',
532 'resource_include_dirs': [
533 '<(INTERMEDIATE_DIR)',
543 # TODO(slightlyoff): Get automation targets working on OS X
544 '../chrome/chrome.gyp:automation',
545 '../chrome/chrome.gyp:installer_util',
546 '../google_update/google_update.gyp:google_update',
552 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
561 'target_name': 'chrome_frame_qa_tests',
562 'type': 'executable',
564 '../base/base.gyp:test_support_base',
565 '../chrome/chrome.gyp:test_support_common',
566 '../net/net.gyp:net',
567 '../net/net.gyp:net_test_support',
568 '../testing/gmock.gyp:gmock',
569 '../testing/gtest.gyp:gtest',
570 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
571 '../third_party/protobuf/protobuf.gyp:protobuf_lite',
572 '../url/url.gyp:url_lib',
574 'chrome_frame_strings',
576 'locales/locales.gyp:*',
580 '../base/test/test_suite.h',
581 'test/chrome_frame_test_utils.cc',
582 'test/chrome_frame_test_utils.h',
583 'test/chrome_frame_ui_test_utils.cc',
584 'test/chrome_frame_ui_test_utils.h',
585 'test/external_sites_test.cc',
586 'test/ie_configurator.cc',
587 'test/ie_configurator.h',
588 'test/ie_event_sink.cc',
589 'test/ie_event_sink.h',
590 'test/mock_ie_event_sink_actions.h',
591 'test/mock_ie_event_sink_test.cc',
592 'test/mock_ie_event_sink_test.h',
593 'test/run_all_unittests.cc',
594 'test/simulate_input.cc',
595 'test/simulate_input.h',
596 'test/test_scrubber.cc',
597 'test/test_scrubber.h',
598 'test/test_server.cc',
599 'test/test_server.h',
600 'test/test_with_web_server.cc',
601 'test/test_with_web_server.h',
602 'test/win_event_receiver.cc',
603 'test/win_event_receiver.h',
604 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
610 '<(DEPTH)/third_party/wtl/include',
611 '<(DEPTH)/breakpad/src',
613 'resource_include_dirs': [
614 '<(INTERMEDIATE_DIR)',
624 '../chrome/chrome.gyp:crash_service',
625 '../chrome/chrome.gyp:automation',
626 '../chrome/chrome.gyp:installer_util',
627 '../google_update/google_update.gyp:google_update',
633 'target_name': 'chrome_frame_strings',
636 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
640 'action_name': 'chrome_frame_resources',
642 'grit_grd_file': 'resources/chrome_frame_resources.grd',
644 'includes': [ '../build/grit_action.gypi' ],
647 'action_name': 'chrome_frame_dialogs',
649 'grit_grd_file': 'resources/chrome_frame_dialogs.grd',
651 'includes': [ '../build/grit_action.gypi' ],
654 'includes': [ '../build/grit_target.gypi' ],
657 'target_name': 'chrome_frame_utils',
658 # The intent is that shared util code can be built into a separate lib.
659 'type': 'static_library',
661 '../base/base.gyp:base_i18n',
662 '../breakpad/breakpad.gyp:breakpad_handler',
663 '../chrome/chrome.gyp:chrome_version_header',
666 # To allow including "version.h"
667 # TODO(grt): remove this as per http://crbug.com/99368
668 '<(SHARED_INTERMEDIATE_DIR)',
671 'crash_server_init.cc',
672 'crash_server_init.h',
673 'simple_resource_loader.cc',
674 'simple_resource_loader.h',
678 'target_name': 'chrome_frame_ie',
679 'type': 'static_library',
681 '../chrome/app/policy/cloud_policy_codegen.gyp:policy',
682 '../chrome/chrome.gyp:common',
683 '../chrome/chrome.gyp:utility',
684 '../content/content.gyp:content_common',
685 '../net/net.gyp:net',
686 '../third_party/libxml/libxml.gyp:libxml',
687 '../url/url.gyp:url_lib',
688 '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent',
689 'chrome_frame_common',
690 'chrome_frame_strings',
691 'chrome_frame_utils',
693 'locales/locales.gyp:*',
699 'bind_context_info.cc',
700 'bind_context_info.h',
701 'bind_status_callback_impl.cc',
702 'bind_status_callback_impl.h',
703 'buggy_bho_handling.cc',
704 'buggy_bho_handling.h',
705 'chrome_active_document.cc',
706 'chrome_active_document.h',
707 'chrome_active_document.rgs',
708 'chrome_frame_activex.cc',
709 'chrome_frame_activex.h',
710 'chrome_frame_activex.rgs',
711 'chrome_frame_activex_base.h',
712 'chrome_protocol.cc',
714 'chrome_protocol.rgs',
715 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
716 'com_message_event.cc',
717 'com_message_event.h',
718 'com_type_info_holder.cc',
719 'com_type_info_holder.h',
720 'delete_chrome_history.cc',
721 'delete_chrome_history.h',
724 'exception_barrier.cc',
725 'exception_barrier.h',
726 'exception_barrier_lowlevel.asm',
727 'extra_system_apis.h',
737 'infobars/infobar_content.h',
738 'infobars/internal/displaced_window_manager.cc',
739 'infobars/internal/displaced_window_manager.h',
740 'infobars/internal/host_window_manager.cc',
741 'infobars/internal/host_window_manager.h',
742 'infobars/internal/infobar_window.cc',
743 'infobars/internal/infobar_window.h',
744 'infobars/internal/subclassing_window_with_delegate.h',
745 'infobars/infobar_manager.h',
746 'infobars/infobar_manager.cc',
747 'metrics_service.cc',
751 'policy_settings.cc',
753 'protocol_sink_wrap.cc',
754 'protocol_sink_wrap.h',
755 'ready_mode/internal/ready_mode_state.h',
756 'ready_mode/internal/ready_mode_web_browser_adapter.cc',
757 'ready_mode/internal/ready_mode_web_browser_adapter.h',
758 'ready_mode/internal/ready_prompt_content.cc',
759 'ready_mode/internal/ready_prompt_content.h',
760 'ready_mode/internal/ready_prompt_window.cc',
761 'ready_mode/internal/ready_prompt_window.h',
762 'ready_mode/internal/registry_ready_mode_state.cc',
763 'ready_mode/internal/registry_ready_mode_state.h',
764 'ready_mode/internal/url_launcher.h',
765 'ready_mode/ready_mode.cc',
766 'ready_mode/ready_mode.h',
768 'registry_list_preferences_holder.cc',
769 'registry_list_preferences_holder.h',
772 'turndown_prompt/reshow_state.cc',
773 'turndown_prompt/reshow_state.h',
774 'turndown_prompt/turndown_prompt.cc',
775 'turndown_prompt/turndown_prompt.h',
776 'turndown_prompt/turndown_prompt_content.cc',
777 'turndown_prompt/turndown_prompt_content.h',
778 'turndown_prompt/turndown_prompt_window.cc',
779 'turndown_prompt/turndown_prompt_window.h',
780 'urlmon_bind_status_callback.h',
781 'urlmon_bind_status_callback.cc',
784 'urlmon_url_request.cc',
785 'urlmon_url_request.h',
786 'urlmon_url_request_private.h',
787 'urlmon_upload_data_stream.cc',
788 'urlmon_upload_data_stream.h',
791 'vtable_patch_manager.cc',
792 'vtable_patch_manager.h',
793 '../third_party/active_doc/in_place_menu.h',
794 '../third_party/active_doc/ole_document_impl.h',
797 '<(DEPTH)/third_party/wtl/include',
802 # this is a fix for the include dirs length limit on the resource
803 # compiler, tickled by the xul_include_dirs variable
804 'resource_include_dirs': [
805 '<(INTERMEDIATE_DIR)'
808 '../breakpad/breakpad.gyp:breakpad_handler',
809 '../chrome/chrome.gyp:automation',
811 '../chrome/chrome.gyp:installer_util',
812 '../google_update/google_update.gyp:google_update',
813 # Make the archive build happy.
814 '../sync/sync.gyp:sync',
816 'crash_reporting/crash_reporting.gyp:crash_report',
819 'libraries': ['-lurlmon.lib'],
825 'rule_name': 'Assemble',
829 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
834 '/Fo', '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj',
835 '/c', '<(RULE_INPUT_PATH)',
837 'process_outputs_as_sources': 1,
839 'Assembling <(RULE_INPUT_PATH) to ' \
840 '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj.',
845 'AdditionalOptions': [
852 'target_name': 'chrome_frame_common',
853 'type': 'static_library',
855 'chrome_frame_automation.h',
856 'chrome_frame_automation.cc',
857 'chrome_frame_delegate.h',
858 'chrome_frame_delegate.cc',
859 'chrome_frame_plugin.cc',
860 'chrome_frame_plugin.h',
861 'chrome_launcher_utils.cc',
862 'chrome_launcher_utils.h',
863 'custom_sync_call_context.cc',
864 'custom_sync_call_context.h',
865 'navigation_constraints.h',
866 'navigation_constraints.cc',
867 'plugin_url_request.h',
868 'plugin_url_request.cc',
869 'sync_msg_reply_dispatcher.h',
870 'sync_msg_reply_dispatcher.cc',
872 'task_marshaller.cc',
875 '../base/base.gyp:base',
876 '../net/net.gyp:net',
878 'export_dependent_settings': [
879 '../base/base.gyp:base',
883 'target_name': 'npchrome_frame',
884 'type': 'shared_library',
886 '../base/base.gyp:base',
887 '../chrome/chrome.gyp:chrome',
888 '../chrome/chrome.gyp:chrome_dll',
889 '../chrome/chrome.gyp:chrome_version_resources',
890 '../chrome/chrome.gyp:common',
891 '../url/url.gyp:url_lib',
893 'chrome_frame_launcher.gyp:chrome_frame_helper',
894 'chrome_frame_launcher.gyp:chrome_frame_helper_dll',
895 'chrome_frame_launcher.gyp:chrome_launcher',
896 'chrome_frame_strings',
897 'chrome_frame_utils',
898 'chrome_frame_version_resources',
900 'locales/locales.gyp:*',
906 'chrome_frame_elevation.rgs',
907 'chrome_frame_reporting.cc',
908 'chrome_frame_reporting.h',
911 'scoped_initialization_manager.h',
912 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
913 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/npchrome_frame_dll_version.rc',
914 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can
915 # figure out something more gyp-ish.
916 'resources/tlb_resource.rc',
923 # this is a fix for the include dirs length limit on the resource
924 # compiler, tickled by the xul_include_dirs variable
925 'resource_include_dirs': [
926 '<(INTERMEDIATE_DIR)'
929 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_resources.rc',
932 '../breakpad/breakpad.gyp:breakpad_handler',
933 '../chrome/chrome.gyp:automation',
935 '../chrome/chrome.gyp:installer_util',
936 '../google_update/google_update.gyp:google_update',
937 # Make the archive build happy.
938 '../sync/sync.gyp:sync',
940 'crash_reporting/crash_reporting.gyp:crash_report',
950 'BaseAddress': '0x33000000',
951 # Set /SUBSYSTEM:WINDOWS (for consistency).
955 'AdditionalManifestFiles': [
956 '$(ProjectDir)\\resources\\npchrome_frame.dll.manifest',
965 # To enable the coverage targets, do
966 # GYP_DEFINES='coverage=1' gclient sync
970 # Coverage BUILD AND RUN.
971 # Not named coverage_build_and_run for historical reasons.
972 'target_name': 'gcf_coverage',
973 'dependencies': [ 'gcf_coverage_build', 'gcf_coverage_run' ],
974 # do NOT place this in the 'all' list; most won't want it.
975 'suppress_wildcard': 1,
979 'message': 'Coverage is now complete.',
980 # MSVS must have an input file and an output file.
981 'inputs': [ '<(PRODUCT_DIR)/gcf_coverage.info' ],
982 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage-build-and-run.stamp' ],
983 'action_name': 'gcf_coverage',
984 # Wish gyp had some basic builtin commands (e.g. 'touch').
985 'action': [ 'python', '-c',
988 '\'<(PRODUCT_DIR)\' + os.path.sep + ' \
989 '\'gcf_coverage-build-and-run.stamp\'' \
990 ', \'w\').close()' ],
991 # Use outputs of this action as inputs for the main target build.
992 # Seems as a misnomer but makes this happy on Linux (scons).
993 'process_outputs_as_sources': 1,
997 # Coverage BUILD. Compile only; does not run the bundles.
998 # Intended as the build phase for our coverage bots.
1000 # Builds unit test bundles needed for coverage.
1001 # Outputs this list of bundles into gcf_coverage_bundles.py.
1003 # If you want to both build and run coverage from your IDE,
1004 # use the 'gcf_coverage' target.
1006 'target_name': 'gcf_coverage_build',
1007 'suppress_wildcard': 1,
1010 # Some tests are disabled because they depend on browser.lib which
1011 # has some trouble to link with instrumentation. Until this is
1012 # fixed on the Chrome side we won't get complete coverage from
1013 # our tests but we at least get the process rolling...
1014 # TODO(mad): FIX THIS!
1015 #'chrome_frame_net_tests',
1016 #'chrome_frame_reliability_tests',
1018 # Other tests depend on Chrome bins being available when they run.
1019 # Those should be re-enabled as soon as we setup the build slave to
1020 # also build (or download an archive of) Chrome, even it it isn't
1021 # instrumented itself.
1022 # TODO(mad): FIX THIS!
1023 #'chrome_frame_perftests',
1024 #'chrome_frame_tests',
1026 'chrome_frame_unittests',
1031 # Technically I want inputs to be the list of
1032 # executables created in <@(_dependencies) but use of
1033 # that variable lists the dep by dep name, not their
1034 # output executable name.
1035 # Is there a better way to force this action to run, always?
1037 # If a test bundle is added to this gcf_coverage_build target it
1038 # necessarily means this file (chrome_frame.gyp) is changed,
1039 # so the action is run (gcf_coverage_bundles.py is generated).
1040 # Exceptions to that rule are theoretically possible
1041 # (e.g. re-gyp with a GYP_DEFINES set).
1042 # Else it's the same list of bundles as last time. They are
1043 # built (since on the deps list) but the action may not run.
1044 # For now, things work, but it's less than ideal.
1045 'inputs': [ 'chrome_frame.gyp' ],
1046 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage_bundles.py' ],
1047 'action_name': 'gcf_coverage_build',
1048 'action': [ 'python', '-c',
1051 '\'<(PRODUCT_DIR)\' + os.path.sep + ' \
1052 '\'gcf_coverage_bundles.py\'' \
1055 '<@(_dependencies)' \
1056 '\'.split(\' \'); ' \
1057 'f.write(str(deplist)); ' \
1059 # Use outputs of this action as inputs for the main target build.
1060 # Seems as a misnomer but makes this happy on Linux (scons).
1061 'process_outputs_as_sources': 1,
1065 # Coverage RUN. Does not actually compile the bundles (though it
1066 # depends on the gcf_coverage_build step which will do it).
1067 # This target mirrors the run_coverage_bundles buildbot phase.
1068 # If you update this command update the mirror in
1069 # $BUILDBOT/scripts/master/factory/chromium_commands.py.
1070 # If you want both build and run, use the 'gcf_coverage' target which
1071 # adds a bit more magic to identify if we need to run or not.
1073 'target_name': 'gcf_coverage_run',
1074 'dependencies': [ 'gcf_coverage_build' ],
1075 'suppress_wildcard': 1,
1079 # MSVS must have an input file and an output file.
1080 'inputs': [ '<(PRODUCT_DIR)/gcf_coverage_bundles.py' ],
1081 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage.info' ],
1082 'action_name': 'gcf_coverage_run',
1083 'action': [ 'python',
1084 '../tools/code_coverage/coverage_posix.py',
1090 '<(PRODUCT_DIR)/gcf_coverage_bundles.py',
1092 # Use outputs of this action as inputs for the main target build.
1093 # Seems as a misnomer but makes this happy on Linux (scons).
1094 'process_outputs_as_sources': 1,
1099 }, ], # 'coverage!=0'