Removes the layout-switching to dvorak, qwerty or system qwerty.
[chromium-blink-merge.git] / components / translate.gypi
bloba61b8365e86c3aaffd52cf30f2a32bc3f530f6df
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.
6   'targets': [
7     {
8       'target_name': 'translate_core_browser',
9       'type': 'static_library',
10       'dependencies': [
11         'language_usage_metrics',
12         'translate_core_common',
13         '../base/base.gyp:base',
14         '../net/net.gyp:net',
15         '../url/url.gyp:url_lib',
16       ],
17       'include_dirs': [
18         '..',
19       ],
20       'sources': [
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',
34        ],
35     },
36     {
37       'target_name': 'translate_core_common',
38       'type': 'static_library',
39       'dependencies': [
40         '../base/base.gyp:base',
41         '../url/url.gyp:url_lib',
42       ],
43       'include_dirs': [
44         '..',
45       ],
46       'sources': [
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',
58       ],
59     },
60     {
61       'target_name': 'translate_language_detection',
62       'type': 'static_library',
63       'dependencies': [
64         'translate_core_common',
65         '../base/base.gyp:base',
66         '../url/url.gyp:url_lib',
67       ],
68       'include_dirs': [
69         '..',
70       ],
71       'sources': [
72         'translate/language_detection/language_detection_util.cc',
73         'translate/language_detection/language_detection_util.h',
74       ],
75       'conditions': [
76         ['cld_version==0 or cld_version==1', {
77           'dependencies': [
78             '<(DEPTH)/third_party/cld/cld.gyp:cld',
79           ],
80         }],
81         ['cld_version==0 or cld_version==2', {
82           'dependencies': [
83             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
84           ],
85         }],
86       ],
87     },
88   ],
89   'conditions': [
90     ['OS != "ios"', {
91       'targets': [
92         {
93           'target_name': 'translate_content_browser',
94           'type': 'static_library',
95           'dependencies': [
96             'translate_core_browser',
97             '../base/base.gyp:base',
98             '../content/content.gyp:content_browser',
99           ],
100           'include_dirs': [
101             '..',
102           ],
103           'sources': [
104             'translate/content/browser/content_translate_driver.cc',
105             'translate/content/browser/content_translate_driver.h',
106            ],
107         },
108       ],
109     }],
110   ],