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

Unified Diff: ios/clean/chrome/browser/BUILD.gn

Issue 2626033002: [Clean] Add unittest target and BrowserCoordinator tests. (Closed)
Patch Set: Review feedback. Created 3 years, 11 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 | « ios/BUILD.gn ('k') | ios/clean/chrome/browser/browser_coordinator.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/clean/chrome/browser/BUILD.gn
diff --git a/ios/clean/chrome/browser/BUILD.gn b/ios/clean/chrome/browser/BUILD.gn
index e167cbe9ddb805b3d476b7030b955911848d5a72..eaab38f37ea7cc2be262bf51a15a99ce4bf80a2e 100644
--- a/ios/clean/chrome/browser/BUILD.gn
+++ b/ios/clean/chrome/browser/BUILD.gn
@@ -14,7 +14,26 @@ source_set("browser") {
deps = [
"//base",
+ "//ios/chrome/app:tests_fake_hook",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
+ "//ios/chrome/browser/tabs:tabs_internal",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "browser_coordinator_unittest.mm",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+
+ deps = [
+ ":browser",
+ "//base",
+ "//base/test:test_support",
+ "//ios/chrome/test/base",
+ "//testing/gtest",
]
}
« no previous file with comments | « ios/BUILD.gn ('k') | ios/clean/chrome/browser/browser_coordinator.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698