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

Unified 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: android 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/translate/core/common/BUILD.gn ('k') | components/usb_service.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/language_detection/BUILD.gn
diff --git a/components/translate/core/language_detection/BUILD.gn b/components/translate/core/language_detection/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..f70484487ee60a064f74679c0bf6fed553762b27
--- /dev/null
+++ b/components/translate/core/language_detection/BUILD.gn
@@ -0,0 +1,25 @@
+# Copyright 2014 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+import("//build/config/features.gni")
+
+static_library("language_detection") {
+ sources = [
+ "language_detection_util.cc",
+ "language_detection_util.h",
+ ]
+
+ deps = [
+ "//base",
+ "//components/translate/core/common",
+ "//url",
+ ]
+
+ if (cld_version == 0 || cld_version == 1) {
+ deps += [ "//third_party/cld" ]
+ }
+ if (cld_version == 0 || cld_version == 2) {
+ deps += [ "//third_party/cld_2" ]
+ }
+}
« no previous file with comments | « components/translate/core/common/BUILD.gn ('k') | components/usb_service.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698