1 # Copyright (c) 2009 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.
8 'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)',
10 # Keep the archive builder happy.
11 'chrome_personalization%': 1,
12 'use_syncapi_stub%': 0,
15 'xul_include_directories': [
16 '<(xul_sdk_dir)/include/caps',
17 '<(xul_sdk_dir)/include/dom',
18 '<(xul_sdk_dir)/include/js',
19 '<(xul_sdk_dir)/include/nspr',
20 '<(xul_sdk_dir)/include/string',
21 '<(xul_sdk_dir)/include/xpcom',
22 '<(xul_sdk_dir)/include/xpconnect',
27 '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python'
37 '../build/common.gypi',
41 '../chrome/chrome.gyp:chrome_resources',
42 '../chrome/chrome.gyp:chrome_strings',
43 '../chrome/chrome.gyp:theme_resources',
44 '../skia/skia.gyp:skia',
45 '../third_party/npapi/npapi.gyp:npapi',
48 # all our own includes are relative to src/
54 # TODO(slightlyoff): de-win23-ify
55 'target_name': 'xulrunner_sdk',
59 'direct_dependent_settings': {
61 '<@(xul_include_directories)',
64 '../third_party/xulrunner-sdk/win/lib/xpcomglue_s.lib',
65 '../third_party/xulrunner-sdk/win/lib/xpcom.lib',
66 '../third_party/xulrunner-sdk/win/lib/nspr4.lib',
73 # TODO(slightlyoff): de-win32-ify
75 # build the base_noicu.lib.
76 'target_name': 'base_noicu',
79 '../base/base.gyp:base',
83 'action_name': 'combine_libs',
84 'msvs_cygwin_shell': 0,
86 '<(PRODUCT_DIR)/lib/base.lib',
89 '<(PRODUCT_DIR)/lib/base_noicu.lib',
99 'direct_dependent_settings': {
102 '<(PRODUCT_DIR)/lib/base_noicu.lib',
107 'target_name': 'chrome_frame_unittests',
108 'type': 'executable',
109 'msvs_guid': '17D98CCA-0F6A-470F-9DF9-56DC6CC1A0BE',
111 '../build/temp_gyp/googleurl.gyp:googleurl',
112 '../chrome/chrome.gyp:browser',
113 '../chrome/chrome.gyp:common',
114 '../chrome/chrome.gyp:debugger',
115 '../chrome/chrome.gyp:nacl',
116 '../chrome/chrome.gyp:renderer',
117 '../chrome/chrome.gyp:utility',
118 '../testing/gmock.gyp:gmock',
119 '../testing/gtest.gyp:gtest',
122 'chrome_frame_npapi',
123 'chrome_frame_strings',
129 'chrome_frame_npapi_unittest.cc',
130 'chrome_frame_unittest_main.cc',
131 'chrome_launcher_unittest.cc',
132 'test/com_message_event_unittest.cc',
133 'test/html_util_unittests.cc',
134 'test/http_negotiate_unittest.cc',
135 'test/util_unittests.cc',
136 'unittest_precompile.h',
137 'unittest_precompile.cc',
138 'urlmon_upload_data_stream.cc',
139 'urlmon_upload_data_stream_unittest.cc',
140 'chrome_frame_histograms.h',
141 'chrome_frame_histograms.cc',
144 # To allow including "chrome_tab.h"
145 '<(INTERMEDIATE_DIR)',
147 'resource_include_dirs': [
148 '<(INTERMEDIATE_DIR)',
149 '<(SHARED_INTERMEDIATE_DIR)',
155 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'],
159 # TODO(slightlyoff): Get automation targets working on OS X
160 '../chrome/chrome.gyp:automation',
161 '../chrome/installer/installer.gyp:installer_util',
162 '../google_update/google_update.gyp:google_update',
168 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
177 'target_name': 'chrome_frame_tests',
178 'msvs_guid': '1D25715A-C8CE-4448-AFA3-8515AF22D235',
179 'type': 'executable',
181 '../build/temp_gyp/googleurl.gyp:googleurl',
182 '../chrome/chrome.gyp:common',
183 '../chrome/chrome.gyp:utility',
184 '../testing/gmock.gyp:gmock',
185 '../testing/gtest.gyp:gtest',
186 '../third_party/libxml/libxml.gyp:libxml',
187 '../third_party/libxslt/libxslt.gyp:libxslt',
189 'chrome_frame_npapi',
190 'chrome_frame_strings',
195 '../base/test_suite.h',
196 'test/automation_client_mock.cc',
197 'test/automation_client_mock.h',
198 'test/chrome_frame_test_utils.cc',
199 'test/chrome_frame_test_utils.h',
200 'test/chrome_frame_automation_mock.cc',
201 'test/chrome_frame_automation_mock.h',
202 'test/function_stub_unittest.cc',
203 'test/http_server.cc',
204 'test/http_server.h',
205 'test/proxy_factory_mock.cc',
206 'test/proxy_factory_mock.h',
207 'test/run_all_unittests.cc',
208 'test/simulate_input.cc',
209 'test/simulate_input.h',
210 'test/test_mock_with_web_server.cc',
211 'test/test_mock_with_web_server.h',
212 'test/test_server.cc',
213 'test/test_server.h',
214 'test/test_server_test.cc',
215 'test/test_with_web_server.cc',
216 'test/test_with_web_server.h',
217 'test/url_request_test.cc',
218 'chrome_frame_automation.cc',
219 'chrome_frame_histograms.h',
220 'chrome_frame_histograms.cc',
223 'com_message_event.cc',
227 'sync_msg_reply_dispatcher.cc',
228 'sync_msg_reply_dispatcher.h',
231 'urlmon_upload_data_stream.h',
232 'urlmon_upload_data_stream.cc',
233 'urlmon_url_request.h',
234 'urlmon_url_request.cc',
237 'vtable_patch_manager.h',
238 'vtable_patch_manager.cc'
241 '<@(xul_include_directories)',
242 '../chrome/third_party/wtl/include',
243 # To allow including "chrome_tab.h"
244 '<(INTERMEDIATE_DIR)',
246 'resource_include_dirs': [
247 '<(INTERMEDIATE_DIR)',
253 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'],
257 '../chrome/chrome.gyp:automation',
258 '../chrome/installer/installer.gyp:installer_util',
259 '../google_update/google_update.gyp:google_update',
265 'target_name': 'chrome_frame_perftests',
266 'msvs_guid': '3767888B-76ED-4D2A-B1F5-263CC56A12AA',
267 'type': 'executable',
269 '../base/base.gyp:base_i18n',
270 '../base/base.gyp:test_support_base',
271 '../build/temp_gyp/googleurl.gyp:googleurl',
272 '../chrome/chrome.gyp:common',
273 '../chrome/chrome.gyp:utility',
274 '../testing/gmock.gyp:gmock',
275 '../testing/gtest.gyp:gtest',
276 '../third_party/libxml/libxml.gyp:libxml',
277 '../third_party/libxslt/libxslt.gyp:libxslt',
278 'chrome_frame_strings',
283 '../base/perf_test_suite.h',
284 '../base/perftimer.cc',
285 '../base/test/test_file_util.h',
286 '../chrome/test/chrome_process_util.cc',
287 '../chrome/test/chrome_process_util.h',
288 '../chrome/test/ui/ui_test.cc',
292 'test/perf/chrome_frame_perftest.cc',
293 'test/perf/chrome_frame_perftest.h',
294 'test/perf/run_all.cc',
295 'test/perf/silverlight.cc',
302 '<@(xul_include_directories)',
303 '../chrome/third_party/wtl/include',
304 # To allow including "chrome_tab.h"
305 '<(INTERMEDIATE_DIR)',
310 '../chrome/chrome.gyp:automation',
311 '../breakpad/breakpad.gyp:breakpad_handler',
312 '../chrome/installer/installer.gyp:installer_util',
313 '../google_update/google_update.gyp:google_update',
314 '../chrome/installer/installer.gyp:installer_util',
317 '../base/test/test_file_util_win.cc',
324 'target_name': 'chrome_frame_net_tests',
325 'msvs_guid': '8FDA8275-0415-4B08-A1DC-C95B0D3708DB',
326 'type': 'executable',
328 '../base/base.gyp:test_support_base',
329 '../chrome/chrome.gyp:browser',
330 '../chrome/chrome.gyp:chrome_resources',
331 '../chrome/chrome.gyp:debugger',
332 '../chrome/chrome.gyp:renderer',
333 '../chrome/chrome.gyp:syncapi',
334 '../skia/skia.gyp:skia',
335 '../testing/gtest.gyp:gtest',
336 '../third_party/icu/icu.gyp:icui18n',
337 '../third_party/icu/icu.gyp:icuuc',
338 'chrome_frame_npapi',
342 '../net/url_request/url_request_unittest.cc',
343 '../net/url_request/url_request_unittest.h',
344 'test/chrome_frame_test_utils.cc',
345 'test/chrome_frame_test_utils.h',
346 'test/simulate_input.cc',
347 'test/simulate_input.h',
348 'test/test_server.cc',
349 'test/test_server.h',
350 'test/net/dialog_watchdog.cc',
351 'test/net/dialog_watchdog.h',
352 'test/net/fake_external_tab.cc',
353 'test/net/fake_external_tab.h',
354 'test/net/process_singleton_subclass.cc',
355 'test/net/process_singleton_subclass.h',
356 'test/net/test_automation_provider.cc',
357 'test/net/test_automation_provider.h',
358 'test/net/test_automation_resource_message_filter.cc',
359 'test/net/test_automation_resource_message_filter.h',
364 # To allow including "chrome_tab.h"
365 '<(INTERMEDIATE_DIR)',
370 '../breakpad/breakpad.gyp:breakpad_handler',
371 '../chrome/chrome.gyp:automation',
372 '../chrome/chrome.gyp:chrome_dll_version',
373 '../chrome/installer/installer.gyp:installer_util',
374 '../google_update/google_update.gyp:google_update',
380 'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
390 'target_name': 'chrome_frame_reliability_tests',
391 'type': 'executable',
392 'msvs_guid': 'A1440368-4089-4E14-8864-D84D3C5714A7',
394 '../build/temp_gyp/googleurl.gyp:googleurl',
395 '../chrome/chrome.gyp:browser',
396 '../chrome/chrome.gyp:common',
397 '../chrome/chrome.gyp:utility',
398 '../testing/gtest.gyp:gtest',
399 '../base/allocator/allocator.gyp:allocator',
401 'chrome_frame_npapi',
402 'chrome_frame_strings',
405 'test/reliability/run_all_unittests.cc',
406 'test/reliability/page_load_test.cc',
407 'test/reliability/page_load_test.h',
408 'test/reliability/reliability_test_suite.h',
409 'test/chrome_frame_test_utils.cc',
410 'test/chrome_frame_test_utils.h',
413 'test/simulate_input.cc',
414 'test/simulate_input.h',
417 '../base/test/test_file_util_win.cc',
418 '../chrome/test/ui/ui_test.cc',
419 '../chrome/test/ui/ui_test_suite.cc',
420 '../chrome/test/ui/ui_test_suite.h',
421 '../chrome/test/chrome_process_util.cc',
422 '../chrome/test/chrome_process_util.h',
425 # To allow including "chrome_tab.h"
426 '<(INTERMEDIATE_DIR)',
428 'resource_include_dirs': [
429 '<(INTERMEDIATE_DIR)',
434 # TODO(slightlyoff): Get automation targets working on OS X
435 '../chrome/chrome.gyp:automation',
436 '../chrome/installer/installer.gyp:installer_util',
437 '../google_update/google_update.gyp:google_update',
444 'target_name': 'chrome_frame_npapi',
445 'type': 'static_library',
447 'chrome_frame_strings',
448 '../chrome/chrome.gyp:common',
452 'chrome_frame_automation.cc',
453 'chrome_frame_automation.h',
454 'chrome_frame_delegate.cc',
455 'chrome_frame_delegate.h',
456 'chrome_frame_plugin.h',
457 'chrome_frame_npapi.cc',
458 'chrome_frame_npapi.h',
459 'chrome_launcher.cc',
461 'ff_30_privilege_check.cc',
462 'ff_privilege_check.h',
465 'np_browser_functions.cc',
466 'np_browser_functions.h',
467 'np_event_listener.cc',
468 'np_event_listener.h',
469 'np_proxy_service.cc',
470 'np_proxy_service.h',
471 'npapi_url_request.cc',
472 'npapi_url_request.h',
473 'ns_associate_iid_win.h',
474 'ns_isupports_impl.h',
475 'plugin_url_request.cc',
476 'plugin_url_request.h',
477 'scoped_ns_ptr_win.h',
478 'script_security_manager.h',
479 'sync_msg_reply_dispatcher.cc',
480 'sync_msg_reply_dispatcher.h',
486 'target_name': 'chrome_launcher',
487 'type': 'executable',
488 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16',
491 'chrome_launcher_main.cc',
496 '$(OutDir)\\servers\\$(ProjectName).exe',
497 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
499 # We're going for minimal size, so no standard library (in release
501 'IgnoreAllDefaultLibraries': "true",
503 'VCCLCompilerTool': {
504 # Requires standard library, so disable it.
505 'BufferSecurityCheck': "false",
509 # Bring back the standard library in debug buidls.
513 'IgnoreAllDefaultLibraries': "false",
520 'target_name': 'chrome_frame_strings',
527 '../tools/grit/grit.py',
530 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
533 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/grit/<(RULE_INPUT_ROOT).h',
534 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/<(RULE_INPUT_ROOT).pak',
536 'action': ['python', '<@(_inputs)', '-i',
537 '<(RULE_INPUT_PATH)',
538 'build', '-o', '<(grit_out_dir)'
540 'message': 'Generating resources from <(RULE_INPUT_PATH)',
544 # Localizable resources.
545 'resources/chrome_frame_strings.grd',
546 'resources/chrome_frame_resources.grd',
548 'direct_dependent_settings': {
550 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
555 'dependencies': ['../build/win/system.gyp:cygwin'],
560 'target_name': 'chrome_frame_ie',
561 'type': 'static_library',
563 'chrome_frame_strings',
564 '../chrome/chrome.gyp:common',
565 '../chrome/chrome.gyp:utility',
566 '../build/temp_gyp/googleurl.gyp:googleurl',
573 'chrome_active_document.cc',
574 'chrome_active_document.h',
575 'chrome_active_document.rgs',
576 'chrome_frame_activex.cc',
577 'chrome_frame_activex.h',
578 'chrome_frame_activex_base.h',
579 'chrome_frame_activex.rgs',
580 'chrome_frame_histograms.h',
581 'chrome_frame_histograms.cc',
582 'chrome_frame_reporting.cc',
583 'chrome_frame_reporting.h',
584 'chrome_protocol.cc',
586 'chrome_protocol.rgs',
589 'com_message_event.cc',
590 'com_message_event.h',
591 'com_type_info_holder.cc',
592 'com_type_info_holder.h',
599 'ole_document_impl.h',
600 'protocol_sink_wrap.cc',
601 'protocol_sink_wrap.h',
602 'sync_msg_reply_dispatcher.cc',
603 'sync_msg_reply_dispatcher.h',
604 'extra_system_apis.h',
605 'urlmon_url_request.cc',
606 'urlmon_url_request.h',
607 'urlmon_url_request_private.h',
608 'urlmon_upload_data_stream.cc',
609 'urlmon_upload_data_stream.h',
610 'vtable_patch_manager.cc',
611 'vtable_patch_manager.h',
614 # To allow including "chrome_tab.h"
615 '<(INTERMEDIATE_DIR)',
616 '<(INTERMEDIATE_DIR)/../chrome_frame',
621 # this is a fix for the include dirs length limit on the resource
622 # compiler, tickled by the xul_include_dirs variable
623 'resource_include_dirs': [
624 '<(INTERMEDIATE_DIR)'
627 '../breakpad/breakpad.gyp:breakpad_handler',
628 '../chrome/chrome.gyp:automation',
629 # Make the archive build happy.
630 '../chrome/chrome.gyp:syncapi',
632 '../chrome/installer/installer.gyp:installer_util',
633 '../google_update/google_update.gyp:google_update',
635 'crash_reporting/crash_reporting.gyp:crash_report',
636 'crash_reporting/crash_reporting.gyp:minidump_test',
637 'crash_reporting/crash_reporting.gyp:vectored_handler_tests',
643 'target_name': 'npchrome_frame',
644 'type': 'shared_library',
645 'msvs_guid': 'E3DE7E63-D3B6-4A9F-BCC4-5C8169E9C9F2',
649 'chrome_frame_npapi',
650 'chrome_frame_strings',
653 '../chrome/chrome.gyp:common',
654 '../chrome/chrome.gyp:utility',
655 '../build/temp_gyp/googleurl.gyp:googleurl',
658 'chrome_frame_npapi.rgs',
659 'chrome_frame_npapi_entrypoints.cc',
660 'chrome_frame_npapi_entrypoints.h',
665 # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can
666 # figure out something more gyp-ish.
667 'resources/tlb_resource.rc',
669 'chrome_tab_version.rc.version',
674 # To allow including "chrome_tab.h"
675 '<(INTERMEDIATE_DIR)',
676 '<(INTERMEDIATE_DIR)/../chrome_frame',
681 # this is a fix for the include dirs length limit on the resource
682 # compiler, tickled by the xul_include_dirs variable
683 'resource_include_dirs': [
684 '<(INTERMEDIATE_DIR)'
687 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_resources.rc',
688 '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_strings.rc',
691 '../breakpad/breakpad.gyp:breakpad_handler',
692 '../chrome/chrome.gyp:automation',
693 # Make the archive build happy.
694 '../chrome/chrome.gyp:syncapi',
696 '../chrome/installer/installer.gyp:installer_util',
697 '../google_update/google_update.gyp:google_update',
699 'crash_reporting/crash_reporting.gyp:crash_report',
700 'crash_reporting/crash_reporting.gyp:vectored_handler_tests',
705 '$(OutDir)\\servers\\$(ProjectName).dll',
706 'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'],
707 'BaseAddress': '0x33000000',
708 # Set /SUBSYSTEM:WINDOWS (for consistency).
715 # Borrowed from chrome.gyp:chrome_dll_version, branding references
718 'rule_name': 'version',
719 'extension': 'version',
721 'version_py': '../chrome/tools/build/version.py',
722 'version_path': '../chrome/VERSION',
723 'template_input_path': 'chrome_tab_version.rc.version',
726 '<(template_input_path)',
730 '<(INTERMEDIATE_DIR)/chrome_tab_version.rc',
735 '-f', '<(version_path)',
736 '<(template_input_path)',
739 'process_outputs_as_sources': 1,
740 'message': 'Generating version information in <(_outputs)'
747 # vim: shiftwidth=2:et:ai:tabstop=2
751 # indent-tabs-mode:nil
753 # vim: set expandtab tabstop=2 shiftwidth=2: