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

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

Issue 1311623002: Add more components_unittests to GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 5 years, 4 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 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 }
OLDNEW
« no previous file with comments | « components/translate/core/browser/BUILD.gn ('k') | components/translate/core/language_detection/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698