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

Side by Side Diff: components/arc/BUILD.gn

Issue 1523643002: arc-bridge: Move most methods to Mojo interfaces (Closed) Base URL: https://chromium.googlesource.com/a/chromium/src.git@master
Patch Set: Rebased to ToT Created 5 years 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 unified diff | Download patch
« no previous file with comments | « components/arc.gypi ('k') | components/arc/arc_bridge_service.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//mojo/public/tools/bindings/mojom.gni") 5 import("//mojo/public/tools/bindings/mojom.gni")
6 6
7 static_library("arc") { 7 static_library("arc") {
8 sources = [ 8 sources = [
9 "arc_bridge_bootstrap.cc", 9 "arc_bridge_bootstrap.cc",
10 "arc_bridge_bootstrap.h", 10 "arc_bridge_bootstrap.h",
(...skipping 22 matching lines...) Expand all
33 "//ui/events:dom_keycode_converter", 33 "//ui/events:dom_keycode_converter",
34 ] 34 ]
35 35
36 public_deps = [ 36 public_deps = [
37 ":arc_bindings", 37 ":arc_bindings",
38 ] 38 ]
39 } 39 }
40 40
41 mojom("arc_bindings") { 41 mojom("arc_bindings") {
42 sources = [ 42 sources = [
43 "common/app.mojom",
43 "common/arc_bridge.mojom", 44 "common/arc_bridge.mojom",
45 "common/input.mojom",
46 "common/notifications.mojom",
47 "common/power.mojom",
48 "common/process.mojom",
49 "common/settings.mojom",
44 ] 50 ]
45 } 51 }
46 52
47 static_library("arc_test_support") { 53 static_library("arc_test_support") {
48 testonly = true 54 testonly = true
49 sources = [ 55 sources = [
56 "test/fake_app_instance.cc",
57 "test/fake_app_instance.h",
50 "test/fake_arc_bridge_instance.cc", 58 "test/fake_arc_bridge_instance.cc",
51 "test/fake_arc_bridge_instance.h", 59 "test/fake_arc_bridge_instance.h",
52 "test/fake_arc_bridge_service.cc", 60 "test/fake_arc_bridge_service.cc",
53 "test/fake_arc_bridge_service.h", 61 "test/fake_arc_bridge_service.h",
54 ] 62 ]
55 63
56 deps = [ 64 deps = [
57 ":arc", 65 ":arc",
58 ":arc_bindings", 66 ":arc_bindings",
59 "//base", 67 "//base",
68 "//mojo/common:common_base",
60 ] 69 ]
61 } 70 }
62 71
63 source_set("unit_tests") { 72 source_set("unit_tests") {
64 testonly = true 73 testonly = true
65 sources = [ 74 sources = [
66 "arc_bridge_service_unittest.cc", 75 "arc_bridge_service_unittest.cc",
67 ] 76 ]
68 77
69 deps = [ 78 deps = [
70 ":arc", 79 ":arc",
71 ":arc_bindings", 80 ":arc_bindings",
72 ":arc_test_support", 81 ":arc_test_support",
73 "//base", 82 "//base",
74 "//chromeos", 83 "//chromeos",
75 "//ipc/mojo:mojo", 84 "//ipc/mojo:mojo",
76 "//mojo/public/cpp/environment:environment", 85 "//mojo/public/cpp/environment:environment",
77 "//mojo/public/cpp/system:system", 86 "//mojo/public/cpp/system:system",
78 "//testing/gtest", 87 "//testing/gtest",
79 "//ui/aura", 88 "//ui/aura",
80 "//ui/events", 89 "//ui/events",
81 "//ui/events:dom_keycode_converter", 90 "//ui/events:dom_keycode_converter",
82 ] 91 ]
83 } 92 }
OLDNEW
« no previous file with comments | « components/arc.gypi ('k') | components/arc/arc_bridge_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698