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

Unified Diff: ios/public/provider/chrome/browser/native_app_launcher/BUILD.gn

Issue 2529763002: Create FakeProviders for NativeAppMetadata and NativeAppManager (Closed)
Patch Set: Rebase and CL Feedback Created 4 years, 1 month 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/public/provider/chrome/browser/native_app_launcher/BUILD.gn
diff --git a/ios/public/provider/chrome/browser/native_app_launcher/BUILD.gn b/ios/public/provider/chrome/browser/native_app_launcher/BUILD.gn
index 130e0470e0f0eab79638ca20c9a2a92ec293faf1..42a109215ef0fd7bf205a81614e4b2375e0a7ca1 100644
--- a/ios/public/provider/chrome/browser/native_app_launcher/BUILD.gn
+++ b/ios/public/provider/chrome/browser/native_app_launcher/BUILD.gn
@@ -8,4 +8,21 @@ source_set("native_app_launcher") {
"native_app_types.h",
"native_app_whitelist_manager.h",
]
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "fake_native_app_metadata.h",
+ "fake_native_app_metadata.mm",
+ "fake_native_app_whitelist_manager.h",
+ "fake_native_app_whitelist_manager.mm",
+ ]
+ deps = [
+ "//base",
+ "//ios/public/provider/chrome/browser",
+ "//url",
+ ]
+ configs += [ "//build/config/compiler:enable_arc" ]
}

Powered by Google App Engine
This is Rietveld 408576698