OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("common") { | 5 source_set("common") { |
6 sources = [ | 6 sources = [ |
7 "language_detection_details.cc", | 7 "language_detection_details.cc", |
8 "language_detection_details.h", | 8 "language_detection_details.h", |
9 "translate_constants.cc", | 9 "translate_constants.cc", |
10 "translate_constants.h", | 10 "translate_constants.h", |
11 "translate_errors.h", | 11 "translate_errors.h", |
12 "translate_metrics.cc", | 12 "translate_metrics.cc", |
13 "translate_metrics.h", | 13 "translate_metrics.h", |
14 "translate_pref_names.cc", | 14 "translate_pref_names.cc", |
15 "translate_pref_names.h", | 15 "translate_pref_names.h", |
16 "translate_switches.cc", | 16 "translate_switches.cc", |
17 "translate_switches.h", | 17 "translate_switches.h", |
18 "translate_util.cc", | 18 "translate_util.cc", |
19 "translate_util.h", | 19 "translate_util.h", |
20 ] | 20 ] |
21 | 21 |
22 deps = [ | 22 deps = [ |
23 "//base", | 23 "//base", |
24 "//url", | 24 "//url", |
25 ] | 25 ] |
26 } | 26 } |
| 27 |
| 28 source_set("unit_tests") { |
| 29 testonly = true |
| 30 sources = [ |
| 31 "translate_metrics_unittest.cc", |
| 32 "translate_util_unittest.cc", |
| 33 ] |
| 34 deps = [ |
| 35 ":common", |
| 36 "//testing/gtest", |
| 37 ] |
| 38 } |
OLD | NEW |