blob: aa466e856e678f047f71e304dcbdc4e786705a9f [file] [log] [blame]
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
import("//build/config/jumbo.gni")
import("//build/config/ui.gni")
import("//services/catalog/public/tools/catalog.gni")
import("//services/service_manager/public/service_manifest.gni")
import("//testing/test.gni")
import("//tools/grit/repack.gni")
jumbo_component("mus") {
output_name = "ui_views_mus_lib"
sources = [
"aura_init.cc",
"aura_init.h",
"ax_remote_host.cc",
"ax_remote_host.h",
"ax_tree_source_mus.cc",
"ax_tree_source_mus.h",
"desktop_window_tree_host_mus.cc",
"desktop_window_tree_host_mus.h",
"mus_client.cc",
"mus_client.h",
"mus_client_observer.h",
"mus_export.h",
"mus_property_mirror.h",
"mus_views_delegate.cc",
"mus_views_delegate.h",
"screen_mus.cc",
"screen_mus.h",
"screen_mus_delegate.h",
"window_manager_constants_converters.cc",
"window_manager_constants_converters.h",
"window_manager_frame_values.cc",
"window_manager_frame_values.h",
]
defines = [ "VIEWS_MUS_IMPLEMENTATION" ]
public_deps = [
":resources",
"//services/ws/public/cpp",
"//ui/aura",
]
deps = [
"//base",
"//base:i18n",
"//base/third_party/dynamic_annotations",
"//cc",
"//mojo/public/cpp/bindings",
"//net",
"//services/catalog/public/cpp",
"//services/catalog/public/mojom:constants",
"//services/service_manager/public/cpp",
"//services/service_manager/public/mojom",
"//services/ws/public/cpp",
"//services/ws/public/cpp/input_devices",
"//services/ws/public/mojom",
"//skia",
"//third_party/icu",
"//ui/accessibility",
"//ui/accessibility/mojom",
"//ui/aura",
"//ui/base/mojo:lib",
"//ui/compositor",
"//ui/display",
"//ui/events",
"//ui/events:events_base",
"//ui/gfx",
"//ui/gfx/geometry",
"//ui/gfx/geometry/mojo",
"//ui/gl",
"//ui/native_theme",
"//ui/platform_window",
"//ui/platform_window/mojo",
"//ui/platform_window/mojo:interfaces",
"//ui/platform_window/stub",
"//ui/views",
"//ui/wm",
"//ui/wm/public",
]
}
repack("resources") {
sources = [
"$root_gen_dir/ui/resources/ui_resources_100_percent.pak",
"$root_gen_dir/ui/strings/app_locale_settings_en-US.pak",
"$root_gen_dir/ui/strings/ui_strings_en-US.pak",
"$root_gen_dir/ui/views/resources/views_resources_100_percent.pak",
]
output = "$root_out_dir/views_mus_resources.pak"
deps = [
"//ui/resources",
"//ui/strings",
"//ui/views/resources",
]
}
group("for_mojo_application") {
public_deps = [
":mus",
]
}