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

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

Issue 2912843003: Refactoring ConstructLanguageDetectionEvent. (Closed)
Patch Set: updates 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 "language_detection_logging_helper.cc",
10 "language_detection_logging_helper.h",
9 "translate_constants.cc", 11 "translate_constants.cc",
10 "translate_constants.h", 12 "translate_constants.h",
11 "translate_errors.h", 13 "translate_errors.h",
12 "translate_metrics.cc", 14 "translate_metrics.cc",
13 "translate_metrics.h", 15 "translate_metrics.h",
14 "translate_switches.cc", 16 "translate_switches.cc",
15 "translate_switches.h", 17 "translate_switches.h",
16 "translate_util.cc", 18 "translate_util.cc",
17 "translate_util.h", 19 "translate_util.h",
18 ] 20 ]
19 21
20 deps = [ 22 deps = [
21 "//base", 23 "//base",
24 "//components/sync/protocol",
22 "//url", 25 "//url",
23 ] 26 ]
24 } 27 }
25 28
26 source_set("unit_tests") { 29 source_set("unit_tests") {
27 testonly = true 30 testonly = true
28 sources = [ 31 sources = [
32 "language_detection_logging_helper_unittest.cc",
29 "translate_metrics_unittest.cc", 33 "translate_metrics_unittest.cc",
30 "translate_util_unittest.cc", 34 "translate_util_unittest.cc",
31 ] 35 ]
32 deps = [ 36 deps = [
33 ":common", 37 ":common",
34 "//base", 38 "//base",
39 "//components/sync/protocol",
35 "//testing/gtest", 40 "//testing/gtest",
36 "//url", 41 "//url",
37 ] 42 ]
38 } 43 }
OLDNEW
« no previous file with comments | « components/translate/DEPS ('k') | components/translate/core/common/language_detection_logging_helper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698