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

Unified Diff: services/ui/public/interfaces/BUILD.gn

Issue 2505133003: Mojo C++ bindings: switch part of the services/ui/public/interfaces mojom target to use STL types. (Closed)
Patch Set: Merge branch 'master' into c139_wrappers_ui 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
« no previous file with comments | « no previous file | services/ui/ws/user_display_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/interfaces/BUILD.gn
diff --git a/services/ui/public/interfaces/BUILD.gn b/services/ui/public/interfaces/BUILD.gn
index dfd9be4782457a47e451e272e25465b40c9da067..beb10d6ebda58e8b32e11740d3e984515ed4c0be 100644
--- a/services/ui/public/interfaces/BUILD.gn
+++ b/services/ui/public/interfaces/BUILD.gn
@@ -5,11 +5,10 @@
import("//mojo/public/tools/bindings/mojom.gni")
import("//testing/test.gni")
-mojom("interfaces") {
+mojom("interfaces_use_new_wrappers") {
sources = [
"accessibility_manager.mojom",
"animations.mojom",
- "clipboard.mojom",
"cursor.mojom",
"display_manager.mojom",
"event_matcher.mojom",
@@ -19,10 +18,32 @@ mojom("interfaces") {
"mus_constants.mojom",
"user_access_manager.mojom",
"user_activity_monitor.mojom",
- "window_manager.mojom",
"window_manager_constants.mojom",
- "window_manager_window_tree_factory.mojom",
"window_server_test.mojom",
+ ]
+
+ import_dirs = [
+ get_path_info("../../../..", "abspath"),
+ "//mojo/services",
+ ]
+
+ public_deps = [
+ "//cc/ipc:interfaces",
+ "//gpu/ipc/common:interfaces",
+ "//services/ui/public/interfaces/display",
+ "//ui/events/mojo:interfaces",
+ "//ui/gfx/geometry/mojo",
+ "//ui/gfx/mojo",
+ "//ui/platform_window/mojo:interfaces",
+ ]
+}
+
+# TODO(yzshen): merge this target into the one above.
+mojom("interfaces") {
+ sources = [
+ "clipboard.mojom",
+ "window_manager.mojom",
+ "window_manager_window_tree_factory.mojom",
"window_tree.mojom",
"window_tree_constants.mojom",
"window_tree_host.mojom",
@@ -35,6 +56,7 @@ mojom("interfaces") {
public_deps = [
":constants",
+ ":interfaces_use_new_wrappers",
"//cc/ipc:interfaces",
"//gpu/ipc/common:interfaces",
"//services/ui/public/interfaces/display",
« no previous file with comments | « no previous file | services/ui/ws/user_display_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698