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", | |
44 "common/arc_bridge.mojom", | 43 "common/arc_bridge.mojom", |
45 "common/input.mojom", | |
46 "common/notifications.mojom", | |
47 "common/power.mojom", | |
48 "common/process.mojom", | |
49 "common/settings.mojom", | |
50 ] | 44 ] |
51 } | 45 } |
52 | 46 |
53 static_library("arc_test_support") { | 47 static_library("arc_test_support") { |
54 testonly = true | 48 testonly = true |
55 sources = [ | 49 sources = [ |
56 "test/fake_app_instance.cc", | |
57 "test/fake_app_instance.h", | |
58 "test/fake_arc_bridge_instance.cc", | 50 "test/fake_arc_bridge_instance.cc", |
59 "test/fake_arc_bridge_instance.h", | 51 "test/fake_arc_bridge_instance.h", |
60 "test/fake_arc_bridge_service.cc", | 52 "test/fake_arc_bridge_service.cc", |
61 "test/fake_arc_bridge_service.h", | 53 "test/fake_arc_bridge_service.h", |
62 ] | 54 ] |
63 | 55 |
64 deps = [ | 56 deps = [ |
65 ":arc", | 57 ":arc", |
66 ":arc_bindings", | 58 ":arc_bindings", |
67 "//base", | 59 "//base", |
68 "//mojo/common:common_base", | |
69 ] | 60 ] |
70 } | 61 } |
71 | 62 |
72 source_set("unit_tests") { | 63 source_set("unit_tests") { |
73 testonly = true | 64 testonly = true |
74 sources = [ | 65 sources = [ |
75 "arc_bridge_service_unittest.cc", | 66 "arc_bridge_service_unittest.cc", |
76 ] | 67 ] |
77 | 68 |
78 deps = [ | 69 deps = [ |
79 ":arc", | 70 ":arc", |
80 ":arc_bindings", | 71 ":arc_bindings", |
81 ":arc_test_support", | 72 ":arc_test_support", |
82 "//base", | 73 "//base", |
83 "//chromeos", | 74 "//chromeos", |
84 "//ipc/mojo:mojo", | 75 "//ipc/mojo:mojo", |
85 "//mojo/public/cpp/environment:environment", | 76 "//mojo/public/cpp/environment:environment", |
86 "//mojo/public/cpp/system:system", | 77 "//mojo/public/cpp/system:system", |
87 "//testing/gtest", | 78 "//testing/gtest", |
88 "//ui/aura", | 79 "//ui/aura", |
89 "//ui/events", | 80 "//ui/events", |
90 "//ui/events:dom_keycode_converter", | 81 "//ui/events:dom_keycode_converter", |
91 ] | 82 ] |
92 } | 83 } |
OLD | NEW |