summaryrefslogtreecommitdiffstats
path: root/components/translate/core/language_detection/BUILD.gn
blob: 57e1d10fb642fb951b19125a5339e7234c8395c9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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 == 1) {
    deps += [ "//third_party/cld" ]
  }
  if (cld_version == 2) {
    deps += [ "//third_party/cld_2" ]
  }
}