Updating trunk VERSION from 2139.0 to 2140.0
[chromium-blink-merge.git] / components / translate / core / language_detection / BUILD.gn
blobf70484487ee60a064f74679c0bf6fed553762b27
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.
5 import("//build/config/features.gni")
7 static_library("language_detection") {
8   sources = [
9     "language_detection_util.cc",
10     "language_detection_util.h",
11   ]
13   deps = [
14     "//base",
15     "//components/translate/core/common",
16     "//url",
17   ]
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   }