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 'language_usage_metrics',
12 'translate_core_common',
13 '../base/base.gyp:base',
15 '../url/url.gyp:url_lib',
21 'translate/core/browser/language_state.cc',
22 'translate/core/browser/language_state.h',
23 'translate/core/browser/page_translated_details.h',
24 'translate/core/browser/translate_browser_metrics.cc',
25 'translate/core/browser/translate_browser_metrics.h',
26 'translate/core/browser/translate_download_manager.cc',
27 'translate/core/browser/translate_download_manager.h',
28 'translate/core/browser/translate_driver.h',
29 'translate/core/browser/translate_error_details.h',
30 'translate/core/browser/translate_event_details.cc',
31 'translate/core/browser/translate_event_details.h',
32 'translate/core/browser/translate_url_fetcher.cc',
33 'translate/core/browser/translate_url_fetcher.h',
37 'target_name': 'translate_core_common',
38 'type': 'static_library',
40 '../base/base.gyp:base',
41 '../url/url.gyp:url_lib',
47 'translate/core/common/translate_constants.cc',
48 'translate/core/common/translate_constants.h',
49 'translate/core/common/translate_errors.h',
50 'translate/core/common/translate_metrics.cc',
51 'translate/core/common/translate_metrics.h',
52 'translate/core/common/translate_switches.cc',
53 'translate/core/common/translate_switches.h',
54 'translate/core/common/translate_util.cc',
55 'translate/core/common/translate_util.h',
56 'translate/core/common/language_detection_details.cc',
57 'translate/core/common/language_detection_details.h',
61 'target_name': 'translate_language_detection',
62 'type': 'static_library',
64 'translate_core_common',
65 '../base/base.gyp:base',
66 '../url/url.gyp:url_lib',
72 'translate/language_detection/language_detection_util.cc',
73 'translate/language_detection/language_detection_util.h',
76 ['cld_version==0 or cld_version==1', {
78 '<(DEPTH)/third_party/cld/cld.gyp:cld',
81 ['cld_version==0 or cld_version==2', {
83 '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
93 'target_name': 'translate_content_browser',
94 'type': 'static_library',
96 'translate_core_browser',
97 '../base/base.gyp:base',
98 '../content/content.gyp:content_browser',
104 'translate/content/browser/content_translate_driver.cc',
105 'translate/content/browser/content_translate_driver.h',