| OLD | NEW |
| (Empty) |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 # Use of this source code is governed by a BSD-style license that can be | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 import("//build/config/ui.gni") | |
| 6 import("//mojo/public/tools/bindings/mojom.gni") | |
| 7 import("//services/shell/public/cpp/service.gni") | |
| 8 import("//services/shell/public/service_manifest.gni") | |
| 9 | |
| 10 source_set("lib") { | |
| 11 sources = [ | |
| 12 "keyboard_ui_mus.cc", | |
| 13 "keyboard_ui_mus.h", | |
| 14 "shell_delegate_mus.cc", | |
| 15 "shell_delegate_mus.h", | |
| 16 "stub_context_factory.cc", | |
| 17 "stub_context_factory.h", | |
| 18 "sysui_application.cc", | |
| 19 "sysui_application.h", | |
| 20 ] | |
| 21 | |
| 22 deps = [ | |
| 23 "//ash", | |
| 24 "//ash/public/interfaces", | |
| 25 "//cc", | |
| 26 "//cc/surfaces", | |
| 27 "//components/user_manager", | |
| 28 "//device/bluetooth", | |
| 29 "//mojo/common:common_base", | |
| 30 "//services/catalog/public/cpp", | |
| 31 "//services/shell/public/cpp", | |
| 32 "//services/tracing/public/cpp", | |
| 33 "//services/ui/common:mus_common", | |
| 34 "//services/ui/public/cpp", | |
| 35 "//services/ui/public/cpp/input_devices", | |
| 36 "//services/ui/public/interfaces", | |
| 37 "//ui/aura", | |
| 38 "//ui/events", | |
| 39 "//ui/events/devices", | |
| 40 "//ui/gfx", | |
| 41 "//ui/gfx/geometry", | |
| 42 "//ui/gfx/geometry/mojo", | |
| 43 "//ui/keyboard:mojom", | |
| 44 "//ui/message_center", | |
| 45 "//ui/platform_window/stub", | |
| 46 "//ui/resources", | |
| 47 "//ui/strings", | |
| 48 "//ui/views", | |
| 49 "//ui/views/mus:for_mojo_application", | |
| 50 "//ui/wm", | |
| 51 ] | |
| 52 | |
| 53 public_deps = [ | |
| 54 "//ash/public/interfaces", | |
| 55 "//mash/shelf/public/interfaces", | |
| 56 ] | |
| 57 | |
| 58 if (is_chromeos) { | |
| 59 deps += [ "//chromeos" ] | |
| 60 } | |
| 61 } | |
| 62 | |
| 63 service_manifest("manifest") { | |
| 64 name = "ash_sysui" | |
| 65 source = "manifest.json" | |
| 66 } | |
| 67 | |
| 68 service("sysui") { | |
| 69 output_name = "ash_sysui" | |
| 70 sources = [ | |
| 71 "main.cc", | |
| 72 ] | |
| 73 deps = [ | |
| 74 ":lib", | |
| 75 "//ash/common/strings:ash_test_strings", | |
| 76 "//ash/resources:ash_test_resources_100_percent", | |
| 77 "//ash/resources:ash_test_resources_200_percent", | |
| 78 "//services/shell/public/cpp", | |
| 79 ] | |
| 80 | |
| 81 data_deps = [ | |
| 82 ":manifest", | |
| 83 "//services/ui", | |
| 84 ] | |
| 85 | |
| 86 # TODO: Load locale-specific strings and explicit resource dependencies. | |
| 87 resources = [ | |
| 88 "$root_out_dir/ash_test_resources_100_percent.pak", | |
| 89 "$root_out_dir/ash_test_resources_200_percent.pak", | |
| 90 "$root_out_dir/ash_test_strings.pak", | |
| 91 ] | |
| 92 } | |
| OLD | NEW |