summaryrefslogtreecommitdiff
path: root/chromium/components/translate/core/common/BUILD.gn
blob: 237c1aee014b5435b8d62d9cf56197b00a39150b (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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# 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.

static_library("common") {
  sources = [
    "language_detection_details.cc",
    "language_detection_details.h",
    "translate_constants.cc",
    "translate_constants.h",
    "translate_errors.h",
    "translate_metrics.cc",
    "translate_metrics.h",
    "translate_pref_names.cc",
    "translate_pref_names.h",
    "translate_switches.cc",
    "translate_switches.h",
    "translate_util.cc",
    "translate_util.h",
  ]

  deps = [
    "//base",
    "//url",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "translate_metrics_unittest.cc",
    "translate_util_unittest.cc",
  ]
  deps = [
    ":common",
    "//base",
    "//testing/gtest",
    "//url",
  ]
}