| Index: components/translate.gypi
|
| diff --git a/components/translate.gypi b/components/translate.gypi
|
| deleted file mode 100644
|
| index 9e390c72cc4a98a0773e563ede9c615c97d403fc..0000000000000000000000000000000000000000
|
| --- a/components/translate.gypi
|
| +++ /dev/null
|
| @@ -1,257 +0,0 @@
|
| -# Copyright 2013 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.
|
| -
|
| -{
|
| - 'targets': [
|
| - {
|
| - # GN version: //components/translate/core/browser
|
| - 'target_name': 'translate_core_browser',
|
| - 'type': 'static_library',
|
| - 'dependencies': [
|
| - '../base/base.gyp:base',
|
| - '../base/base.gyp:base_i18n',
|
| - '../google_apis/google_apis.gyp:google_apis',
|
| - '../net/net.gyp:net',
|
| - '../ui/base/ui_base.gyp:ui_base',
|
| - '../url/url.gyp:url_lib',
|
| - 'components_resources.gyp:components_resources',
|
| - 'components_strings.gyp:components_strings',
|
| - 'data_use_measurement_core',
|
| - 'infobars_core',
|
| - 'language_usage_metrics',
|
| - 'pref_registry',
|
| - 'translate_core_common',
|
| - 'variations',
|
| - ],
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'sources': [
|
| - # Note: sources list duplicated in GN build.
|
| - 'translate/core/browser/language_state.cc',
|
| - 'translate/core/browser/language_state.h',
|
| - 'translate/core/browser/page_translated_details.h',
|
| - 'translate/core/browser/translate_accept_languages.cc',
|
| - 'translate/core/browser/translate_accept_languages.h',
|
| - 'translate/core/browser/translate_browser_metrics.cc',
|
| - 'translate/core/browser/translate_browser_metrics.h',
|
| - 'translate/core/browser/translate_client.h',
|
| - 'translate/core/browser/translate_download_manager.cc',
|
| - 'translate/core/browser/translate_download_manager.h',
|
| - 'translate/core/browser/translate_driver.h',
|
| - 'translate/core/browser/translate_error_details.h',
|
| - 'translate/core/browser/translate_event_details.cc',
|
| - 'translate/core/browser/translate_event_details.h',
|
| - 'translate/core/browser/translate_experiment.cc',
|
| - 'translate/core/browser/translate_experiment.h',
|
| - 'translate/core/browser/translate_language_list.cc',
|
| - 'translate/core/browser/translate_language_list.h',
|
| - 'translate/core/browser/translate_manager.cc',
|
| - 'translate/core/browser/translate_manager.h',
|
| - 'translate/core/browser/translate_prefs.cc',
|
| - 'translate/core/browser/translate_prefs.h',
|
| - 'translate/core/browser/translate_script.cc',
|
| - 'translate/core/browser/translate_script.h',
|
| - 'translate/core/browser/translate_step.h',
|
| - 'translate/core/browser/translate_ui_delegate.cc',
|
| - 'translate/core/browser/translate_ui_delegate.h',
|
| - 'translate/core/browser/translate_url_fetcher.cc',
|
| - 'translate/core/browser/translate_url_fetcher.h',
|
| - 'translate/core/browser/translate_url_util.cc',
|
| - 'translate/core/browser/translate_url_util.h',
|
| - ],
|
| - 'conditions': [
|
| - ['use_aura==0', {
|
| - 'sources': [
|
| - 'translate/core/browser/translate_infobar_delegate.cc',
|
| - 'translate/core/browser/translate_infobar_delegate.h',
|
| - ],
|
| - }],
|
| - ['OS == "mac"', {
|
| - 'sources': [
|
| - 'translate/core/browser/options_menu_model.cc',
|
| - 'translate/core/browser/options_menu_model.h',
|
| - ],
|
| - }],
|
| - ],
|
| - },
|
| - {
|
| - # GN version: //components/translate/core/common
|
| - 'target_name': 'translate_core_common',
|
| - 'type': 'static_library',
|
| - 'dependencies': [
|
| - '../base/base.gyp:base',
|
| - '../url/url.gyp:url_lib',
|
| - ],
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'sources': [
|
| - # Note: sources list duplicated in GN build.
|
| - 'translate/core/common/language_detection_details.cc',
|
| - 'translate/core/common/language_detection_details.h',
|
| - 'translate/core/common/translate_constants.cc',
|
| - 'translate/core/common/translate_constants.h',
|
| - 'translate/core/common/translate_errors.h',
|
| - 'translate/core/common/translate_metrics.cc',
|
| - 'translate/core/common/translate_metrics.h',
|
| - 'translate/core/common/translate_pref_names.cc',
|
| - 'translate/core/common/translate_pref_names.h',
|
| - 'translate/core/common/translate_switches.cc',
|
| - 'translate/core/common/translate_switches.h',
|
| - 'translate/core/common/translate_util.cc',
|
| - 'translate/core/common/translate_util.h',
|
| - ],
|
| - },
|
| - {
|
| - # GN version: //components/translate/core/language_detection
|
| - 'target_name': 'translate_core_language_detection',
|
| - 'type': 'static_library',
|
| - 'dependencies': [
|
| - 'translate_core_common',
|
| - '../base/base.gyp:base',
|
| - '../url/url.gyp:url_lib',
|
| - '../third_party/cld_2/cld_2.gyp:cld_2',
|
| - ],
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'sources': [
|
| - # Note: sources list duplicated in GN build.
|
| - 'translate/core/language_detection/language_detection_util.cc',
|
| - 'translate/core/language_detection/language_detection_util.h',
|
| - ],
|
| - },
|
| - ],
|
| - 'conditions': [
|
| - ['OS != "ios"', {
|
| - 'targets': [
|
| - {
|
| - # GN version: //components/translate/content/browser
|
| - 'target_name': 'translate_content_browser',
|
| - 'type': 'static_library',
|
| - 'dependencies': [
|
| - 'translate_content_common',
|
| - 'translate_core_browser',
|
| - '../base/base.gyp:base',
|
| - '../content/content.gyp:content_browser',
|
| - ],
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'sources': [
|
| - # Note: sources list duplicated in GN build.
|
| - 'translate/content/browser/content_translate_driver.cc',
|
| - 'translate/content/browser/content_translate_driver.h',
|
| - ],
|
| - },
|
| - {
|
| - # GN version: //components/translate/content/common
|
| - 'target_name': 'translate_content_common',
|
| - 'type': 'static_library',
|
| - 'variables': {
|
| - 'mojom_typemaps': [
|
| - 'translate/content/common/translate.typemap',
|
| - '<(DEPTH)/mojo/common/common_custom_types.typemap',
|
| - '<(DEPTH)/url/mojo/gurl.typemap',
|
| - ],
|
| - },
|
| - 'sources': [
|
| - 'translate/content/common/translate_struct_traits.cc',
|
| - 'translate/content/common/translate.mojom',
|
| - ],
|
| - 'export_dependent_settings': [
|
| - '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom',
|
| - '../url/url.gyp:url_mojom',
|
| - ],
|
| - 'dependencies': [
|
| - 'translate_core_common',
|
| - 'translate_core_language_detection',
|
| - '../base/base.gyp:base',
|
| - '../mojo/mojo_base.gyp:mojo_common_custom_types_mojom',
|
| - '../mojo/mojo_public.gyp:mojo_cpp_bindings',
|
| - '../url/url.gyp:url_mojom',
|
| - ],
|
| - 'includes': [ '../mojo/mojom_bindings_generator.gypi' ],
|
| - },
|
| - {
|
| - # GN version: //components/translate/content/renderer
|
| - 'target_name': 'translate_content_renderer',
|
| - 'type': 'static_library',
|
| - 'dependencies': [
|
| - 'translate_content_common',
|
| - 'translate_core_common',
|
| - 'translate_core_language_detection',
|
| - '../base/base.gyp:base',
|
| - '../content/content.gyp:content_common',
|
| - '../content/content.gyp:content_renderer',
|
| - '../third_party/WebKit/public/blink.gyp:blink',
|
| - '../third_party/cld_2/cld_2.gyp:cld_2',
|
| - '../url/url.gyp:url_lib',
|
| - '../v8/src/v8.gyp:v8',
|
| - ],
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'sources': [
|
| - # Note: sources list duplicated in GN build.
|
| - 'translate/content/renderer/translate_helper.cc',
|
| - 'translate/content/renderer/translate_helper.h',
|
| - ],
|
| - },
|
| - ],
|
| - }],
|
| - ['OS == "ios"', {
|
| - 'targets': [
|
| - {
|
| - # GN version: //components/translate/ios/browser
|
| - 'target_name': 'translate_ios_browser',
|
| - 'type': 'static_library',
|
| - 'include_dirs': [
|
| - '..',
|
| - ],
|
| - 'dependencies': [
|
| - 'translate_core_language_detection',
|
| - 'translate_core_browser',
|
| - 'translate_core_common',
|
| - 'translate_ios_injected_js',
|
| - '../base/base.gyp:base',
|
| - '../ios/web/ios_web.gyp:ios_web',
|
| - '../url/url.gyp:url_lib',
|
| - ],
|
| - 'sources': [
|
| - 'translate/ios/browser/ios_translate_driver.h',
|
| - 'translate/ios/browser/ios_translate_driver.mm',
|
| - 'translate/ios/browser/js_language_detection_manager.h',
|
| - 'translate/ios/browser/js_language_detection_manager.mm',
|
| - 'translate/ios/browser/js_translate_manager.h',
|
| - 'translate/ios/browser/js_translate_manager.mm',
|
| - 'translate/ios/browser/language_detection_controller.h',
|
| - 'translate/ios/browser/language_detection_controller.mm',
|
| - 'translate/ios/browser/translate_controller.h',
|
| - 'translate/ios/browser/translate_controller.mm',
|
| - ],
|
| - },
|
| - {
|
| - # GN version: //components/translate/ios/browser:injected_js
|
| - 'target_name': 'translate_ios_injected_js',
|
| - 'type': 'none',
|
| - 'sources': [
|
| - 'translate/ios/browser/resources/language_detection.js',
|
| - 'translate/ios/browser/resources/translate_ios.js',
|
| - ],
|
| - 'link_settings': {
|
| - 'mac_bundle_resources': [
|
| - '<(SHARED_INTERMEDIATE_DIR)/translate_ios.js',
|
| - '<(SHARED_INTERMEDIATE_DIR)/language_detection.js',
|
| - ],
|
| - },
|
| - 'includes': [
|
| - '../ios/web/js_compile_checked.gypi',
|
| - ],
|
| - },
|
| - ],
|
| - }],
|
| - ],
|
| -}
|
|
|