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

Unified Diff: components/arc/BUILD.gn

Issue 2496973002: arc: Partially migrate mojo types (Closed)
Patch Set: Fixed nit 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..7bb6f39296edeeb41b1985172bd94373f96ce3df 100644
--- a/components/arc/BUILD.gn
+++ b/components/arc/BUILD.gn
@@ -71,7 +71,6 @@ static_library("arc") {
public_deps = [
":arc_base",
- ":arc_bindings",
]
deps = [
@@ -123,19 +122,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 +156,23 @@ mojom("arc_bindings") {
use_new_wrapper_types = false
}
+mojom("arc_bindings") {
+ sources = [
+ "common/arc_bridge.mojom",
+ "common/audio.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 = [
@@ -182,10 +192,11 @@ static_library("arc_test_support") {
"test/fake_policy_instance.h",
]
- deps = [
+ public_deps = [
":arc",
- ":arc_base",
- ":arc_bindings",
+ ]
+
+ deps = [
"//base",
"//mojo/common:common_base",
]
@@ -209,8 +220,6 @@ source_set("unit_tests") {
]
deps = [
- ":arc",
- ":arc_bindings",
":arc_test_support",
"//base",
"//chromeos",

Powered by Google App Engine
This is Rietveld 408576698