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

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

Issue 1632953002: Change the TranslateDeclined() to only count decline if the explicit_closed is set to true (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix mac unit test breakage Created 4 years, 10 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 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 source_set("browser") { 7 source_set("browser") {
8 sources = [ 8 sources = [
9 "language_state.cc", 9 "language_state.cc",
10 "language_state.h", 10 "language_state.h",
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
69 "options_menu_model.cc", 69 "options_menu_model.cc",
70 "options_menu_model.h", 70 "options_menu_model.h",
71 ] 71 ]
72 } 72 }
73 } 73 }
74 74
75 source_set("unit_tests") { 75 source_set("unit_tests") {
76 testonly = true 76 testonly = true
77 sources = [ 77 sources = [
78 "language_state_unittest.cc", 78 "language_state_unittest.cc",
79 "mock_translate_driver.cc",
80 "mock_translate_driver.h",
79 "translate_browser_metrics_unittest.cc", 81 "translate_browser_metrics_unittest.cc",
80 "translate_language_list_unittest.cc", 82 "translate_language_list_unittest.cc",
81 "translate_prefs_unittest.cc", 83 "translate_prefs_unittest.cc",
82 "translate_script_unittest.cc", 84 "translate_script_unittest.cc",
83 ] 85 ]
84 deps = [ 86 deps = [
85 ":browser", 87 ":browser",
86 "//base", 88 "//base",
87 "//components/pref_registry:test_support", 89 "//components/pref_registry:test_support",
88 "//components/prefs", 90 "//components/prefs",
89 "//components/translate/core/common", 91 "//components/translate/core/common",
90 "//net:test_support", 92 "//net:test_support",
91 "//testing/gtest", 93 "//testing/gtest",
92 ] 94 ]
95 if (!use_aura) {
96 sources += [ "translate_ui_delegate_unittest.cc" ]
Nico 2016/05/18 13:19:23 This file is built unconditionally in the gyp buil
97 deps += [ "//components/infobars/core" ]
98 }
93 } 99 }
OLDNEW
« no previous file with comments | « components/components_tests.gyp ('k') | components/translate/core/browser/language_state_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698