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

Unified Diff: ios/chrome/test/BUILD.gn

Issue 2443373002: Split //ios/chrome/browser in multiple targets. (Closed)
Patch Set: Rebase Created 4 years, 2 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
Index: ios/chrome/test/BUILD.gn
diff --git a/ios/chrome/test/BUILD.gn b/ios/chrome/test/BUILD.gn
index f0148cb870def22f16d6f823665553c01ab3bff6..1041977367e88551c107551ae3f2126428b8432f 100644
--- a/ios/chrome/test/BUILD.gn
+++ b/ios/chrome/test/BUILD.gn
@@ -2,7 +2,16 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
-source_set("test") {
+# TODO(crbug.com/658242): Temporary target to help transition until all the
+# targets have been modified to depends on :test_support instead.
+group("test") {
+ testonly = true
+ public_deps = [
+ ":test_support",
+ ]
+}
+
+source_set("test_support") {
testonly = true
sources = [
"block_cleanup_test.h",
@@ -46,3 +55,15 @@ source_set("run_all_unittests") {
"//base/test:test_support",
]
}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "google_toolbox_unittest.mm",
+ ]
+ deps = [
+ "//base",
+ "//testing/gtest",
+ "//third_party/google_toolbox_for_mac",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698