Chromium Code Reviews| 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 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 static_library("arc") { | 8 static_library("arc") { |
| 9 sources = [ | 9 sources = [ |
| 10 "arc_bridge_bootstrap.cc", | 10 "arc_bridge_bootstrap.cc", |
| 11 "arc_bridge_bootstrap.h", | 11 "arc_bridge_bootstrap.h", |
| 12 "arc_bridge_service.cc", | |
| 13 "arc_bridge_service.h", | |
| 14 "arc_bridge_service_impl.cc", | 12 "arc_bridge_service_impl.cc", |
| 15 "arc_bridge_service_impl.h", | 13 "arc_bridge_service_impl.h", |
| 16 "arc_service.cc", | |
| 17 "arc_service.h", | |
| 18 "arc_service_manager.cc", | 14 "arc_service_manager.cc", |
| 19 "arc_service_manager.h", | 15 "arc_service_manager.h", |
| 20 "audio/arc_audio_bridge.cc", | 16 "audio/arc_audio_bridge.cc", |
| 21 "audio/arc_audio_bridge.h", | 17 "audio/arc_audio_bridge.h", |
| 22 "bitmap/bitmap_type_converters.cc", | |
| 23 "bitmap/bitmap_type_converters.h", | |
| 24 "bluetooth/arc_bluetooth_bridge.cc", | 18 "bluetooth/arc_bluetooth_bridge.cc", |
| 25 "bluetooth/arc_bluetooth_bridge.h", | 19 "bluetooth/arc_bluetooth_bridge.h", |
| 26 "bluetooth/bluetooth_type_converters.cc", | 20 "bluetooth/bluetooth_type_converters.cc", |
| 27 "bluetooth/bluetooth_type_converters.h", | 21 "bluetooth/bluetooth_type_converters.h", |
| 28 "clipboard/arc_clipboard_bridge.cc", | 22 "clipboard/arc_clipboard_bridge.cc", |
| 29 "clipboard/arc_clipboard_bridge.h", | 23 "clipboard/arc_clipboard_bridge.h", |
| 30 "crash_collector/arc_crash_collector_bridge.cc", | 24 "crash_collector/arc_crash_collector_bridge.cc", |
| 31 "crash_collector/arc_crash_collector_bridge.h", | 25 "crash_collector/arc_crash_collector_bridge.h", |
| 32 "ime/arc_ime_bridge.h", | 26 "ime/arc_ime_bridge.h", |
| 33 "ime/arc_ime_bridge_impl.cc", | 27 "ime/arc_ime_bridge_impl.cc", |
| (...skipping 24 matching lines...) Expand all Loading... | |
| 58 "set_wallpaper_delegate.h", | 52 "set_wallpaper_delegate.h", |
| 59 "storage_manager/arc_storage_manager.cc", | 53 "storage_manager/arc_storage_manager.cc", |
| 60 "storage_manager/arc_storage_manager.h", | 54 "storage_manager/arc_storage_manager.h", |
| 61 "user_data/arc_user_data_service.cc", | 55 "user_data/arc_user_data_service.cc", |
| 62 "user_data/arc_user_data_service.h", | 56 "user_data/arc_user_data_service.h", |
| 63 "window_manager/arc_window_manager_bridge.cc", | 57 "window_manager/arc_window_manager_bridge.cc", |
| 64 "window_manager/arc_window_manager_bridge.h", | 58 "window_manager/arc_window_manager_bridge.h", |
| 65 ] | 59 ] |
| 66 | 60 |
| 67 deps = [ | 61 deps = [ |
| 62 ":arc_base", | |
| 68 "//ash:ash", | 63 "//ash:ash", |
| 69 "//base", | 64 "//base", |
| 70 "//chromeos", | 65 "//chromeos", |
| 71 "//chromeos:power_manager_proto", | 66 "//chromeos:power_manager_proto", |
| 72 "//components/exo", | 67 "//components/exo", |
| 73 "//components/google/core/browser", | 68 "//components/google/core/browser", |
| 74 "//components/onc", | 69 "//components/onc", |
| 75 "//components/prefs", | 70 "//components/prefs", |
| 76 "//components/signin/core/account_id", | 71 "//components/signin/core/account_id", |
| 77 "//components/user_manager", | 72 "//components/user_manager", |
| (...skipping 12 matching lines...) Expand all Loading... | |
| 90 "//ui/events:dom_keycode_converter", | 85 "//ui/events:dom_keycode_converter", |
| 91 "//ui/keyboard:keyboard", | 86 "//ui/keyboard:keyboard", |
| 92 "//url:url", | 87 "//url:url", |
| 93 ] | 88 ] |
| 94 | 89 |
| 95 public_deps = [ | 90 public_deps = [ |
| 96 ":arc_bindings", | 91 ":arc_bindings", |
| 97 ] | 92 ] |
| 98 } | 93 } |
| 99 | 94 |
| 95 static_library("arc_base") { | |
| 96 sources = [ | |
| 97 "arc_bridge_service.cc", | |
| 98 "arc_bridge_service.h", | |
| 99 "arc_service.cc", | |
| 100 "arc_service.h", | |
| 101 "bitmap/bitmap_type_converters.cc", | |
| 102 "bitmap/bitmap_type_converters.h", | |
|
Luis Héctor Chávez
2016/06/27 22:07:11
These two files don't seem to be very base-y. Can
xiyuan
2016/06/27 22:24:07
Added an arc_bitmap target for them.
| |
| 103 ] | |
| 104 | |
| 105 deps = [ | |
| 106 "//base", | |
| 107 "//chromeos", | |
| 108 "//skia", | |
| 109 ] | |
| 110 | |
| 111 public_deps = [ | |
| 112 ":arc_bindings", | |
| 113 ] | |
| 114 } | |
| 115 | |
| 100 mojom("arc_bindings") { | 116 mojom("arc_bindings") { |
| 101 sources = [ | 117 sources = [ |
| 102 "common/app.mojom", | 118 "common/app.mojom", |
| 103 "common/arc_bridge.mojom", | 119 "common/arc_bridge.mojom", |
| 104 "common/audio.mojom", | 120 "common/audio.mojom", |
| 105 "common/auth.mojom", | 121 "common/auth.mojom", |
| 106 "common/bitmap.mojom", | 122 "common/bitmap.mojom", |
| 107 "common/bluetooth.mojom", | 123 "common/bluetooth.mojom", |
| 108 "common/clipboard.mojom", | 124 "common/clipboard.mojom", |
| 109 "common/crash_collector.mojom", | 125 "common/crash_collector.mojom", |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 142 "test/fake_arc_bridge_service.cc", | 158 "test/fake_arc_bridge_service.cc", |
| 143 "test/fake_arc_bridge_service.h", | 159 "test/fake_arc_bridge_service.h", |
| 144 "test/fake_notifications_instance.cc", | 160 "test/fake_notifications_instance.cc", |
| 145 "test/fake_notifications_instance.h", | 161 "test/fake_notifications_instance.h", |
| 146 "test/fake_policy_instance.cc", | 162 "test/fake_policy_instance.cc", |
| 147 "test/fake_policy_instance.h", | 163 "test/fake_policy_instance.h", |
| 148 ] | 164 ] |
| 149 | 165 |
| 150 deps = [ | 166 deps = [ |
| 151 ":arc", | 167 ":arc", |
| 168 ":arc_base", | |
| 152 ":arc_bindings", | 169 ":arc_bindings", |
| 153 "//base", | 170 "//base", |
| 154 "//mojo/common:common_base", | 171 "//mojo/common:common_base", |
| 155 ] | 172 ] |
| 156 } | 173 } |
| 157 | 174 |
| 158 source_set("unit_tests") { | 175 source_set("unit_tests") { |
| 159 testonly = true | 176 testonly = true |
| 160 sources = [ | 177 sources = [ |
| 161 "arc_bridge_service_unittest.cc", | 178 "arc_bridge_service_unittest.cc", |
| (...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 226 ] | 243 ] |
| 227 | 244 |
| 228 deps = [ | 245 deps = [ |
| 229 ":arc_standalone", | 246 ":arc_standalone", |
| 230 ":arc_standalone_service", | 247 ":arc_standalone_service", |
| 231 "//base", | 248 "//base", |
| 232 "//ipc:ipc", | 249 "//ipc:ipc", |
| 233 "//mojo/edk/system", | 250 "//mojo/edk/system", |
| 234 ] | 251 ] |
| 235 } | 252 } |
| OLD | NEW |