Deleted check for if Aes128Gcm12Encrypter::IsSupported or not beacuse we
[chromium-blink-merge.git] / components / translate.gypi
blob7c19fe81bdb0c505f11e71b113c76df0efb4a7dc
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_common',
9       'type': 'static_library',
10       'dependencies': [
11         '../base/base.gyp:base',
12         '../url/url.gyp:url_lib',
13       ],
14       'include_dirs': [
15         '..',
16       ],
17       'sources': [
18         'translate/common/translate_constants.cc',
19         'translate/common/translate_constants.h',
20         'translate/common/translate_metrics.cc',
21         'translate/common/translate_metrics.h',
22         'translate/common/translate_switches.cc',
23         'translate/common/translate_switches.h',
24         'translate/common/translate_util.cc',
25         'translate/common/translate_util.h',
26       ],
27     },
28     {
29       'target_name': 'translate_language_detection',
30       'type': 'static_library',
31       'dependencies': [
32         'translate_common',
33         '../base/base.gyp:base',
34         '../url/url.gyp:url_lib',
35       ],
36       'include_dirs': [
37         '..',
38       ],
39       'sources': [
40         'translate/language_detection/language_detection_util.cc',
41         'translate/language_detection/language_detection_util.h',
42       ],
43       'conditions': [
44         ['cld_version==0 or cld_version==1', {
45           'dependencies': [
46             '<(DEPTH)/third_party/cld/cld.gyp:cld',
47           ],
48         }],
49         ['cld_version==0 or cld_version==2', {
50           'dependencies': [
51             '<(DEPTH)/third_party/cld_2/cld_2.gyp:cld_2',
52           ],
53         }],
54       ],
55     },
56   ],