Update expectations after WebKit roll.
[chromium-blink-merge.git] / chrome_frame / chrome_frame.gyp
blob651658191c68f31ece5b457e42a8ad9fd7a18a7f
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.
6   'variables': {
7     'chromium_code': 1,
8     'xul_sdk_dir': '../third_party/xulrunner-sdk/<(OS)',
10     # Keep the archive builder happy.
11     'chrome_personalization%': 1,
12     'use_syncapi_stub%': 0,
14     # Deps info.
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',
23     ],  
24     'conditions': [
25       ['OS=="win"', {
26         'python': [
27           '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python'
28         ],
29       }, { # OS != win
30         'python': [
31           'python'
32         ],
33       }],
34     ],
35   },
36   'includes': [
37     '../build/common.gypi',
38   ],
39   'target_defaults': {
40     'dependencies': [
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',
46     ],
47     'include_dirs': [
48       # all our own includes are relative to src/
49       '..',
50     ],
51   },
52   'targets': [
53     {
54       # TODO(slightlyoff): de-win23-ify
55       'target_name': 'xulrunner_sdk',
56       'type': 'none',
57       'conditions': [
58         ['OS=="win"', {
59           'direct_dependent_settings': {
60             'include_dirs': [
61               '<@(xul_include_directories)',
62             ],
63             'libraries': [
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',
67             ],
68           },
69         },],
70       ],
71     },
72     {
73       # TODO(slightlyoff): de-win32-ify
74       #
75       # build the base_noicu.lib.
76       'target_name': 'base_noicu',
77       'type': 'none',
78       'dependencies': [
79         '../base/base.gyp:base',
80       ],
81       'actions': [
82         {
83           'action_name': 'combine_libs',
84           'msvs_cygwin_shell': 0,
85           'inputs': [
86             '<(PRODUCT_DIR)/lib/base.lib',
87           ],
88           'outputs': [
89             '<(PRODUCT_DIR)/lib/base_noicu.lib',
90           ],
91           'action': [
92             '<@(python)',
93             'combine_libs.py',
94             '-o', '<@(_outputs)',
95             '-r (icu_|_icu.obj)',
96             '<@(_inputs)'],
97         },
98       ],
99       'direct_dependent_settings': {
100         # linker_settings
101         'libraries': [
102           '<(PRODUCT_DIR)/lib/base_noicu.lib',
103         ],
104       },
105     },
106     {
107       'target_name': 'chrome_frame_unittests',
108       'type': 'executable',
109       'msvs_guid': '17D98CCA-0F6A-470F-9DF9-56DC6CC1A0BE',
110       'dependencies': [
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',
120         'base_noicu',
121         'chrome_frame_ie',
122         'chrome_frame_npapi',
123         'chrome_frame_strings',
124         'xulrunner_sdk',
125       ],
126       'sources': [
127         'chrome_tab.h',
128         'chrome_tab.idl',
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',
142       ],
143       'include_dirs': [
144         # To allow including "chrome_tab.h"
145         '<(INTERMEDIATE_DIR)',
146       ],
147       'resource_include_dirs': [
148         '<(INTERMEDIATE_DIR)',
149         '<(SHARED_INTERMEDIATE_DIR)',
150       ],
151       'conditions': [
152         ['OS=="win"', {
153           'msvs_settings': {
154             'VCLinkerTool': {
155               'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'],
156             },
157           },
158           'dependencies': [
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',
163           ],
164           'configurations': {
165             'Debug_Base': {
166               'msvs_settings': {
167                 'VCLinkerTool': {
168                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
169                 },
170               },
171             },
172           },
173         }],
174       ],
175     },
176     {
177       'target_name': 'chrome_frame_tests',
178       'msvs_guid': '1D25715A-C8CE-4448-AFA3-8515AF22D235',
179       'type': 'executable',
180       'dependencies': [
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',
188         'chrome_frame_ie',
189         'chrome_frame_npapi',
190         'chrome_frame_strings',
191         'npchrome_frame',
192         'xulrunner_sdk',
193       ],
194       'sources': [
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',
221         'chrome_tab.h',
222         'chrome_tab.idl',
223         'com_message_event.cc',
224         'html_utils.cc',
225         'http_negotiate.h',
226         'http_negotiate.cc',
227         'sync_msg_reply_dispatcher.cc',
228         'sync_msg_reply_dispatcher.h',
229         'test_utils.cc',
230         'test_utils.h',
231         'urlmon_upload_data_stream.h',
232         'urlmon_upload_data_stream.cc',
233         'urlmon_url_request.h',
234         'urlmon_url_request.cc',
235         'utils.cc',
236         'utils.h',
237         'vtable_patch_manager.h',
238         'vtable_patch_manager.cc'
239       ],
240       'include_dirs': [
241         '<@(xul_include_directories)',
242         '../chrome/third_party/wtl/include',
243         # To allow including "chrome_tab.h"
244         '<(INTERMEDIATE_DIR)',
245       ],
246       'resource_include_dirs': [
247         '<(INTERMEDIATE_DIR)',
248       ],
249       'conditions': [
250         ['OS=="win"', {
251           'msvs_settings': {
252             'VCLinkerTool': {
253               'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'],
254             },
255           },
256           'dependencies': [
257             '../chrome/chrome.gyp:automation',
258             '../chrome/installer/installer.gyp:installer_util',
259             '../google_update/google_update.gyp:google_update',
260           ]
261         }],
262       ],
263     },
264     {
265       'target_name': 'chrome_frame_perftests',
266       'msvs_guid': '3767888B-76ED-4D2A-B1F5-263CC56A12AA',
267       'type': 'executable',
268       'dependencies': [
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',
279         'npchrome_frame',
280         'xulrunner_sdk',
281       ],
282       'sources': [
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',
289         'chrome_tab.h',
290         'chrome_tab.idl',
291         'html_utils.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',
296         'test_utils.cc',
297         'test_utils.h',
298         'utils.cc',
299         'utils.h',
300       ],
301       'include_dirs': [
302         '<@(xul_include_directories)',
303         '../chrome/third_party/wtl/include',
304         # To allow including "chrome_tab.h"
305         '<(INTERMEDIATE_DIR)',
306       ],
307       'conditions': [
308         ['OS=="win"', {
309           'dependencies': [
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',
315           ],
316           'sources': [
317             '../base/test/test_file_util_win.cc',
318           ]
319         }],
320       ],
321     },
323     {
324       'target_name': 'chrome_frame_net_tests',
325       'msvs_guid': '8FDA8275-0415-4B08-A1DC-C95B0D3708DB',
326       'type': 'executable',
327       'dependencies': [
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',
339         'npchrome_frame',
340       ],
341       'sources': [
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',
360         'chrome_tab.h',
361         'chrome_tab.idl',
362       ],
363       'include_dirs': [
364         # To allow including "chrome_tab.h"
365         '<(INTERMEDIATE_DIR)',
366       ],
367       'conditions': [
368         ['OS=="win"', {
369           'dependencies': [
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',
375           ],
376           'configurations': {
377             'Debug_Base': {
378               'msvs_settings': {
379                 'VCLinkerTool': {
380                   'LinkIncremental': '<(msvs_large_module_debug_link_mode)',
381                 },
382               },
383             },
384           },
385         }],
386       ],
387     },
389     {
390       'target_name': 'chrome_frame_reliability_tests',
391       'type': 'executable',
392       'msvs_guid': 'A1440368-4089-4E14-8864-D84D3C5714A7',
393       'dependencies': [
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',
400         'base_noicu',
401         'chrome_frame_npapi',
402         'chrome_frame_strings',
403       ],
404       'sources': [
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',
411         'test_utils.cc',
412         'test_utils.h',
413         'test/simulate_input.cc',
414         'test/simulate_input.h',
415         'chrome_tab.h',
416         'chrome_tab.idl',
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',
423       ],
424       'include_dirs': [
425         # To allow including "chrome_tab.h"
426         '<(INTERMEDIATE_DIR)',
427       ],
428       'resource_include_dirs': [
429         '<(INTERMEDIATE_DIR)',
430       ],
431       'conditions': [
432         ['OS=="win"', {
433           'dependencies': [
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',
438           ]
439         }],
440       ],
441     },
443     {
444       'target_name': 'chrome_frame_npapi',
445       'type': 'static_library',
446       'dependencies': [
447         'chrome_frame_strings',
448         '../chrome/chrome.gyp:common',
449         'xulrunner_sdk',
450       ],
451       'sources': [
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',
460         'chrome_launcher.h',
461         'ff_30_privilege_check.cc',
462         'ff_privilege_check.h',
463         'html_utils.cc',
464         'html_utils.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',
481         'utils.cc',
482         'utils.h',
483       ],
484     },
485     {
486       'target_name': 'chrome_launcher',
487       'type': 'executable',
488       'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16',
489       'dependencies': [],
490       'sources': [
491         'chrome_launcher_main.cc',
492       ],
493       'msvs_settings': {
494         'VCLinkerTool': {
495           'OutputFile':
496               '$(OutDir)\\servers\\$(ProjectName).exe',
497           # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
498           'SubSystem': '2',
499           # We're going for minimal size, so no standard library (in release
500           # builds).
501           'IgnoreAllDefaultLibraries': "true",
502         },
503         'VCCLCompilerTool': {
504           # Requires standard library, so disable it.
505           'BufferSecurityCheck': "false",
506         },
507       },
508       'configurations': {
509         # Bring back the standard library in debug buidls.
510         'Debug_Base': {
511           'msvs_settings': {
512             'VCLinkerTool': {
513               'IgnoreAllDefaultLibraries': "false",
514             },
515           },
516         },
517       },
518     },
519     {
520       'target_name': 'chrome_frame_strings',
521       'type': 'none',
522       'rules': [
523         {
524           'rule_name': 'grit',
525           'extension': 'grd',
526           'inputs': [
527             '../tools/grit/grit.py',
528           ],
529           'variables': {
530             'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
531           },
532           'outputs': [
533             '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/grit/<(RULE_INPUT_ROOT).h',
534             '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/<(RULE_INPUT_ROOT).pak',
535           ],
536           'action': ['python', '<@(_inputs)', '-i', 
537             '<(RULE_INPUT_PATH)',
538             'build', '-o', '<(grit_out_dir)'
539           ],
540           'message': 'Generating resources from <(RULE_INPUT_PATH)',
541         },
542       ],
543       'sources': [
544         # Localizable resources.
545         'resources/chrome_frame_strings.grd',
546         'resources/chrome_frame_resources.grd',
547       ],
548       'direct_dependent_settings': {
549         'include_dirs': [
550           '<(SHARED_INTERMEDIATE_DIR)/chrome_frame',
551         ],
552       },
553       'conditions': [
554         ['OS=="win"', {
555           'dependencies': ['../build/win/system.gyp:cygwin'],
556         }],
557       ],
558     },
559     {
560       'target_name': 'chrome_frame_ie',
561       'type': 'static_library',
562       'dependencies': [
563         'chrome_frame_strings',
564         '../chrome/chrome.gyp:common',
565         '../chrome/chrome.gyp:utility',
566         '../build/temp_gyp/googleurl.gyp:googleurl',
568       ],
569       'sources': [
570         'bho.cc',
571         'bho.h',
572         'bho.rgs',
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',
585         'chrome_protocol.h',
586         'chrome_protocol.rgs',
587         'chrome_tab.h',
588         'chrome_tab.idl',
589         'com_message_event.cc',
590         'com_message_event.h',
591         'com_type_info_holder.cc',
592         'com_type_info_holder.h',
593         'find_dialog.cc',
594         'find_dialog.h',
595         'function_stub.h',
596         'http_negotiate.h',
597         'http_negotiate.cc',
598         'in_place_menu.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',
612       ],
613       'include_dirs': [
614         # To allow including "chrome_tab.h"
615         '<(INTERMEDIATE_DIR)',
616         '<(INTERMEDIATE_DIR)/../chrome_frame',
617       ],
618       'conditions': [
619         ['OS=="win"', {
620           # NOTE(slightlyoff):
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)'
625           ],
626           'dependencies': [
627             '../breakpad/breakpad.gyp:breakpad_handler',
628             '../chrome/chrome.gyp:automation',
629             # Make the archive build happy.
630             '../chrome/chrome.gyp:syncapi',
631             # Installer
632             '../chrome/installer/installer.gyp:installer_util',
633             '../google_update/google_update.gyp:google_update',
634             # Crash Reporting
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',
638           ],
639         },],
640       ],
641     },
642     {
643       'target_name': 'npchrome_frame',
644       'type': 'shared_library',
645       'msvs_guid': 'E3DE7E63-D3B6-4A9F-BCC4-5C8169E9C9F2',
646       'dependencies': [
647         'base_noicu',
648         'chrome_frame_ie',
649         'chrome_frame_npapi',
650         'chrome_frame_strings',
651         'chrome_launcher',
652         'xulrunner_sdk',
653         '../chrome/chrome.gyp:common',
654         '../chrome/chrome.gyp:utility',
655         '../build/temp_gyp/googleurl.gyp:googleurl',
656       ],
657       'sources': [
658         'chrome_frame_npapi.rgs',
659         'chrome_frame_npapi_entrypoints.cc',
660         'chrome_frame_npapi_entrypoints.h',
661         'chrome_tab.cc',
662         'chrome_tab.def',
663         'chrome_tab.h',
664         'chrome_tab.idl',
665         # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can
666         #   figure out something more gyp-ish.
667         'resources/tlb_resource.rc',
668         'chrome_tab.rgs',
669         'chrome_tab_version.rc.version',
670         'iids.cc',
671         'resource.h',
672       ],
673       'include_dirs': [
674         # To allow including "chrome_tab.h"
675         '<(INTERMEDIATE_DIR)',
676         '<(INTERMEDIATE_DIR)/../chrome_frame',
677       ],
678       'conditions': [
679         ['OS=="win"', {
680           # NOTE(slightlyoff):
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)'
685           ],
686           'sources': [
687             '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_resources.rc',
688             '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_strings.rc',
689           ],
690           'dependencies': [
691             '../breakpad/breakpad.gyp:breakpad_handler',
692             '../chrome/chrome.gyp:automation',
693             # Make the archive build happy.
694             '../chrome/chrome.gyp:syncapi',
695             # Installer
696             '../chrome/installer/installer.gyp:installer_util',
697             '../google_update/google_update.gyp:google_update',
698             # Crash Reporting
699             'crash_reporting/crash_reporting.gyp:crash_report',
700             'crash_reporting/crash_reporting.gyp:vectored_handler_tests',
701           ],
702           'msvs_settings': {
703             'VCLinkerTool': {
704               'OutputFile':
705                   '$(OutDir)\\servers\\$(ProjectName).dll',
706               'DelayLoadDLLs': ['xpcom.dll', 'nspr4.dll'],
707               'BaseAddress': '0x33000000',
708               # Set /SUBSYSTEM:WINDOWS (for consistency).
709               'SubSystem': '2',
710             },
711           },
712         }],
713       ],
714       'rules': [
715         # Borrowed from chrome.gyp:chrome_dll_version, branding references
716         # removed
717         {
718           'rule_name': 'version',
719           'extension': 'version',
720           'variables': {
721             'version_py': '../chrome/tools/build/version.py',
722             'version_path': '../chrome/VERSION',
723             'template_input_path': 'chrome_tab_version.rc.version',
724           },
725           'inputs': [
726             '<(template_input_path)',
727             '<(version_path)',
728           ],
729           'outputs': [
730             '<(INTERMEDIATE_DIR)/chrome_tab_version.rc',
731           ],
732           'action': [
733             'python',
734             '<(version_py)',
735             '-f', '<(version_path)',
736             '<(template_input_path)',
737             '<@(_outputs)',
738           ],
739           'process_outputs_as_sources': 1,
740           'message': 'Generating version information in <(_outputs)'
741         },
742       ],
743     },
744   ],
747 # vim: shiftwidth=2:et:ai:tabstop=2
749 # Local Variables:
750 # tab-width:2
751 # indent-tabs-mode:nil
752 # End:
753 # vim: set expandtab tabstop=2 shiftwidth=2: