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

Unified Diff: components/arc/BUILD.gn

Issue 2496973002: arc: Partially migrate mojo types (Closed)
Patch Set: Use references instead of copying std::vector 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: components/arc/BUILD.gn
diff --git a/components/arc/BUILD.gn b/components/arc/BUILD.gn
index 78e34d439c431e2b35ce63bbacb50d7f11ed1e35..373a1b05b33718cfa992aaa9172bc3242201cfbf 100644
--- a/components/arc/BUILD.gn
+++ b/components/arc/BUILD.gn
@@ -123,19 +123,13 @@ static_library("arc_base") {
]
}
-mojom("arc_bindings") {
+# TODO(crbug.com/662510): Remove this altogether.
+mojom("arc_bindings_old_types") {
sources = [
"common/app.mojom",
- "common/arc_bridge.mojom",
- "common/audio.mojom",
- "common/auth.mojom",
"common/bitmap.mojom",
"common/bluetooth.mojom",
- "common/boot_phase_monitor.mojom",
- "common/clipboard.mojom",
- "common/crash_collector.mojom",
"common/enterprise_reporting.mojom",
- "common/file_system.mojom",
"common/ime.mojom",
"common/intent_helper.mojom",
"common/metrics.mojom",
@@ -163,6 +157,22 @@ mojom("arc_bindings") {
use_new_wrapper_types = false
}
+mojom("arc_bindings") {
+ sources = [
+ "common/arc_bridge.mojom",
+ "common/auth.mojom",
+ "common/boot_phase_monitor.mojom",
+ "common/clipboard.mojom",
+ "common/crash_collector.mojom",
+ "common/file_system.mojom",
+ ]
+
+ public_deps = [
+ ":arc_bindings_old_types",
+ "//mojo/common:common_custom_types",
+ ]
+}
+
static_library("arc_test_support") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698