From 679147eead574d186ebf3069647b4c23e8ccace6 Mon Sep 17 00:00:00 2001 From: Zeno Albisser Date: Thu, 15 Aug 2013 21:46:11 +0200 Subject: Initial import. --- chromium/chrome_frame/chrome_frame.gyp | 1101 ++++++++++++++++++++ chromium/chrome_frame/chrome_frame_launcher.gyp | 200 ++++ .../crash_reporting/crash_reporting.gyp | 113 ++ chromium/chrome_frame/locales/locales.gyp | 355 +++++++ 4 files changed, 1769 insertions(+) create mode 100644 chromium/chrome_frame/chrome_frame.gyp create mode 100644 chromium/chrome_frame/chrome_frame_launcher.gyp create mode 100644 chromium/chrome_frame/crash_reporting/crash_reporting.gyp create mode 100644 chromium/chrome_frame/locales/locales.gyp (limited to 'chromium/chrome_frame') diff --git a/chromium/chrome_frame/chrome_frame.gyp b/chromium/chrome_frame/chrome_frame.gyp new file mode 100644 index 00000000000..b495cc0553b --- /dev/null +++ b/chromium/chrome_frame/chrome_frame.gyp @@ -0,0 +1,1101 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + + # Keep the archive builder happy. + 'chrome_personalization%': 1, + 'use_syncapi_stub%': 0, + + 'conditions': [ + ['OS=="win"', { + 'python': [ + '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python' + ], + }, { # OS != win + 'python': [ + 'python' + ], + }], + ], + }, + 'includes': [ + '../build/win_precompile.gypi', + '../chrome/version.gypi', + ], + 'target_defaults': { + 'dependencies': [ + '../chrome/chrome_resources.gyp:chrome_resources', + '../chrome/chrome_resources.gyp:chrome_strings', + '../chrome/chrome_resources.gyp:packed_resources', + '../chrome/chrome_resources.gyp:theme_resources', + '../skia/skia.gyp:skia', + ], + 'defines': [ 'ISOLATION_AWARE_ENABLED=1' ], + 'include_dirs': [ + # all our own includes are relative to src/ + '..', + ], + }, + 'targets': [ + { + 'target_name': 'chrome_frame_version_resources', + 'type': 'none', + 'conditions': [ + ['branding == "Chrome"', { + 'variables': { + 'branding_path': '../chrome/app/theme/google_chrome/BRANDING', + }, + }, { # else branding!="Chrome" + 'variables': { + 'branding_path': '../chrome/app/theme/chromium/BRANDING', + }, + }], + ], + 'variables': { + 'output_dir': 'chrome_frame', + 'template_input_path': 'npchrome_frame_version.rc.version', + 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], + 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above + }, + 'direct_dependent_settings': { + 'include_dirs': [ + '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)', + ], + }, + 'sources': [ + 'npchrome_frame_dll.ver', + ], + 'includes': [ + '../chrome/version_resource_rules.gypi', + ], + }, + { + # Builds the crash tests in crash_reporting. + 'target_name': 'chrome_frame_crash_tests', + 'type': 'none', + 'dependencies': [ + 'crash_reporting/crash_reporting.gyp:minidump_test', + 'crash_reporting/crash_reporting.gyp:vectored_handler_tests', + ], + }, + { + # Builds our IDL file to the shared intermediate directory. + 'target_name': 'chrome_tab_idl', + 'type': 'none', + 'msvs_settings': { + 'VCMIDLTool': { + 'OutputDirectory': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', + }, + }, + 'sources': [ + 'chrome_tab.idl', + ], + # Add the output dir for those who depend on us. + 'direct_dependent_settings': { + 'include_dirs': ['<(SHARED_INTERMEDIATE_DIR)'], + }, + }, + { + 'target_name': 'chrome_frame_unittests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:test_support_base', + '../chrome/app/policy/cloud_policy_codegen.gyp:policy', + '../chrome/chrome.gyp:test_support_common', + '../net/net.gyp:net', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + 'chrome_frame_launcher.gyp:chrome_frame_helper_lib', + 'chrome_frame_ie', + 'chrome_frame_strings', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + ], + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'chrome_frame_unittest_main.cc', + 'chrome_launcher.cc', + 'chrome_launcher.h', + 'chrome_launcher_unittest.cc', + 'function_stub_unittest.cc', + 'scoped_initialization_manager_unittest.cc', + 'test/chrome_tab_mocks.h', + 'test/chrome_frame_test_utils.h', + 'test/chrome_frame_test_utils.cc', + 'test/com_message_event_unittest.cc', + 'test/dll_redirector_test.cc', + 'test/exception_barrier_unittest.cc', + 'test/html_util_unittests.cc', + 'test/http_negotiate_unittest.cc', + 'test/infobar_unittests.cc', + 'test/policy_settings_unittest.cc', + 'test/ready_mode_unittest.cc', + 'test/registry_watcher_unittest.cc', + 'test/simulate_input.h', + 'test/simulate_input.cc', + 'test/urlmon_moniker_tests.h', + 'test/urlmon_moniker_unittest.cc', + 'test/util_unittests.cc', + 'test/win_event_receiver.h', + 'test/win_event_receiver.cc', + 'unittest_precompile.h', + 'unittest_precompile.cc', + 'urlmon_upload_data_stream_unittest.cc', + 'vtable_patch_manager_unittest.cc', + ], + 'include_dirs': [ + '<(DEPTH)/breakpad/src', + ], + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)', + ], + 'conditions': [ + # We can't instrument code for coverage if it depends on 3rd party + # binaries that we don't have PDBs for. See here for more details: + # http://connect.microsoft.com/VisualStudio/feedback/details/176188/can-not-disable-warning-lnk4099 + ['coverage==0', { + 'conditions': [ + ['OS=="win"', { + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + # TODO(slightlyoff): Get automation targets working on OS X + '../chrome/chrome.gyp:automation', + ], + }], + ], + }], + ['OS=="win" and buildtype=="Official"', { + 'configurations': { + 'Release': { + 'msvs_settings': { + 'VCCLCompilerTool': { + 'WholeProgramOptimization': 'false', + }, + }, + }, + }, + },], + ['OS=="win"', { + 'link_settings': { + 'libraries': [ + '-lshdocvw.lib', + '-loleacc.lib', + ], + }, + 'msvs_settings': { + 'VCLinkerTool': { + 'DelayLoadDLLs': ['shdocvw.dll'], + }, + }, + 'dependencies': [ + # TODO(slightlyoff): Get automation targets working on OS X + '../chrome/chrome.gyp:automation', + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + ], + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', + }, + }, + }, + }, + }], + ], + }, + { + 'target_name': 'chrome_frame_tests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:test_support_base', + '../chrome/chrome.gyp:browser', + '../chrome/chrome.gyp:common', + '../chrome/chrome.gyp:debugger', + '../chrome/chrome.gyp:renderer', + '../chrome/chrome.gyp:test_support_common', + '../chrome/chrome.gyp:utility', + '../chrome/installer/upgrade_test.gyp:alternate_version_generator_lib', + '../content/content.gyp:content_gpu', + '../net/net.gyp:net', + '../net/net.gyp:net_test_support', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + '../third_party/iaccessible2/iaccessible2.gyp:IAccessible2Proxy', + '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', + '../third_party/libxslt/libxslt.gyp:libxslt', + '../url/url.gyp:url_lib', + 'chrome_frame_ie', + 'chrome_frame_strings', + 'chrome_frame_utils', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + 'npchrome_frame', + ], + 'sources': [ + '../base/test/test_suite.h', + 'test/automation_client_mock.cc', + 'test/automation_client_mock.h', + 'test/chrome_frame_test_utils.cc', + 'test/chrome_frame_test_utils.h', + 'test/chrome_frame_ui_test_utils.cc', + 'test/chrome_frame_ui_test_utils.h', + 'test/chrome_frame_automation_mock.cc', + 'test/chrome_frame_automation_mock.h', + 'test/delete_chrome_history_test.cc', + 'test/dll_redirector_loading_test.cc', + 'test/header_test.cc', + 'test/ie_configurator.cc', + 'test/ie_configurator.h', + 'test/ie_event_sink.cc', + 'test/ie_event_sink.h', + 'test/mock_ie_event_sink_actions.h', + 'test/mock_ie_event_sink_test.cc', + 'test/mock_ie_event_sink_test.h', + 'test/navigation_test.cc', + 'test/proxy_factory_mock.cc', + 'test/proxy_factory_mock.h', + 'test/run_all_unittests.cc', + 'test/simple_resource_loader_test.cc', + 'test/simulate_input.cc', + 'test/simulate_input.h', + 'test/test_scrubber.cc', + 'test/test_scrubber.h', + 'test/test_server.cc', + 'test/test_server.h', + 'test/test_server_test.cc', + 'test/test_with_web_server.cc', + 'test/test_with_web_server.h', + 'test/ui_test.cc', + 'test/urlmon_moniker_tests.h', + 'test/urlmon_moniker_integration_test.cc', + 'test/url_request_test.cc', + 'test/win_event_receiver.cc', + 'test/win_event_receiver.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_launcher_exe_version.rc', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'test_utils.cc', + 'test_utils.h', + ], + 'include_dirs': [ + '<(DEPTH)/third_party/wtl/include', + '<(DEPTH)/breakpad/src', + ], + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)', + ], + 'conditions': [ + ['OS=="win"', { + 'link_settings': { + 'libraries': [ + '-loleacc.lib', + ], + }, + 'dependencies': [ + '../chrome/chrome.gyp:crash_service', + '../chrome/chrome.gyp:automation', + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + ], + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_debug_link_nonincremental)', + }, + }, + }, + }, + 'conditions': [ + ['win_use_allocator_shim==1', { + 'dependencies': [ + '../base/allocator/allocator.gyp:allocator', + ], + }], + ], + }], + ], + }, + { + 'target_name': 'chrome_frame_perftests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + '../base/base.gyp:base_i18n', + '../base/base.gyp:test_support_base', + '../chrome/chrome.gyp:browser', + '../chrome/chrome.gyp:common', + '../chrome/chrome.gyp:debugger', + '../chrome/chrome.gyp:image_pre_reader', + '../chrome/chrome.gyp:test_support_common', + '../chrome/chrome.gyp:test_support_ui', + '../chrome/chrome.gyp:utility', + '../content/content.gyp:content_gpu', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + '../third_party/libxml/libxml.gyp:libxml', + '../third_party/libxslt/libxslt.gyp:libxslt', + '../url/url.gyp:url_lib', + 'chrome_frame_ie', + 'chrome_frame_strings', + 'chrome_frame_utils', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + 'npchrome_frame', + ], + 'sources': [ + '../base/test/perf_test_suite.h', + '../base/perftimer.cc', + '../base/test/test_file_util.h', + '../chrome/test/base/chrome_process_util.cc', + '../chrome/test/base/chrome_process_util.h', + '../chrome/test/ui/ui_test.cc', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'test/chrome_frame_test_utils.cc', + 'test/chrome_frame_test_utils.h', + 'test/perf/chrome_frame_perftest.cc', + 'test/perf/chrome_frame_perftest.h', + 'test/perf/run_all.cc', + 'test/perf/silverlight.cc', + 'test/simulate_input.cc', + 'test/simulate_input.h', + 'test_utils.cc', + 'test_utils.h', + 'test/win_event_receiver.cc', + 'test/win_event_receiver.h', + ], + 'include_dirs': [ + '<(DEPTH)/third_party/wtl/include', + ], + 'conditions': [ + ['OS=="win"', { + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_debug_link_nonincremental)', + }, + }, + }, + }, + 'link_settings': { + 'libraries': [ + '-loleacc.lib', + ], + }, + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/chrome.gyp:automation', + '../chrome/chrome.gyp:crash_service', + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + ], + 'sources': [ + '../base/test/test_file_util_win.cc', + ] + }], + ], + }, + + { + 'target_name': 'chrome_frame_net_tests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:test_support_base', + '../chrome/chrome.gyp:browser', + '../chrome/chrome.gyp:debugger', + '../chrome/chrome.gyp:renderer', + '../chrome/chrome.gyp:test_support_common', + '../chrome/chrome_resources.gyp:chrome_resources', + '../content/content.gyp:content_app_browser', + '../content/content.gyp:content_gpu', + '../content/content.gyp:test_support_content', + '../net/net.gyp:net', + '../net/net.gyp:net_test_support', + '../skia/skia.gyp:skia', + '../sync/sync.gyp:sync', + '../testing/gtest.gyp:gtest', + '../third_party/icu/icu.gyp:icui18n', + '../third_party/icu/icu.gyp:icuuc', + '../ui/ui.gyp:ui_resources', + 'chrome_frame_ie', + 'chrome_tab_idl', + 'npchrome_frame', + ], + 'include_dirs': [ + '<(DEPTH)/breakpad/src', + ], + 'sources': [ + '../net/url_request/url_request_unittest.cc', + 'test/chrome_frame_test_utils.cc', + 'test/chrome_frame_test_utils.h', + 'test/ie_configurator.cc', + 'test/ie_configurator.h', + 'test/simulate_input.cc', + 'test/simulate_input.h', + 'test/test_server.cc', + 'test/test_server.h', + 'test/win_event_receiver.cc', + 'test/win_event_receiver.h', + 'test/net/fake_external_tab.cc', + 'test/net/fake_external_tab.h', + 'test/net/test_automation_provider.cc', + 'test/net/test_automation_provider.h', + 'test/net/test_automation_resource_message_filter.cc', + 'test/net/test_automation_resource_message_filter.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'test_utils.cc', + 'test_utils.h', + ], + 'conditions': [ + ['OS=="win"', { + 'link_settings': { + 'libraries': [ + '-loleacc.lib', + ], + }, + 'msvs_settings': { + 'VCLinkerTool': { + 'DelayLoadDLLs': ['prntvpt.dll'], + }, + }, + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/chrome.gyp:automation', + '../chrome/chrome.gyp:crash_service', + '../chrome/chrome.gyp:chrome_version_resources', + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + ], + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', + }, + }, + }, + }, + }], + ], + }, + + { + 'target_name': 'chrome_frame_reliability_tests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:base', + '../base/base.gyp:test_support_base', + '../chrome/chrome.gyp:browser', + '../chrome/chrome.gyp:debugger', + '../chrome/chrome.gyp:renderer', + '../chrome/chrome.gyp:test_support_common', + '../content/content.gyp:content_gpu', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + 'chrome_frame_ie', + 'chrome_frame_strings', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + ], + 'sources': [ + 'test/reliability/run_all_unittests.cc', + 'test/reliability/page_load_test.cc', + 'test/reliability/page_load_test.h', + 'test/reliability/reliability_test_suite.h', + 'test/chrome_frame_test_utils.cc', + 'test/chrome_frame_test_utils.h', + 'test/ie_event_sink.cc', + 'test/ie_event_sink.h', + 'test_utils.cc', + 'test_utils.h', + 'test/simulate_input.cc', + 'test/simulate_input.h', + 'test/win_event_receiver.cc', + 'test/win_event_receiver.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + '../base/test/test_file_util_win.cc', + '../chrome/test/automation/proxy_launcher.cc', + '../chrome/test/automation/proxy_launcher.h', + '../chrome/test/base/chrome_process_util.cc', + '../chrome/test/base/chrome_process_util.h', + '../chrome/test/ui/ui_test.cc', + '../chrome/test/ui/ui_test.h', + '../chrome/test/ui/ui_test_suite.cc', + '../chrome/test/ui/ui_test_suite.h', + ], + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)', + ], + 'conditions': [ + ['OS=="win"', { + 'link_settings': { + 'libraries': [ + '-loleacc.lib', + ], + }, + 'dependencies': [ + # TODO(slightlyoff): Get automation targets working on OS X + '../chrome/chrome.gyp:automation', + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + ], + 'configurations': { + 'Debug_Base': { + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', + }, + }, + }, + }, + }], + ], + }, + { + 'target_name': 'chrome_frame_qa_tests', + 'type': 'executable', + 'dependencies': [ + '../base/base.gyp:test_support_base', + '../chrome/chrome.gyp:test_support_common', + '../net/net.gyp:net', + '../net/net.gyp:net_test_support', + '../testing/gmock.gyp:gmock', + '../testing/gtest.gyp:gtest', + '../third_party/iaccessible2/iaccessible2.gyp:iaccessible2', + '../third_party/protobuf/protobuf.gyp:protobuf_lite', + '../url/url.gyp:url_lib', + 'chrome_frame_ie', + 'chrome_frame_strings', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + 'npchrome_frame', + ], + 'sources': [ + '../base/test/test_suite.h', + 'test/chrome_frame_test_utils.cc', + 'test/chrome_frame_test_utils.h', + 'test/chrome_frame_ui_test_utils.cc', + 'test/chrome_frame_ui_test_utils.h', + 'test/external_sites_test.cc', + 'test/ie_configurator.cc', + 'test/ie_configurator.h', + 'test/ie_event_sink.cc', + 'test/ie_event_sink.h', + 'test/mock_ie_event_sink_actions.h', + 'test/mock_ie_event_sink_test.cc', + 'test/mock_ie_event_sink_test.h', + 'test/run_all_unittests.cc', + 'test/simulate_input.cc', + 'test/simulate_input.h', + 'test/test_scrubber.cc', + 'test/test_scrubber.h', + 'test/test_server.cc', + 'test/test_server.h', + 'test/test_with_web_server.cc', + 'test/test_with_web_server.h', + 'test/win_event_receiver.cc', + 'test/win_event_receiver.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'chrome_tab.idl', + 'test_utils.cc', + 'test_utils.h', + ], + 'include_dirs': [ + '<(DEPTH)/third_party/wtl/include', + '<(DEPTH)/breakpad/src', + ], + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)', + ], + 'conditions': [ + ['OS=="win"', { + 'link_settings': { + 'libraries': [ + '-loleacc.lib', + ], + }, + 'dependencies': [ + '../chrome/chrome.gyp:crash_service', + '../chrome/chrome.gyp:automation', + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + ] + }], + ], + }, + { + 'target_name': 'chrome_frame_strings', + 'type': 'none', + 'variables': { + 'grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', + }, + 'actions': [ + { + 'action_name': 'chrome_frame_resources', + 'variables': { + 'grit_grd_file': 'resources/chrome_frame_resources.grd', + }, + 'includes': [ '../build/grit_action.gypi' ], + }, + { + 'action_name': 'chrome_frame_dialogs', + 'variables': { + 'grit_grd_file': 'resources/chrome_frame_dialogs.grd', + }, + 'includes': [ '../build/grit_action.gypi' ], + }, + ], + 'includes': [ '../build/grit_target.gypi' ], + }, + { + 'target_name': 'chrome_frame_utils', + # The intent is that shared util code can be built into a separate lib. + 'type': 'static_library', + 'dependencies': [ + '../base/base.gyp:base_i18n', + '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/chrome.gyp:chrome_version_header', + ], + 'include_dirs': [ + # To allow including "version.h" + # TODO(grt): remove this as per http://crbug.com/99368 + '<(SHARED_INTERMEDIATE_DIR)', + ], + 'sources': [ + 'crash_server_init.cc', + 'crash_server_init.h', + 'simple_resource_loader.cc', + 'simple_resource_loader.h', + ], + }, + { + 'target_name': 'chrome_frame_ie', + 'type': 'static_library', + 'dependencies': [ + '../chrome/app/policy/cloud_policy_codegen.gyp:policy', + '../chrome/chrome.gyp:common', + '../chrome/chrome.gyp:utility', + '../content/content.gyp:content_common', + '../net/net.gyp:net', + '../third_party/libxml/libxml.gyp:libxml', + '../url/url.gyp:url_lib', + '../webkit/common/user_agent/webkit_user_agent.gyp:user_agent', + 'chrome_frame_common', + 'chrome_frame_strings', + 'chrome_frame_utils', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + ], + 'sources': [ + 'bho.cc', + 'bho.h', + 'bho.rgs', + 'bind_context_info.cc', + 'bind_context_info.h', + 'bind_status_callback_impl.cc', + 'bind_status_callback_impl.h', + 'buggy_bho_handling.cc', + 'buggy_bho_handling.h', + 'chrome_active_document.cc', + 'chrome_active_document.h', + 'chrome_active_document.rgs', + 'chrome_frame_activex.cc', + 'chrome_frame_activex.h', + 'chrome_frame_activex.rgs', + 'chrome_frame_activex_base.h', + 'chrome_protocol.cc', + 'chrome_protocol.h', + 'chrome_protocol.rgs', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'com_message_event.cc', + 'com_message_event.h', + 'com_type_info_holder.cc', + 'com_type_info_holder.h', + 'delete_chrome_history.cc', + 'delete_chrome_history.h', + 'dll_redirector.cc', + 'dll_redirector.h', + 'exception_barrier.cc', + 'exception_barrier.h', + 'exception_barrier_lowlevel.asm', + 'extra_system_apis.h', + 'find_dialog.cc', + 'find_dialog.h', + 'function_stub.cc', + 'function_stub.h', + 'html_utils.h', + 'html_utils.cc', + 'http_negotiate.cc', + 'http_negotiate.h', + 'iids.cc', + 'infobars/infobar_content.h', + 'infobars/internal/displaced_window_manager.cc', + 'infobars/internal/displaced_window_manager.h', + 'infobars/internal/host_window_manager.cc', + 'infobars/internal/host_window_manager.h', + 'infobars/internal/infobar_window.cc', + 'infobars/internal/infobar_window.h', + 'infobars/internal/subclassing_window_with_delegate.h', + 'infobars/infobar_manager.h', + 'infobars/infobar_manager.cc', + 'metrics_service.cc', + 'metrics_service.h', + 'pin_module.cc', + 'pin_module.h', + 'policy_settings.cc', + 'policy_settings.h', + 'protocol_sink_wrap.cc', + 'protocol_sink_wrap.h', + 'ready_mode/internal/ready_mode_state.h', + 'ready_mode/internal/ready_mode_web_browser_adapter.cc', + 'ready_mode/internal/ready_mode_web_browser_adapter.h', + 'ready_mode/internal/ready_prompt_content.cc', + 'ready_mode/internal/ready_prompt_content.h', + 'ready_mode/internal/ready_prompt_window.cc', + 'ready_mode/internal/ready_prompt_window.h', + 'ready_mode/internal/registry_ready_mode_state.cc', + 'ready_mode/internal/registry_ready_mode_state.h', + 'ready_mode/internal/url_launcher.h', + 'ready_mode/ready_mode.cc', + 'ready_mode/ready_mode.h', + 'register_bho.rgs', + 'registry_list_preferences_holder.cc', + 'registry_list_preferences_holder.h', + 'stream_impl.cc', + 'stream_impl.h', + 'turndown_prompt/reshow_state.cc', + 'turndown_prompt/reshow_state.h', + 'turndown_prompt/turndown_prompt.cc', + 'turndown_prompt/turndown_prompt.h', + 'turndown_prompt/turndown_prompt_content.cc', + 'turndown_prompt/turndown_prompt_content.h', + 'turndown_prompt/turndown_prompt_window.cc', + 'turndown_prompt/turndown_prompt_window.h', + 'urlmon_bind_status_callback.h', + 'urlmon_bind_status_callback.cc', + 'urlmon_moniker.h', + 'urlmon_moniker.cc', + 'urlmon_url_request.cc', + 'urlmon_url_request.h', + 'urlmon_url_request_private.h', + 'urlmon_upload_data_stream.cc', + 'urlmon_upload_data_stream.h', + 'utils.h', + 'utils.cc', + 'vtable_patch_manager.cc', + 'vtable_patch_manager.h', + '../third_party/active_doc/in_place_menu.h', + '../third_party/active_doc/ole_document_impl.h', + ], + 'include_dirs': [ + '<(DEPTH)/third_party/wtl/include', + ], + 'conditions': [ + ['OS=="win"', { + # NOTE(slightlyoff): + # this is a fix for the include dirs length limit on the resource + # compiler, tickled by the xul_include_dirs variable + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)' + ], + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/chrome.gyp:automation', + # Installer + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + # Make the archive build happy. + '../sync/sync.gyp:sync', + # Crash Reporting + 'crash_reporting/crash_reporting.gyp:crash_report', + ], + 'link_settings': { + 'libraries': ['-lurlmon.lib'], + }, + },], + ], + 'rules': [ + { + 'rule_name': 'Assemble', + 'extension': 'asm', + 'inputs': [], + 'outputs': [ + '<(INTERMEDIATE_DIR)/<(RULE_INPUT_ROOT).obj', + ], + 'action': [ + 'ml', + '/safeseh', + '/Fo', '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj', + '/c', '<(RULE_INPUT_PATH)', + ], + 'process_outputs_as_sources': 1, + 'message': + 'Assembling <(RULE_INPUT_PATH) to ' \ + '<(INTERMEDIATE_DIR)\<(RULE_INPUT_ROOT).obj.', + }, + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'AdditionalOptions': [ + '/safeseh', + ], + }, + }, + }, + { + 'target_name': 'chrome_frame_common', + 'type': 'static_library', + 'sources': [ + 'chrome_frame_automation.h', + 'chrome_frame_automation.cc', + 'chrome_frame_delegate.h', + 'chrome_frame_delegate.cc', + 'chrome_frame_plugin.cc', + 'chrome_frame_plugin.h', + 'chrome_launcher_utils.cc', + 'chrome_launcher_utils.h', + 'custom_sync_call_context.cc', + 'custom_sync_call_context.h', + 'navigation_constraints.h', + 'navigation_constraints.cc', + 'plugin_url_request.h', + 'plugin_url_request.cc', + 'sync_msg_reply_dispatcher.h', + 'sync_msg_reply_dispatcher.cc', + 'task_marshaller.h', + 'task_marshaller.cc', + ], + 'dependencies': [ + '../base/base.gyp:base', + '../net/net.gyp:net', + ], + 'export_dependent_settings': [ + '../base/base.gyp:base', + ], + }, + { + 'target_name': 'npchrome_frame', + 'type': 'shared_library', + 'dependencies': [ + '../base/base.gyp:base', + '../chrome/chrome.gyp:chrome', + '../chrome/chrome.gyp:chrome_dll', + '../chrome/chrome.gyp:chrome_version_resources', + '../chrome/chrome.gyp:common', + '../url/url.gyp:url_lib', + 'chrome_frame_ie', + 'chrome_frame_launcher.gyp:chrome_frame_helper', + 'chrome_frame_launcher.gyp:chrome_frame_helper_dll', + 'chrome_frame_launcher.gyp:chrome_launcher', + 'chrome_frame_strings', + 'chrome_frame_utils', + 'chrome_frame_version_resources', + 'chrome_tab_idl', + 'locales/locales.gyp:*', + ], + 'defines': [ + '_WINDLL', + ], + 'sources': [ + 'chrome_frame_elevation.rgs', + 'chrome_frame_reporting.cc', + 'chrome_frame_reporting.h', + 'chrome_tab.cc', + 'chrome_tab.def', + 'scoped_initialization_manager.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/npchrome_frame_dll_version.rc', + # FIXME(slightlyoff): For chrome_tab.tlb. Giant hack until we can + # figure out something more gyp-ish. + 'resources/tlb_resource.rc', + 'chrome_tab.rgs', + 'resource.h', + ], + 'conditions': [ + ['OS=="win"', { + # NOTE(slightlyoff): + # this is a fix for the include dirs length limit on the resource + # compiler, tickled by the xul_include_dirs variable + 'resource_include_dirs': [ + '<(INTERMEDIATE_DIR)' + ], + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_resources.rc', + ], + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/chrome.gyp:automation', + # Installer + '../chrome/chrome.gyp:installer_util', + '../google_update/google_update.gyp:google_update', + # Make the archive build happy. + '../sync/sync.gyp:sync', + # Crash Reporting + 'crash_reporting/crash_reporting.gyp:crash_report', + ], + 'link_settings': { + 'libraries': [ + '-lshdocvw.lib', + ], + }, + 'msvs_settings': { + 'VCLinkerTool': { + 'DelayLoadDLLs': [], + 'BaseAddress': '0x33000000', + # Set /SUBSYSTEM:WINDOWS (for consistency). + 'SubSystem': '2', + }, + 'VCManifestTool': { + 'AdditionalManifestFiles': [ + '$(ProjectDir)\\resources\\npchrome_frame.dll.manifest', + ], + }, + }, + }], + ], + }, + ], + 'conditions': [ + # To enable the coverage targets, do + # GYP_DEFINES='coverage=1' gclient sync + ['coverage!=0', + { 'targets': [ + { + # Coverage BUILD AND RUN. + # Not named coverage_build_and_run for historical reasons. + 'target_name': 'gcf_coverage', + 'dependencies': [ 'gcf_coverage_build', 'gcf_coverage_run' ], + # do NOT place this in the 'all' list; most won't want it. + 'suppress_wildcard': 1, + 'type': 'none', + 'actions': [ + { + 'message': 'Coverage is now complete.', + # MSVS must have an input file and an output file. + 'inputs': [ '<(PRODUCT_DIR)/gcf_coverage.info' ], + 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage-build-and-run.stamp' ], + 'action_name': 'gcf_coverage', + # Wish gyp had some basic builtin commands (e.g. 'touch'). + 'action': [ 'python', '-c', + 'import os; ' \ + 'open(' \ + '\'<(PRODUCT_DIR)\' + os.path.sep + ' \ + '\'gcf_coverage-build-and-run.stamp\'' \ + ', \'w\').close()' ], + # Use outputs of this action as inputs for the main target build. + # Seems as a misnomer but makes this happy on Linux (scons). + 'process_outputs_as_sources': 1, + }, + ], + }, + # Coverage BUILD. Compile only; does not run the bundles. + # Intended as the build phase for our coverage bots. + # + # Builds unit test bundles needed for coverage. + # Outputs this list of bundles into gcf_coverage_bundles.py. + # + # If you want to both build and run coverage from your IDE, + # use the 'gcf_coverage' target. + { + 'target_name': 'gcf_coverage_build', + 'suppress_wildcard': 1, + 'type': 'none', + 'dependencies': [ + # Some tests are disabled because they depend on browser.lib which + # has some trouble to link with instrumentation. Until this is + # fixed on the Chrome side we won't get complete coverage from + # our tests but we at least get the process rolling... + # TODO(mad): FIX THIS! + #'chrome_frame_net_tests', + #'chrome_frame_reliability_tests', + + # Other tests depend on Chrome bins being available when they run. + # Those should be re-enabled as soon as we setup the build slave to + # also build (or download an archive of) Chrome, even it it isn't + # instrumented itself. + # TODO(mad): FIX THIS! + #'chrome_frame_perftests', + #'chrome_frame_tests', + + 'chrome_frame_unittests', + ], # 'dependencies' + 'actions': [ + { + # TODO(jrg): + # Technically I want inputs to be the list of + # executables created in <@(_dependencies) but use of + # that variable lists the dep by dep name, not their + # output executable name. + # Is there a better way to force this action to run, always? + # + # If a test bundle is added to this gcf_coverage_build target it + # necessarily means this file (chrome_frame.gyp) is changed, + # so the action is run (gcf_coverage_bundles.py is generated). + # Exceptions to that rule are theoretically possible + # (e.g. re-gyp with a GYP_DEFINES set). + # Else it's the same list of bundles as last time. They are + # built (since on the deps list) but the action may not run. + # For now, things work, but it's less than ideal. + 'inputs': [ 'chrome_frame.gyp' ], + 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage_bundles.py' ], + 'action_name': 'gcf_coverage_build', + 'action': [ 'python', '-c', + 'import os; ' + 'f = open(' \ + '\'<(PRODUCT_DIR)\' + os.path.sep + ' \ + '\'gcf_coverage_bundles.py\'' \ + ', \'w\'); ' \ + 'deplist = \'' \ + '<@(_dependencies)' \ + '\'.split(\' \'); ' \ + 'f.write(str(deplist)); ' \ + 'f.close()'], + # Use outputs of this action as inputs for the main target build. + # Seems as a misnomer but makes this happy on Linux (scons). + 'process_outputs_as_sources': 1, + }, + ], + }, + # Coverage RUN. Does not actually compile the bundles (though it + # depends on the gcf_coverage_build step which will do it). + # This target mirrors the run_coverage_bundles buildbot phase. + # If you update this command update the mirror in + # $BUILDBOT/scripts/master/factory/chromium_commands.py. + # If you want both build and run, use the 'gcf_coverage' target which + # adds a bit more magic to identify if we need to run or not. + { + 'target_name': 'gcf_coverage_run', + 'dependencies': [ 'gcf_coverage_build' ], + 'suppress_wildcard': 1, + 'type': 'none', + 'actions': [ + { + # MSVS must have an input file and an output file. + 'inputs': [ '<(PRODUCT_DIR)/gcf_coverage_bundles.py' ], + 'outputs': [ '<(PRODUCT_DIR)/gcf_coverage.info' ], + 'action_name': 'gcf_coverage_run', + 'action': [ 'python', + '../tools/code_coverage/coverage_posix.py', + '--directory', + '<(PRODUCT_DIR)', + '--src_root', + '.', + '--bundles', + '<(PRODUCT_DIR)/gcf_coverage_bundles.py', + ], + # Use outputs of this action as inputs for the main target build. + # Seems as a misnomer but makes this happy on Linux (scons). + 'process_outputs_as_sources': 1, + }, + ], + }, + ], + }, ], # 'coverage!=0' + ], # 'conditions' +} diff --git a/chromium/chrome_frame/chrome_frame_launcher.gyp b/chromium/chrome_frame/chrome_frame_launcher.gyp new file mode 100644 index 00000000000..bd41148aec9 --- /dev/null +++ b/chromium/chrome_frame/chrome_frame_launcher.gyp @@ -0,0 +1,200 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'variables': { + 'chromium_code': 1, + + # Keep the archive builder happy. + 'chrome_personalization%': 1, + 'use_syncapi_stub%': 0, + + 'variables': { + 'version_py_path': '../tools/build/version.py', + 'version_path': 'VERSION', + }, + 'version_py_path': '<(version_py_path) -f', + 'version_path': '<(version_path)', + + 'conditions': [ + ['OS=="win"', { + 'python': [ + '<(DEPTH)\\third_party\\python_26\\setup_env.bat && python' + ], + }, { # OS != win + 'python': [ + 'python' + ], + }], + ], + }, + 'includes': [ + '../chrome/version.gypi', + ], + 'target_defaults': { + 'include_dirs': [ + # all our own includes are relative to src/ + '..', + ], + 'configurations': { + 'Release_Base': { + # Set flags to unconditionally optimize chrome_frame_launcher.exe + # for release builds. + 'msvs_settings': { + 'VCLinkerTool': { + 'LinkTimeCodeGeneration': '1', + }, + 'VCCLCompilerTool': { + 'Optimization': '3', + 'InlineFunctionExpansion': '2', + 'EnableIntrinsicFunctions': 'true', + 'FavorSizeOrSpeed': '2', + 'OmitFramePointers': 'true', + 'EnableFiberSafeOptimizations': 'true', + 'WholeProgramOptimization': 'true', + }, + 'VCLibrarianTool': { + 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], + }, + }, + }, + }, + }, + 'targets': [ + { + 'target_name': 'chrome_frame_launcher_version_resources', + 'type': 'none', + 'conditions': [ + ['branding == "Chrome"', { + 'variables': { + 'branding_path': '../chrome/app/theme/google_chrome/BRANDING', + }, + }, { # else branding!="Chrome" + 'variables': { + 'branding_path': '../chrome/app/theme/chromium/BRANDING', + }, + }], + ], + 'variables': { + 'output_dir': 'chrome_frame', + 'template_input_path': 'chrome_frame_version.rc.version', + 'extra_variable_files_arguments': [ '-f', 'BRANDING' ], + 'extra_variable_files': [ 'BRANDING' ], # NOTE: matches that above + }, + 'direct_dependent_settings': { + 'include_dirs': [ + '<(SHARED_INTERMEDIATE_DIR)/<(output_dir)', + ], + }, + 'sources': [ + 'chrome_frame_helper_dll.ver', + 'chrome_frame_helper_exe.ver', + 'chrome_launcher_exe.ver', + ], + 'includes': [ + '../chrome/version_resource_rules.gypi', + ], + }, + { + 'target_name': 'chrome_launcher', + 'type': 'executable', + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + '../chrome/app/policy/cloud_policy_codegen.gyp:policy', + '../google_update/google_update.gyp:google_update', + 'chrome_frame.gyp:chrome_frame_utils', + 'chrome_frame_launcher_version_resources', + ], + 'sources': [ + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_launcher_exe_version.rc', + 'chrome_launcher_main.cc', + 'chrome_launcher.cc', + 'chrome_launcher.h', + 'update_launcher.cc', + 'update_launcher.h' + ], + 'msvs_settings': { + 'VCLinkerTool': { + # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. + 'SubSystem': '2', + 'AdditionalDependencies': [ + 'shlwapi.lib', + ], + }, + }, + }, + { + 'target_name': 'chrome_frame_helper', + 'type': 'executable', + 'dependencies': [ + '../breakpad/breakpad.gyp:breakpad_handler', + 'chrome_frame.gyp:chrome_frame_utils', + 'chrome_frame_helper_dll', + 'chrome_frame_helper_lib', + 'chrome_frame_launcher_version_resources', + ], + 'sources': [ + 'chrome_frame_helper_main.cc', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_helper_exe_version.rc', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'OutputFile': + '$(OutDir)\\$(ProjectName).exe', + # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. + 'SubSystem': '2', + }, + }, + }, + { + 'target_name': 'chrome_frame_helper_dll', + 'type': 'shared_library', + 'dependencies': [ + 'chrome_frame.gyp:chrome_tab_idl', + 'chrome_frame_helper_lib', + 'chrome_frame_launcher_version_resources', + ], + 'sources': [ + 'bho_loader.cc', + 'bho_loader.h', + 'chrome_frame_helper_dll.cc', + 'chrome_frame_helper_dll.def', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_frame_helper_dll_version.rc', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'event_hooker.cc', + 'event_hooker.h', + 'iids.cc', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll', + # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. + 'SubSystem': '2', + }, + }, + }, + { + 'target_name': 'chrome_frame_helper_lib', + 'type': 'static_library', + 'dependencies': [ + 'chrome_frame.gyp:chrome_tab_idl', + ], + 'sources': [ + 'chrome_frame_helper_util.cc', + 'chrome_frame_helper_util.h', + 'registry_watcher.cc', + 'registry_watcher.h', + '<(SHARED_INTERMEDIATE_DIR)/chrome_frame/chrome_tab.h', + 'iids.cc', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'AdditionalDependencies': [ + 'shlwapi.lib', + ], + }, + }, + }, + ], +} diff --git a/chromium/chrome_frame/crash_reporting/crash_reporting.gyp b/chromium/chrome_frame/crash_reporting/crash_reporting.gyp new file mode 100644 index 00000000000..a557bdd41e9 --- /dev/null +++ b/chromium/chrome_frame/crash_reporting/crash_reporting.gyp @@ -0,0 +1,113 @@ +# Copyright (c) 2012 The Chromium Authors. All rights reserved. +# Use of this source code is governed by a BSD-style license that can be +# found in the LICENSE file. + +{ + 'target_defaults': { + 'include_dirs': [ + # all our own includes are relative to src/ + '../..', + ], + }, + 'targets': [ + { + 'target_name': 'crash_report', + 'type': 'static_library', + 'sources': [ + 'crash_metrics.cc', + 'crash_metrics.h', + 'crash_report.cc', + 'crash_report.h', + 'nt_loader.cc', + 'nt_loader.h', + 'vectored_handler-impl.h', + 'vectored_handler.h', + ], + 'dependencies': [ + '../../base/base.gyp:base', + ], + 'conditions': [ + ['OS=="win"', { + 'dependencies': [ + '../../breakpad/breakpad.gyp:breakpad_handler', + ], + }], + ], + }, + { + 'target_name': 'crash_dll', + 'type': 'loadable_module', + 'sources': [ + 'crash_dll.cc', + 'crash_dll.h', + ], + 'msvs_settings': { + # To work around a bug in some versions of the CRT, which cause + # crashes on program exit if a DLL crashes at process attach time, + # we cut out the CRT entirely, and set our DLL main routine as the + # entry point for the DLL. + 'VCLinkerTool': { + 'EntryPointSymbol': 'DllMain', + 'IgnoreAllDefaultLibraries': 'true', + }, + # Turn off buffer security checks, since we don't have CRT + # support for them, given that we don't link the CRT. + 'VCCLCompilerTool': { + 'BufferSecurityCheck': 'false', + }, + }, + 'configurations': { + 'Debug': { + 'msvs_settings': { + # Turn off basic CRT checks, since we don't have CRT support. + # We have to do this per configuration, as base.gypi specifies + # this per-config, which binds tighter than the defaults above. + 'VCCLCompilerTool': { + 'BasicRuntimeChecks': '0', + }, + }, + }, + 'Debug_x64': { + 'msvs_settings': { + # Turn off basic CRT checks, since we don't have CRT support. + # We have to do this per configuration, as base.gypi specifies + # this per-config, which binds tighter than the defaults above. + 'VCCLCompilerTool': { + 'BasicRuntimeChecks': '0', + }, + }, + }, + }, + }, + { + 'target_name': 'vectored_handler_tests', + 'type': 'executable', + 'sources': [ + 'nt_loader_unittest.cc', + 'vectored_handler_unittest.cc', + 'veh_test.cc', + 'veh_test.h', + ], + 'dependencies': [ + 'crash_dll', + 'crash_report', + '../../base/base.gyp:base', + '../../testing/gmock.gyp:gmock', + '../../testing/gtest.gyp:gtest', + '../../testing/gtest.gyp:gtest_main', + '../../breakpad/breakpad.gyp:breakpad_handler', + ], + }, + { + 'target_name': 'minidump_test', + 'type': 'executable', + 'dependencies': [ + '../../base/base.gyp:base', + '../../testing/gtest.gyp:gtest', + ], + 'sources': [ + 'minidump_test.cc', + ], + }, + ], +} diff --git a/chromium/chrome_frame/locales/locales.gyp b/chromium/chrome_frame/locales/locales.gyp new file mode 100644 index 00000000000..c026b40686e --- /dev/null +++ b/chromium/chrome_frame/locales/locales.gyp @@ -0,0 +1,355 @@ +{ + 'variables': { + 'chromium_code': 1, + 'chrome_frame_grit_out_dir': '<(SHARED_INTERMEDIATE_DIR)/chrome_frame', + + # TODO(sgk): eliminate this; see comment in build/common.gypi + 'msvs_debug_link_incremental': '1', + }, + 'target_defaults': { + 'type': 'loadable_module', + 'dependencies': [ + '../chrome_frame.gyp:chrome_frame_strings', + ], + 'msvs_settings': { + 'VCLinkerTool': { + 'BaseAddress': '0x3CF00000', + 'OutputFile': '$(OutDir)\\locales\\$(ProjectName).dll', + 'LinkIncremental': '1', # 1 == No + 'LinkTimeCodeGeneration': '0', + 'ResourceOnlyDLL': 'true', + }, + }, + 'defines': [ + '_USRDLL', + 'GENERATED_RESOURCES_DLL_EXPORTS', + ], + 'include_dirs': [ + '<(chrome_frame_grit_out_dir)', + ], + }, + 'conditions': [ + ['OS=="win"', { + 'targets': [ + { + 'target_name': 'am', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_am.rc', + ], + }, + { + 'target_name': 'ar', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ar.rc', + ], + }, + { + 'target_name': 'bg', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_bg.rc', + ], + }, + { + 'target_name': 'bn', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_bn.rc', + ], + }, + { + 'target_name': 'ca', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ca.rc', + ], + }, + { + 'target_name': 'cs', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_cs.rc', + ], + }, + { + 'target_name': 'da', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_da.rc', + ], + }, + { + 'target_name': 'de', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_de.rc', + ], + }, + { + 'target_name': 'el', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_el.rc', + ], + }, + { + 'target_name': 'en-GB', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_en-GB.rc', + ], + }, + { + 'target_name': 'en-US', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_en-US.rc', + ], + }, + { + 'target_name': 'es-419', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_es-419.rc', + ], + }, + { + 'target_name': 'es', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_es.rc', + ], + }, + { + 'target_name': 'et', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_et.rc', + ], + }, + { + 'target_name': 'fa', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_fa.rc', + ], + }, + { + 'target_name': 'fi', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_fi.rc', + ], + }, + { + 'target_name': 'fil', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_fil.rc', + ], + }, + { + 'target_name': 'fr', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_fr.rc', + ], + }, + { + 'target_name': 'gu', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_gu.rc', + ], + }, + { + 'target_name': 'he', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_he.rc', + ], + }, + { + 'target_name': 'hi', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_hi.rc', + ], + }, + { + 'target_name': 'hr', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_hr.rc', + ], + }, + { + 'target_name': 'hu', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_hu.rc', + ], + }, + { + 'target_name': 'id', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_id.rc', + ], + }, + { + 'target_name': 'it', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_it.rc', + ], + }, + { + 'target_name': 'ja', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ja.rc', + ], + }, + { + 'target_name': 'kn', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_kn.rc', + ], + }, + { + 'target_name': 'ko', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ko.rc', + ], + }, + { + 'target_name': 'lt', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_lt.rc', + ], + }, + { + 'target_name': 'lv', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_lv.rc', + ], + }, + { + 'target_name': 'ml', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ml.rc', + ], + }, + { + 'target_name': 'mr', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_mr.rc', + ], + }, + { + 'target_name': 'ms', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ms.rc', + ], + }, + { + 'target_name': 'nb', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_nb.rc', + ], + }, + { + 'target_name': 'nl', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_nl.rc', + ], + }, + { + 'target_name': 'pl', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_pl.rc', + ], + }, + { + 'target_name': 'pt-BR', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_pt-BR.rc', + ], + }, + { + 'target_name': 'pt-PT', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_pt-PT.rc', + ], + }, + { + 'target_name': 'ro', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ro.rc', + ], + }, + { + 'target_name': 'ru', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ru.rc', + ], + }, + { + 'target_name': 'sk', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_sk.rc', + ], + }, + { + 'target_name': 'sl', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_sl.rc', + ], + }, + { + 'target_name': 'sr', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_sr.rc', + ], + }, + { + 'target_name': 'sv', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_sv.rc', + ], + }, + { + 'target_name': 'sw', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_sw.rc', + ], + }, + { + 'target_name': 'ta', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_ta.rc', + ], + }, + { + 'target_name': 'te', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_te.rc', + ], + }, + { + 'target_name': 'th', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_th.rc', + ], + }, + { + 'target_name': 'tr', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_tr.rc', + ], + }, + { + 'target_name': 'uk', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_uk.rc', + ], + }, + { + 'target_name': 'vi', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_vi.rc', + ], + }, + { + 'target_name': 'zh-CN', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_zh-CN.rc', + ], + }, + { + 'target_name': 'zh-TW', + 'sources': [ + '<(chrome_frame_grit_out_dir)/chrome_frame_dialogs_zh-TW.rc', + ], + }, + ], + }], + ], +} -- cgit v1.2.1