OLD | NEW |
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 Loading... |
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 } |
OLD | NEW |