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

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

Issue 2557613004: [ios] Adds test hooks to enable/disable functionality while testing. (Closed)
Patch Set: Created 4 years 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 | « no previous file | ios/chrome/app/tests_fake_hook.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/app/BUILD.gn
diff --git a/ios/chrome/app/BUILD.gn b/ios/chrome/app/BUILD.gn
index bd7b4910597e74d825bad2026ccefde0ae63871b..f695ea5f99d28108c9e96c8b6ad3d9a805e6cc76 100644
--- a/ios/chrome/app/BUILD.gn
+++ b/ios/chrome/app/BUILD.gn
@@ -32,3 +32,20 @@ source_set("unit_tests") {
"//testing/gtest",
]
}
+
+source_set("tests_hook") {
+ # This target is intentionally not test-only, as the main app depends on it.
+ sources = [
+ "tests_hook.h",
+ ]
+}
+
+source_set("tests_fake_hook") {
+ # This target is intentionally not test-only, as the main app depends on it.
+ sources = [
+ "tests_fake_hook.mm",
+ ]
+ deps = [
+ ":tests_hook",
+ ]
+}
« no previous file with comments | « no previous file | ios/chrome/app/tests_fake_hook.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698