Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: components/translate/core/common/BUILD.gn

Issue 2913593002: Implementation of translation event logging. (Closed)
Patch Set: fix Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "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_switches.cc", 14 "translate_switches.cc",
15 "translate_switches.h", 15 "translate_switches.h",
16 "translate_util.cc", 16 "translate_util.cc",
17 "translate_util.h", 17 "translate_util.h",
18 "translation_logging_helper.cc",
19 "translation_logging_helper.h",
18 ] 20 ]
19 21
20 deps = [ 22 deps = [
21 "//base", 23 "//base",
24 "//components/metrics/proto",
25 "//components/sync/protocol",
22 "//url", 26 "//url",
23 ] 27 ]
24 } 28 }
25 29
26 source_set("unit_tests") { 30 source_set("unit_tests") {
27 testonly = true 31 testonly = true
28 sources = [ 32 sources = [
29 "translate_metrics_unittest.cc", 33 "translate_metrics_unittest.cc",
30 "translate_util_unittest.cc", 34 "translate_util_unittest.cc",
35 "translation_logging_helper_unittest.cc",
31 ] 36 ]
32 deps = [ 37 deps = [
33 ":common", 38 ":common",
34 "//base", 39 "//base",
40 "//components/metrics/proto",
41 "//components/sync/protocol",
35 "//testing/gtest", 42 "//testing/gtest",
36 "//url", 43 "//url",
37 ] 44 ]
38 } 45 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698