Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: components/translate.gypi

Issue 25531002: Move language detection to a component (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Minor changes Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
Jói 2013/10/02 12:12:11 nit: I don't think we use the (c) any more.
droger 2013/10/02 12:33:12 Done.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 {
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 ],
57 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698