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

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: Fixed GN build 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
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 17 matching lines...) Expand all
28 "//ipc/mojo:mojo", 28 "//ipc/mojo:mojo",
29 "//third_party/mojo/src/mojo/edk/system", 29 "//third_party/mojo/src/mojo/edk/system",
30 "//ui/aura", 30 "//ui/aura",
31 "//ui/events", 31 "//ui/events",
32 "//ui/events:dom_keycode_converter", 32 "//ui/events:dom_keycode_converter",
33 ] 33 ]
34 } 34 }
35 35
36 mojom("arc_bindings") { 36 mojom("arc_bindings") {
37 sources = [ 37 sources = [
38 "common/app.mojom",
38 "common/arc_bridge.mojom", 39 "common/arc_bridge.mojom",
40 "common/input.mojom",
41 "common/notifications.mojom",
42 "common/power.mojom",
43 "common/process_list.mojom",
39 ] 44 ]
40 } 45 }
41 46
42 static_library("arc_test_support") { 47 static_library("arc_test_support") {
43 testonly = true 48 testonly = true
44 sources = [ 49 sources = [
50 "test/fake_app_instance.cc",
51 "test/fake_app_instance.h",
45 "test/fake_arc_bridge_instance.cc", 52 "test/fake_arc_bridge_instance.cc",
46 "test/fake_arc_bridge_instance.h", 53 "test/fake_arc_bridge_instance.h",
47 "test/fake_arc_bridge_service.cc", 54 "test/fake_arc_bridge_service.cc",
48 "test/fake_arc_bridge_service.h", 55 "test/fake_arc_bridge_service.h",
49 ] 56 ]
50 57
51 deps = [ 58 deps = [
52 ":arc", 59 ":arc",
53 ":arc_bindings", 60 ":arc_bindings",
54 "//base", 61 "//base",
62 "//mojo/common:common_base",
55 ] 63 ]
56 } 64 }
57 65
58 source_set("unit_tests") { 66 source_set("unit_tests") {
59 testonly = true 67 testonly = true
60 sources = [ 68 sources = [
61 "arc_bridge_service_unittest.cc", 69 "arc_bridge_service_unittest.cc",
62 ] 70 ]
63 71
64 deps = [ 72 deps = [
65 ":arc", 73 ":arc",
66 ":arc_bindings", 74 ":arc_bindings",
67 ":arc_test_support", 75 ":arc_test_support",
68 "//base", 76 "//base",
69 "//chromeos", 77 "//chromeos",
70 "//ipc/mojo:mojo", 78 "//ipc/mojo:mojo",
71 "//mojo/public/cpp/environment:environment", 79 "//mojo/public/cpp/environment:environment",
72 "//mojo/public/cpp/system:system", 80 "//mojo/public/cpp/system:system",
73 "//testing/gtest", 81 "//testing/gtest",
74 "//ui/aura", 82 "//ui/aura",
75 "//ui/events", 83 "//ui/events",
76 "//ui/events:dom_keycode_converter", 84 "//ui/events:dom_keycode_converter",
77 ] 85 ]
78 } 86 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698