1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- # Copyright 2018 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.
- static_library("webui") {
- sources = [
- "mojo_bubble_web_ui_controller.cc",
- "mojo_bubble_web_ui_controller.h",
- "mojo_web_ui_controller.cc",
- "mojo_web_ui_controller.h",
- "untrusted_bubble_web_ui_controller.cc",
- "untrusted_bubble_web_ui_controller.h",
- "untrusted_web_ui_controller.cc",
- "untrusted_web_ui_controller.h",
- "untrusted_web_ui_controller_factory.cc",
- "untrusted_web_ui_controller_factory.h",
- "webui_allowlist.cc",
- "webui_allowlist.h",
- "webui_allowlist_provider.cc",
- "webui_allowlist_provider.h",
- ]
- deps = [
- "//base",
- "//components/content_settings/core/browser",
- "//content/public/browser",
- "//services/service_manager/public/cpp",
- ]
- public_deps = [
- "//ui/webui/resources/js/browser_command:mojo_bindings",
- "//ui/webui/resources/js/metrics_reporter:mojo_bindings",
- ]
- if (!is_android && !is_ios) {
- public_deps += [
- "//ui/webui/resources/cr_components/color_change_listener:mojom",
- "//ui/webui/resources/cr_components/customize_themes:mojom",
- "//ui/webui/resources/cr_components/history_clusters:mojo_bindings",
- "//ui/webui/resources/cr_components/most_visited:mojom",
- ]
- }
- }
- source_set("test_support") {
- testonly = true
- sources = [
- "untrusted_web_ui_browsertest_util.cc",
- "untrusted_web_ui_browsertest_util.h",
- ]
- deps = [
- ":webui",
- "//base",
- "//content/public/browser",
- "//content/test:test_support",
- ]
- }
|