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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/components_tests.gyp ('k') | components/translate/core/browser/language_state_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/translate/core/browser/BUILD.gn
diff --git a/components/translate/core/browser/BUILD.gn b/components/translate/core/browser/BUILD.gn
index d14062ca06a495887ad39350f3a86bae916c5a11..02c1228c9a15da54fb5a495f061d20308141407e 100644
--- a/components/translate/core/browser/BUILD.gn
+++ b/components/translate/core/browser/BUILD.gn
@@ -76,6 +76,8 @@ source_set("unit_tests") {
testonly = true
sources = [
"language_state_unittest.cc",
+ "mock_translate_driver.cc",
+ "mock_translate_driver.h",
"translate_browser_metrics_unittest.cc",
"translate_language_list_unittest.cc",
"translate_prefs_unittest.cc",
@@ -90,4 +92,8 @@ source_set("unit_tests") {
"//net:test_support",
"//testing/gtest",
]
+ if (!use_aura) {
+ sources += [ "translate_ui_delegate_unittest.cc" ]
Nico 2016/05/18 13:19:23 This file is built unconditionally in the gyp buil
+ deps += [ "//components/infobars/core" ]
+ }
}
« 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