1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118
|
# Copyright 2024 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
assert(is_chromeos)
static_library("mako_bubble") {
sources = [
"draggable_bubble_dialog_view.cc",
"draggable_bubble_dialog_view.h",
"mako_bubble_event_handler.cc",
"mako_bubble_event_handler.h",
]
public_deps = [
"//ash",
"//ash/constants",
"//base",
"//chrome/browser/ui/views/bubble",
"//chrome/browser/ui/webui/top_chrome",
"//ui/views",
"//ui/views/controls/webview",
"//ui/webui",
]
deps = [
"//skia:skia_core_public_headers",
"//third_party/abseil-cpp:absl",
"//third_party/blink/public/common:headers",
"//third_party/blink/public/mojom:mojom_core",
"//ui/base/cursor",
"//ui/display",
"//ui/events",
"//ui/gfx/geometry",
]
}
static_library("mako") {
sources = [
"mako_bubble_coordinator.cc",
"mako_bubble_coordinator.h",
"mako_consent_view.cc",
"mako_consent_view.h",
"mako_rewrite_view.cc",
"mako_rewrite_view.h",
"mako_ui.cc",
"mako_ui.h",
"url_constants.cc",
"url_constants.h",
]
public_deps = [
"//base",
"//chromeos/components/magic_boost/public/cpp",
"//skia:skia_core_public_headers",
"//third_party/abseil-cpp:absl",
"//ui/base/cursor",
"//ui/base/metadata",
"//ui/events",
"//ui/gfx/geometry",
"//ui/webui/resources/cr_components/color_change_listener:mojom",
]
deps = [
":mako_bubble",
"//ash",
"//ash/constants",
"//chrome/app:generated_resources",
"//chrome/browser:browser_process",
"//chrome/browser/ash/input_method",
"//chrome/browser/ash/lobster",
"//chrome/browser/profiles:profile",
"//chrome/browser/resources/chromeos/mako:resources",
"//chrome/browser/ui/webui/ash/lobster:lobster",
"//chrome/common:mojo_bindings",
"//chromeos/ash/services/orca/public/mojom",
"//chromeos/constants",
"//components/input",
"//content/public/browser",
"//content/public/common",
"//net",
"//ui/aura",
"//ui/base/ime/ash",
"//ui/display",
"//ui/webui",
]
allow_circular_includes_from = [
"//chrome/browser/ash/input_method",
"//chrome/browser/ash/lobster",
]
}
source_set("unit_tests") {
testonly = true
sources = [
"mako_bubble_event_handler_unittest.cc",
"mako_rewrite_view_unittest.cc",
]
deps = [
":mako",
":mako_bubble",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chrome/browser/ui",
"//chrome/test:test_support",
"//skia:skia_core_public_headers",
"//testing/gmock",
"//testing/gtest",
"//ui/display",
"//ui/events",
"//ui/events/types:headers",
"//ui/gfx/geometry",
]
}
|