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

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

Issue 2734863002: [ios] Adds a CommandDispatcher to proxy method calls to UI handlers. (Closed)
Patch Set: Fix GN. Created 3 years, 9 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/clean/chrome/browser/ui/commands/BUILD.gn
diff --git a/ios/clean/chrome/browser/ui/commands/BUILD.gn b/ios/clean/chrome/browser/ui/commands/BUILD.gn
index 8b12cb4a8a72c0ac921a78943b8e48a5a3f2b7a9..6ad215da5c1f54ebd6bc1230c69255812dddce46 100644
--- a/ios/clean/chrome/browser/ui/commands/BUILD.gn
+++ b/ios/clean/chrome/browser/ui/commands/BUILD.gn
@@ -4,11 +4,30 @@
source_set("commands") {
sources = [
+ "command_dispatcher.h",
+ "command_dispatcher.mm",
"settings_commands.h",
"tab_commands.h",
"tab_grid_commands.h",
"toolbar_commands.h",
]
+ deps = [
+ "//base",
+ ]
+
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "command_dispatcher_unittest.mm",
+ ]
+ deps = [
+ ":commands",
+ "//base",
+ "//testing/gtest",
+ ]
configs += [ "//build/config/compiler:enable_arc" ]
}

Powered by Google App Engine
This is Rietveld 408576698