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

Side by Side Diff: components/translate/core/language_detection/BUILD.gn

Issue 382663002: Add components and CLD to GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 # Copyright 2014 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.
4
5 import("//build/config/features.gni")
6
7 static_library("language_detection") {
8 sources = [
9 "language_detection_util.cc",
10 "language_detection_util.h",
11 ]
12
13 deps = [
14 "//base",
15 "//components/translate/core/common",
16 "//url",
17 ]
18
19 if (cld_version == 0 || cld_version == 1) {
20 deps += [ "//third_party/cld" ]
21 }
22 if (cld_version == 0 || cld_version == 2) {
23 deps += [ "//third_party/cld_2" ]
24 }
25 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698