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

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

Issue 2819793002: Translate: do not show the context menu entry when the feature is disabled (Closed)
Patch Set: some more include path changes for ios/android Created 3 years, 8 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_pref_names.cc",
15 "translate_pref_names.h",
16 "translate_switches.cc", 14 "translate_switches.cc",
17 "translate_switches.h", 15 "translate_switches.h",
18 "translate_util.cc", 16 "translate_util.cc",
19 "translate_util.h", 17 "translate_util.h",
20 ] 18 ]
21 19
22 deps = [ 20 deps = [
23 "//base", 21 "//base",
24 "//url", 22 "//url",
25 ] 23 ]
26 } 24 }
27 25
28 source_set("unit_tests") { 26 source_set("unit_tests") {
29 testonly = true 27 testonly = true
30 sources = [ 28 sources = [
31 "translate_metrics_unittest.cc", 29 "translate_metrics_unittest.cc",
32 "translate_util_unittest.cc", 30 "translate_util_unittest.cc",
33 ] 31 ]
34 deps = [ 32 deps = [
35 ":common", 33 ":common",
36 "//base", 34 "//base",
37 "//testing/gtest", 35 "//testing/gtest",
38 "//url", 36 "//url",
39 ] 37 ]
40 } 38 }
OLDNEW
« no previous file with comments | « components/translate/core/browser/translate_prefs.cc ('k') | components/translate/core/common/translate_pref_names.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698