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.
10 'version_py_path': '../tools/build/version.py',
11 'version_path': 'VERSION',
13 'version_py_path': '<(version_py_path) -f',
14 'version_path': '<(version_path)',
16 # Keep the archive builder happy.
17 'chrome_personalization%': 1,
18 'use_syncapi_stub%': 0,
23 '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python'
33 '../build/win_precompile.gypi',
37 '../chrome/chrome_resources.gyp:chrome_resources',
38 '../chrome/chrome_resources.gyp:chrome_strings',
39 '../chrome/chrome_resources.gyp:packed_resources',
40 '../chrome/chrome_resources.gyp:theme_resources',
41 '../skia/skia.gyp:skia',
43 'defines': [ 'ISOLATION_AWARE_ENABLED=1' ],
45 # all our own includes are relative to src/
51 # Builds the crash tests in crash_reporting.
52 'target_name': 'chrome_frame_crash_tests',
55 'crash_reporting/crash_reporting.gyp:minidump_test',
56 'crash_reporting/crash_reporting.gyp:vectored_handler_tests',
60 # Builds our IDL file to the shared intermediate directory.
61 'target_name': 'chrome_tab_idl',
65 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
71 # Add the output dir for those who depend on us.
72 'direct_dependent_settings': {
73 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'],
77 'target_name': 'chrome_frame_unittests',
80 '../base/base.gyp:test_support_base',
81 '../chrome/app/policy/cloud_policy_codegen.gyp:policy',
83 '../testing/gmock.gyp:gmock',
84 '../testing/gtest.gyp:gtest',
85 'chrome_frame_launcher.gyp:chrome_frame_helper_lib',
87 'chrome_frame_strings',
89 'locales/locales.gyp:*',
92 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
93 'chrome_frame_unittest_main.cc',
96 'chrome_launcher_unittest.cc',
97 'function_stub_unittest.cc',
98 'test/chrome_tab_mocks.h',
99 'test/chrome_frame_test_utils.h',
100 'test/chrome_frame_test_utils.cc',
101 'test/com_message_event_unittest.cc',
102 'test/dll_redirector_test.cc',
103 'test/exception_barrier_unittest.cc',
104 'test/html_util_unittests.cc',
105 'test/http_negotiate_unittest.cc',
106 'test/infobar_unittests.cc',
107 'test/policy_settings_unittest.cc',
108 'test/ready_mode_unittest.cc',
109 'test/registry_watcher_unittest.cc',
110 'test/simulate_input.h',
111 'test/simulate_input.cc',
112 'test/urlmon_moniker_tests.h',
113 'test/urlmon_moniker_unittest.cc',
114 'test/util_unittests.cc',
115 'test/win_event_receiver.h',
116 'test/win_event_receiver.cc',
117 'unittest_precompile.h',
118 'unittest_precompile.cc',
119 'urlmon_upload_data_stream_unittest.cc',
120 'vtable_patch_manager_unittest.cc',
123 '<(DEPTH)/breakpad/src',
125 'resource_include_dirs': [
126 '<(INTERMEDIATE_DIR)',
129 # We can't instrument code for coverage if it depends on 3rd party
130 # binaries that we don't have PDBs for. See here for more details:
131 # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-not-disable-warning-lnk4099
136 '../breakpad/breakpad.gyp:breakpad_handler',
137 # TODO(slightlyoff): Get automation targets working on OS X
138 '../chrome/chrome.gyp:automation',
143 ['OS=="win" and buildtype=="Official"', {
147 'VCCLCompilerTool': {
148 'WholeProgramOptimization': 'false',
163 'DelayLoadDLLs': ['shdocvw.dll'],
167 # TODO(slightlyoff): Get automation targets working on OS X
168 '../chrome/chrome.gyp:automation',
169 '../chrome/chrome.gyp:installer_util',
170 '../google_update/google_update.gyp:google_update',
176 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
185 'target_name': 'chrome_frame_tests',
186 'type': 'executable',
188 '../base/base.gyp:test_support_base',
189 '../build/temp_gyp/googleurl.gyp:googleurl',
190 '../chrome/chrome.gyp:chrome_version_header',
191 '../chrome/chrome.gyp:common',
192 '../chrome/chrome.gyp:utility',
193 '../chrome/chrome.gyp:browser',
194 '../chrome/chrome.gyp:debugger',
195 '../chrome/chrome.gyp:renderer',
196 '../chrome/installer/upgrade_test.gyp:alternate_version_generator_lib',
197 '../content/content.gyp:content_gpu',
198 '../net/net.gyp:net',
199 '../net/net.gyp:net_test_support',
200 '../testing/gmock.gyp:gmock',
201 '../testing/gtest.gyp:gtest',
202 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
203 '../third_party/iaccessible2/iaccessible2.gyp:IAccessible2Proxy',
204 '../third_party/libxslt/libxslt.gyp:libxslt',
206 'chrome_frame_strings',
207 'chrome_frame_utils',
209 'locales/locales.gyp:*',
213 '../base/test/test_suite.h',
215 'external_tab_test.cc',
216 'test/automation_client_mock.cc',
217 'test/automation_client_mock.h',
218 'test/chrome_frame_test_utils.cc',
219 'test/chrome_frame_test_utils.h',
220 'test/chrome_frame_ui_test_utils.cc',
221 'test/chrome_frame_ui_test_utils.h',
222 'test/chrome_frame_automation_mock.cc',
223 'test/chrome_frame_automation_mock.h',
224 'test/delete_chrome_history_test.cc',
225 'test/dll_redirector_loading_test.cc',
226 'test/header_test.cc',
227 'test/ie_event_sink.cc',
228 'test/ie_event_sink.h',
229 'test/mock_ie_event_sink_actions.h',
230 'test/mock_ie_event_sink_test.cc',
231 'test/mock_ie_event_sink_test.h',
232 'test/navigation_test.cc',
233 'test/proxy_factory_mock.cc',
234 'test/proxy_factory_mock.h',
235 'test/run_all_unittests.cc',
236 'test/simple_resource_loader_test.cc',
237 'test/simulate_input.cc',
238 'test/simulate_input.h',
239 'test/test_server.cc',
240 'test/test_server.h',
241 'test/test_server_test.cc',
242 'test/test_with_web_server.cc',
243 'test/test_with_web_server.h',
245 'test/urlmon_moniker_tests.h',
246 'test/urlmon_moniker_integration_test.cc',
247 'test/url_request_test.cc',
248 'test/win_event_receiver.cc',
249 'test/win_event_receiver.h',
250 'chrome_launcher_version.rc',
251 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
256 '<(DEPTH)/third_party/wtl/include',
257 '<(DEPTH)/breakpad/src',
259 'resource_include_dirs': [
260 '<(INTERMEDIATE_DIR)',
270 '../chrome/chrome.gyp:crash_service',
271 '../chrome/chrome.gyp:automation',
272 '../chrome/chrome.gyp:installer_util',
273 '../google_update/google_update.gyp:google_update',
279 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
285 ['win_use_allocator_shim==1', {
287 '../base/allocator/allocator.gyp:allocator',
295 'target_name': 'chrome_frame_perftests',
296 'type': 'executable',
298 '../base/base.gyp:base',
299 '../base/base.gyp:base_i18n',
300 '../base/base.gyp:test_support_base',
301 '../build/temp_gyp/googleurl.gyp:googleurl',
302 '../chrome/chrome.gyp:common',
303 '../chrome/chrome.gyp:browser',
304 '../chrome/chrome.gyp:debugger',
305 '../chrome/chrome.gyp:image_pre_reader',
306 '../chrome/chrome.gyp:test_support_ui',
307 '../chrome/chrome.gyp:utility',
308 '../content/content.gyp:content_gpu',
309 '../testing/gmock.gyp:gmock',
310 '../testing/gtest.gyp:gtest',
311 '../third_party/libxml/libxml.gyp:libxml',
312 '../third_party/libxslt/libxslt.gyp:libxslt',
314 'chrome_frame_strings',
315 'chrome_frame_utils',
317 'locales/locales.gyp:*',
321 '../base/test/perf_test_suite.h',
322 '../base/perftimer.cc',
323 '../base/test/test_file_util.h',
324 '../chrome/test/base/chrome_process_util.cc',
325 '../chrome/test/base/chrome_process_util.h',
326 '../chrome/test/ui/ui_test.cc',
327 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
328 'test/chrome_frame_test_utils.cc',
329 'test/chrome_frame_test_utils.h',
330 'test/perf/chrome_frame_perftest.cc',
331 'test/perf/chrome_frame_perftest.h',
332 'test/perf/run_all.cc',
333 'test/perf/silverlight.cc',
334 'test/simulate_input.cc',
335 'test/simulate_input.h',
338 'test/win_event_receiver.cc',
339 'test/win_event_receiver.h',
342 '<(DEPTH)/third_party/wtl/include',
350 'LinkIncremental': '<(msvs_debug_link_nonincremental)',
361 '../breakpad/breakpad.gyp:breakpad_handler',
362 '../chrome/chrome.gyp:automation',
363 '../chrome/chrome.gyp:crash_service',
364 '../chrome/chrome.gyp:installer_util',
365 '../google_update/google_update.gyp:google_update',
368 '../base/test/test_file_util_win.cc',
375 'target_name': 'chrome_frame_net_tests',
376 'type': 'executable',
378 '../base/base.gyp:test_support_base',
379 '../chrome/chrome.gyp:browser',
380 '../chrome/chrome.gyp:debugger',
381 '../chrome/chrome.gyp:renderer',
382 '../chrome/chrome.gyp:syncapi_core',
383 '../chrome/chrome_resources.gyp:chrome_resources',
384 '../content/content.gyp:content_app',
385 '../content/content.gyp:content_gpu',
386 '../content/content.gyp:test_support_content',
387 '../net/net.gyp:net',
388 '../net/net.gyp:net_test_support',
389 '../skia/skia.gyp:skia',
390 '../testing/gtest.gyp:gtest',
391 '../third_party/icu/icu.gyp:icui18n',
392 '../third_party/icu/icu.gyp:icuuc',
393 '../ui/ui.gyp:ui_resources',
399 '<(DEPTH)/breakpad/src',
402 '../net/url_request/url_request_unittest.cc',
403 'test/chrome_frame_test_utils.cc',
404 'test/chrome_frame_test_utils.h',
405 'test/simulate_input.cc',
406 'test/simulate_input.h',
407 'test/test_server.cc',
408 'test/test_server.h',
409 'test/win_event_receiver.cc',
410 'test/win_event_receiver.h',
411 'test/net/fake_external_tab.cc',
412 'test/net/fake_external_tab.h',
413 'test/net/process_singleton_subclass.cc',
414 'test/net/process_singleton_subclass.h',
415 'test/net/test_automation_provider.cc',
416 'test/net/test_automation_provider.h',
417 'test/net/test_automation_resource_message_filter.cc',
418 'test/net/test_automation_resource_message_filter.h',
419 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
420 '<(SHARED_INTERMEDIATE_DIR)/ui/ui_resources/ui_resources.rc',
433 'DelayLoadDLLs': ['prntvpt.dll'],
437 '../breakpad/breakpad.gyp:breakpad_handler',
438 '../chrome/chrome.gyp:automation',
439 '../chrome/chrome.gyp:crash_service',
440 '../chrome/chrome.gyp:chrome_version_resources',
441 '../chrome/chrome.gyp:installer_util',
442 '../google_update/google_update.gyp:google_update',
448 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
458 'target_name': 'chrome_frame_reliability_tests',
459 'type': 'executable',
461 '../base/base.gyp:base',
462 '../base/base.gyp:test_support_base',
463 '../chrome/chrome.gyp:browser',
464 '../chrome/chrome.gyp:debugger',
465 '../chrome/chrome.gyp:renderer',
466 '../chrome/chrome.gyp:test_support_common',
467 '../content/content.gyp:content_gpu',
468 '../testing/gmock.gyp:gmock',
469 '../testing/gtest.gyp:gtest',
471 'chrome_frame_strings',
473 'locales/locales.gyp:*',
476 'test/reliability/run_all_unittests.cc',
477 'test/reliability/page_load_test.cc',
478 'test/reliability/page_load_test.h',
479 'test/reliability/reliability_test_suite.h',
480 'test/chrome_frame_test_utils.cc',
481 'test/chrome_frame_test_utils.h',
482 'test/ie_event_sink.cc',
483 'test/ie_event_sink.h',
486 'test/simulate_input.cc',
487 'test/simulate_input.h',
488 'test/win_event_receiver.cc',
489 'test/win_event_receiver.h',
490 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
491 '../base/test/test_file_util_win.cc',
492 '../chrome/test/automation/proxy_launcher.cc',
493 '../chrome/test/automation/proxy_launcher.h',
494 '../chrome/test/base/chrome_process_util.cc',
495 '../chrome/test/base/chrome_process_util.h',
496 '../chrome/test/ui/ui_test.cc',
497 '../chrome/test/ui/ui_test.h',
498 '../chrome/test/ui/ui_test_suite.cc',
499 '../chrome/test/ui/ui_test_suite.h',
501 'resource_include_dirs': [
502 '<(INTERMEDIATE_DIR)',
512 # TODO(slightlyoff): Get automation targets working on OS X
513 '../chrome/chrome.gyp:automation',
514 '../chrome/chrome.gyp:installer_util',
515 '../google_update/google_update.gyp:google_update',
521 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
530 'target_name': 'chrome_frame_qa_tests',
531 'type': 'executable',
533 '../base/base.gyp:test_support_base',
534 '../build/temp_gyp/googleurl.gyp:googleurl',
535 '../net/net.gyp:net',
536 '../net/net.gyp:net_test_support',
537 '../testing/gmock.gyp:gmock',
538 '../testing/gtest.gyp:gtest',
539 '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2',
541 'chrome_frame_strings',
543 'locales/locales.gyp:*',
547 '../base/test/test_suite.h',
548 'test/chrome_frame_test_utils.cc',
549 'test/chrome_frame_test_utils.h',
550 'test/chrome_frame_ui_test_utils.cc',
551 'test/chrome_frame_ui_test_utils.h',
552 'test/external_sites_test.cc',
553 'test/ie_event_sink.cc',
554 'test/ie_event_sink.h',
555 'test/mock_ie_event_sink_actions.h',
556 'test/mock_ie_event_sink_test.cc',
557 'test/mock_ie_event_sink_test.h',
558 'test/run_all_unittests.cc',
559 'test/simulate_input.cc',
560 'test/simulate_input.h',
561 'test/test_server.cc',
562 'test/test_server.h',
563 'test/test_with_web_server.cc',
564 'test/test_with_web_server.h',
565 'test/win_event_receiver.cc',
566 'test/win_event_receiver.h',
567 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
573 '<(DEPTH)/third_party/wtl/include',
574 '<(DEPTH)/breakpad/src',
576 'resource_include_dirs': [
577 '<(INTERMEDIATE_DIR)',
587 '../chrome/chrome.gyp:crash_service',
588 '../chrome/chrome.gyp:automation',
589 '../chrome/chrome.gyp:installer_util',
590 '../google_update/google_update.gyp:google_update',
596 'target_name': 'chrome_frame_strings',
599 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
603 'action_name': 'chrome_frame_resources',
605 'grit_grd_file': 'resources/chrome_frame_resources.grd',
607 'includes': [ '../build/grit_action.gypi' ],
610 'action_name': 'chrome_frame_dialogs',
612 'grit_grd_file': 'resources/chrome_frame_dialogs.grd',
614 'includes': [ '../build/grit_action.gypi' ],
617 'includes': [ '../build/grit_target.gypi' ],
620 'target_name': 'chrome_frame_utils',
621 # The intent is that shared util code can be built into a separate lib.
622 'type': 'static_library',
624 '../base/base.gyp:base_i18n',
625 '../breakpad/breakpad.gyp:breakpad_handler',
626 '../chrome/chrome.gyp:chrome_version_header',
629 # To allow including "version.h"
630 # TODO(grt): remove this as per http://crbug.com/99368
631 '<(SHARED_INTERMEDIATE_DIR)',
634 'crash_server_init.cc',
635 'crash_server_init.h',
636 'simple_resource_loader.cc',
637 'simple_resource_loader.h',
641 'target_name': 'chrome_frame_ie',
642 'type': 'static_library',
644 'chrome_frame_common',
645 'chrome_frame_strings',
646 'chrome_frame_utils',
648 'locales/locales.gyp:*',
649 '../build/temp_gyp/googleurl.gyp:googleurl',
650 '../chrome/app/policy/cloud_policy_codegen.gyp:policy',
651 '../chrome/chrome.gyp:common',
652 '../chrome/chrome.gyp:utility',
653 '../content/content.gyp:content_common',
654 '../net/net.gyp:net',
655 '../third_party/libxml/libxml.gyp:libxml',
656 '../third_party/bzip2/bzip2.gyp:bzip2',
657 '../webkit/support/webkit_support.gyp:webkit_user_agent',
663 'bind_context_info.cc',
664 'bind_context_info.h',
665 'bind_status_callback_impl.cc',
666 'bind_status_callback_impl.h',
667 'buggy_bho_handling.cc',
668 'buggy_bho_handling.h',
669 'chrome_active_document.cc',
670 'chrome_active_document.h',
671 'chrome_active_document.rgs',
672 'chrome_frame_activex.cc',
673 'chrome_frame_activex.h',
674 'chrome_frame_activex.rgs',
675 'chrome_frame_activex_base.h',
676 'chrome_protocol.cc',
678 'chrome_protocol.rgs',
679 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
680 'com_message_event.cc',
681 'com_message_event.h',
682 'com_type_info_holder.cc',
683 'com_type_info_holder.h',
684 'delete_chrome_history.cc',
685 'delete_chrome_history.h',
688 'exception_barrier.cc',
689 'exception_barrier.h',
690 'exception_barrier_lowlevel.asm',
691 'extra_system_apis.h',
701 'infobars/infobar_content.h',
702 'infobars/internal/displaced_window_manager.cc',
703 'infobars/internal/displaced_window_manager.h',
704 'infobars/internal/host_window_manager.cc',
705 'infobars/internal/host_window_manager.h',
706 'infobars/internal/infobar_window.cc',
707 'infobars/internal/infobar_window.h',
708 'infobars/internal/subclassing_window_with_delegate.h',
709 'infobars/infobar_manager.h',
710 'infobars/infobar_manager.cc',
711 'metrics_service.cc',
713 'policy_settings.cc',
715 'protocol_sink_wrap.cc',
716 'protocol_sink_wrap.h',
717 'ready_mode/internal/ready_mode_state.h',
718 'ready_mode/internal/ready_mode_web_browser_adapter.cc',
719 'ready_mode/internal/ready_mode_web_browser_adapter.h',
720 'ready_mode/internal/ready_prompt_content.cc',
721 'ready_mode/internal/ready_prompt_content.h',
722 'ready_mode/internal/ready_prompt_window.cc',
723 'ready_mode/internal/ready_prompt_window.h',
724 'ready_mode/internal/registry_ready_mode_state.cc',
725 'ready_mode/internal/registry_ready_mode_state.h',
726 'ready_mode/internal/url_launcher.h',
727 'ready_mode/ready_mode.cc',
728 'ready_mode/ready_mode.h',
732 'urlmon_bind_status_callback.h',
733 'urlmon_bind_status_callback.cc',
736 'urlmon_url_request.cc',
737 'urlmon_url_request.h',
738 'urlmon_url_request_private.h',
739 'urlmon_upload_data_stream.cc',
740 'urlmon_upload_data_stream.h',
743 'vtable_patch_manager.cc',
744 'vtable_patch_manager.h',
745 '../third_party/active_doc/in_place_menu.h',
746 '../third_party/active_doc/ole_document_impl.h',
749 '<(DEPTH)/third_party/wtl/include',
754 # this is a fix for the include dirs length limit on the resource
755 # compiler, tickled by the xul_include_dirs variable
756 'resource_include_dirs': [
757 '<(INTERMEDIATE_DIR)'
760 '../breakpad/breakpad.gyp:breakpad_handler',
761 '../chrome/chrome.gyp:automation',
762 # Make the archive build happy.
763 '../chrome/chrome.gyp:syncapi_core',
765 '../chrome/chrome.gyp:installer_util',
766 '../google_update/google_update.gyp:google_update',
768 'crash_reporting/crash_reporting.gyp:crash_report',
771 'libraries': ['-lurlmon.lib'],
777 'rule_name': 'Assemble',
781 '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj',
786 '/Fo', '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj',
787 '/c', '<(RULE_INPUT_PATH)',
789 'process_outputs_as_sources': 0,
791 'Assembling <(RULE_INPUT_PATH) to ' \
792 '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj.',
797 'AdditionalOptions': [
804 'target_name': 'chrome_frame_common',
805 'type': 'static_library',
809 'cfproxy_factory.cc',
811 'cfproxy_support.cc',
812 'chrome_frame_automation.h',
813 'chrome_frame_automation.cc',
814 'chrome_frame_delegate.h',
815 'chrome_frame_delegate.cc',
816 'chrome_frame_plugin.cc',
817 'chrome_frame_plugin.h',
818 'chrome_launcher_utils.cc',
819 'chrome_launcher_utils.h',
820 'custom_sync_call_context.cc',
821 'custom_sync_call_context.h',
824 'navigation_constraints.h',
825 'navigation_constraints.cc',
826 'plugin_url_request.h',
827 'plugin_url_request.cc',
828 'sync_msg_reply_dispatcher.h',
829 'sync_msg_reply_dispatcher.cc',
831 'task_marshaller.cc',
834 '../base/base.gyp:base',
835 '../net/net.gyp:net',
837 'export_dependent_settings': [
838 '../base/base.gyp:base',
842 'target_name': 'npchrome_frame',
843 'type': 'shared_library',
845 '../base/base.gyp:base',
847 'chrome_frame_strings',
848 'chrome_frame_utils',
850 'chrome_frame_launcher.gyp:chrome_launcher',
851 'chrome_frame_launcher.gyp:chrome_frame_helper',
852 'chrome_frame_launcher.gyp:chrome_frame_helper_dll',
853 'locales/locales.gyp:*',
854 '../build/temp_gyp/googleurl.gyp:googleurl',
855 '../chrome/chrome.gyp:chrome',
856 '../chrome/chrome.gyp:chrome_dll',
857 '../chrome/chrome.gyp:chrome_version_resources',
858 '../chrome/chrome.gyp:common',
861 'chrome_frame_elevation.rgs',
862 'chrome_frame_reporting.cc',
863 'chrome_frame_reporting.h',
866 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h',
867 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can
868 # figure out something more gyp-ish.
869 'resources/tlb_resource.rc',
871 'chrome_tab_version.rc',
877 # this is a fix for the include dirs length limit on the resource
878 # compiler, tickled by the xul_include_dirs variable
879 'resource_include_dirs': [
880 '<(INTERMEDIATE_DIR)'
883 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_resources.rc',
886 '../breakpad/breakpad.gyp:breakpad_handler_dll',
887 '../chrome/chrome.gyp:automation',
888 # Make the archive build happy.
889 '../chrome/chrome.gyp:syncapi_core',
891 '../chrome/chrome.gyp:installer_util',
892 '../google_update/google_update.gyp:google_update',
894 'crash_reporting/crash_reporting.gyp:crash_report',
904 'BaseAddress': '0x33000000',
905 # Set /SUBSYSTEM:WINDOWS (for consistency).
909 'AdditionalManifestFiles':
910 '$(ProjectDir)\\resources\\npchrome_frame.dll.manifest',
918 # To enable the coverage targets, do
919 # GYP_DEFINES='coverage=1' gclient sync
923 # Coverage BUILD AND RUN.
924 # Not named coverage_build_and_run for historical reasons.
925 'target_name': 'gcf_coverage',
926 'dependencies': [ 'gcf_coverage_build', 'gcf_coverage_run' ],
927 # do NOT place this in the 'all' list; most won't want it.
928 'suppress_wildcard': 1,
932 'message': 'Coverage is now complete.',
933 # MSVS must have an input file and an output file.
934 'inputs': [ '<(PRODUCT_DIR)/gcf_coverage.info' ],
935 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage-build-and-run.stamp' ],
936 'action_name': 'gcf_coverage',
937 # Wish gyp had some basic builtin commands (e.g. 'touch').
938 'action': [ 'python', '-c',
941 '\'<(PRODUCT_DIR)\' + os.path.sep + ' \
942 '\'gcf_coverage-build-and-run.stamp\'' \
943 ', \'w\').close()' ],
944 # Use outputs of this action as inputs for the main target build.
945 # Seems as a misnomer but makes this happy on Linux (scons).
946 'process_outputs_as_sources': 1,
950 # Coverage BUILD. Compile only; does not run the bundles.
951 # Intended as the build phase for our coverage bots.
953 # Builds unit test bundles needed for coverage.
954 # Outputs this list of bundles into coverage_bundles.py.
956 # If you want to both build and run coverage from your IDE,
957 # use the 'coverage' target.
959 'target_name': 'gcf_coverage_build',
960 'suppress_wildcard': 1,
963 # Some tests are disabled because they depend on browser.lib which
964 # has some trouble to link with instrumentation. Until this is
965 # fixed on the Chrome side we won't get complete coverage from
966 # our tests but we at least get the process rolling...
967 # TODO(mad): FIX THIS!
968 #'chrome_frame_net_tests',
969 #'chrome_frame_reliability_tests',
971 # Other tests depend on Chrome bins being available when they run.
972 # Those should be re-enabled as soon as we setup the build slave to
973 # also build (or download an archive of) Chrome, even it it isn't
974 # instrumented itself.
975 # TODO(mad): FIX THIS!
976 #'chrome_frame_perftests',
977 #'chrome_frame_tests',
979 'chrome_frame_unittests',
984 # Technically I want inputs to be the list of
985 # executables created in <@(_dependencies) but use of
986 # that variable lists the dep by dep name, not their
987 # output executable name.
988 # Is there a better way to force this action to run, always?
990 # If a test bundle is added to this coverage_build target it
991 # necessarily means this file (chrome_frame.gyp) is changed,
992 # so the action is run (coverage_bundles.py is generated).
993 # Exceptions to that rule are theoretically possible
994 # (e.g. re-gyp with a GYP_DEFINES set).
995 # Else it's the same list of bundles as last time. They are
996 # built (since on the deps list) but the action may not run.
997 # For now, things work, but it's less than ideal.
998 'inputs': [ 'chrome_frame.gyp' ],
999 'outputs': [ '<(PRODUCT_DIR)/coverage_bundles.py' ],
1000 'action_name': 'gcf_coverage_build',
1001 'action': [ 'python', '-c',
1004 '\'<(PRODUCT_DIR)\' + os.path.sep + ' \
1005 '\'coverage_bundles.py\'' \
1008 '<@(_dependencies)' \
1009 '\'.split(\' \'); ' \
1010 'f.write(str(deplist)); ' \
1012 # Use outputs of this action as inputs for the main target build.
1013 # Seems as a misnomer but makes this happy on Linux (scons).
1014 'process_outputs_as_sources': 1,
1018 # Coverage RUN. Does not actually compile the bundles (though it
1019 # depends on the gcf_coverage_build step which will do it).
1020 # This target mirrors the run_coverage_bundles buildbot phase.
1021 # If you update this command update the mirror in
1022 # $BUILDBOT/scripts/master/factory/chromium_commands.py.
1023 # If you want both build and run, use the 'gcf_coverage' target which
1024 # adds a bit more magic to identify if we need to run or not.
1026 'target_name': 'gcf_coverage_run',
1027 'dependencies': [ 'gcf_coverage_build' ],
1028 'suppress_wildcard': 1,
1032 # MSVS must have an input file and an output file.
1033 'inputs': [ '<(PRODUCT_DIR)/coverage_bundles.py' ],
1034 'outputs': [ '<(PRODUCT_DIR)/coverage.info' ],
1035 'action_name': 'gcf_coverage_run',
1036 'action': [ 'python',
1037 '../tools/code_coverage/coverage_posix.py',
1043 '<(PRODUCT_DIR)/coverage_bundles.py',
1045 # Use outputs of this action as inputs for the main target build.
1046 # Seems as a misnomer but makes this happy on Linux (scons).
1047 'process_outputs_as_sources': 1,
1052 }, ], # 'coverage!=0'