| 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 static_library("common") { | 5 static_library("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 "language_detection_logging_helper.cc", | 9 "language_detection_logging_helper.cc", |
| 10 "language_detection_logging_helper.h", | 10 "language_detection_logging_helper.h", |
| 11 "translate_constants.cc", | 11 "translate_constants.cc", |
| 12 "translate_constants.h", | 12 "translate_constants.h", |
| 13 "translate_errors.h", | 13 "translate_errors.h", |
| 14 "translate_metrics.cc", | 14 "translate_metrics.cc", |
| 15 "translate_metrics.h", | 15 "translate_metrics.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 "translation_logging_helper.cc", |
| 21 "translation_logging_helper.h", |
| 20 ] | 22 ] |
| 21 | 23 |
| 22 deps = [ | 24 deps = [ |
| 23 "//base", | 25 "//base", |
| 26 "//components/metrics/proto", |
| 24 "//components/sync/protocol", | 27 "//components/sync/protocol", |
| 25 "//url", | 28 "//url", |
| 26 ] | 29 ] |
| 27 } | 30 } |
| 28 | 31 |
| 29 source_set("unit_tests") { | 32 source_set("unit_tests") { |
| 30 testonly = true | 33 testonly = true |
| 31 sources = [ | 34 sources = [ |
| 32 "language_detection_logging_helper_unittest.cc", | 35 "language_detection_logging_helper_unittest.cc", |
| 33 "translate_metrics_unittest.cc", | 36 "translate_metrics_unittest.cc", |
| 34 "translate_util_unittest.cc", | 37 "translate_util_unittest.cc", |
| 38 "translation_logging_helper_unittest.cc", |
| 35 ] | 39 ] |
| 36 deps = [ | 40 deps = [ |
| 37 ":common", | 41 ":common", |
| 38 "//base", | 42 "//base", |
| 43 "//components/metrics/proto", |
| 39 "//components/sync/protocol", | 44 "//components/sync/protocol", |
| 40 "//testing/gtest", | 45 "//testing/gtest", |
| 41 "//url", | 46 "//url", |
| 42 ] | 47 ] |
| 43 } | 48 } |
| OLD | NEW |