1 # Copyright 2013 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 'target_name': 'translate_core_browser',
9 'type': 'static_library',
11 '../base/base.gyp:base',
12 '../google_apis/google_apis.gyp:google_apis',
14 '../ui/base/ui_base.gyp:ui_base',
15 '../url/url.gyp:url_lib',
16 'components_resources.gyp:components_resources',
17 'language_usage_metrics',
18 'translate_core_common',
25 'translate/core/browser/language_state.cc',
26 'translate/core/browser/language_state.h',
27 'translate/core/browser/page_translated_details.h',
28 'translate/core/browser/translate_accept_languages.cc',
29 'translate/core/browser/translate_accept_languages.h',
30 'translate/core/browser/translate_browser_metrics.cc',
31 'translate/core/browser/translate_browser_metrics.h',
32 'translate/core/browser/translate_client.h',
33 'translate/core/browser/translate_download_manager.cc',
34 'translate/core/browser/translate_download_manager.h',
35 'translate/core/browser/translate_driver.h',
36 'translate/core/browser/translate_error_details.h',
37 'translate/core/browser/translate_event_details.cc',
38 'translate/core/browser/translate_event_details.h',
39 'translate/core/browser/translate_language_list.cc',
40 'translate/core/browser/translate_language_list.h',
41 'translate/core/browser/translate_prefs.cc',
42 'translate/core/browser/translate_prefs.h',
43 'translate/core/browser/translate_script.cc',
44 'translate/core/browser/translate_script.h',
45 'translate/core/browser/translate_url_fetcher.cc',
46 'translate/core/browser/translate_url_fetcher.h',
47 'translate/core/browser/translate_url_util.cc',
48 'translate/core/browser/translate_url_util.h',
52 'target_name': 'translate_core_common',
53 'type': 'static_library',
55 '../base/base.gyp:base',
56 '../url/url.gyp:url_lib',
62 'translate/core/common/translate_constants.cc',
63 'translate/core/common/translate_constants.h',
64 'translate/core/common/translate_errors.h',
65 'translate/core/common/translate_metrics.cc',
66 'translate/core/common/translate_metrics.h',
67 'translate/core/common/translate_pref_names.cc',
68 'translate/core/common/translate_pref_names.h',
69 'translate/core/common/translate_switches.cc',
70 'translate/core/common/translate_switches.h',
71 'translate/core/common/translate_util.cc',
72 'translate/core/common/translate_util.h',
73 'translate/core/common/language_detection_details.cc',
74 'translate/core/common/language_detection_details.h',
78 'target_name': 'translate_language_detection',
79 'type': 'static_library',
81 'translate_core_common',
82 '../base/base.gyp:base',
83 '../url/url.gyp:url_lib',
89 'translate/language_detection/language_detection_util.cc',
90 'translate/language_detection/language_detection_util.h',
93 ['cld_version==0 or cld_version==1', {
95 '<(DEPTH)/third_party/cld/cld.gyp:cld',
98 ['cld_version==0 or cld_version==2', {
100 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
110 'target_name': 'translate_content_browser',
111 'type': 'static_library',
113 'translate_core_browser',
114 '../base/base.gyp:base',
115 '../content/content.gyp:content_browser',
121 'translate/content/browser/content_translate_driver.cc',
122 'translate/content/browser/content_translate_driver.h',