summaryrefslogtreecommitdiff
path: root/chromium/ash/public/cpp/external_arc
diff options
context:
space:
mode:
authorAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-12 14:27:29 +0200
committerAllan Sandfeld Jensen <allan.jensen@qt.io>2020-10-13 09:35:20 +0000
commitc30a6232df03e1efbd9f3b226777b07e087a1122 (patch)
treee992f45784689f373bcc38d1b79a239ebe17ee23 /chromium/ash/public/cpp/external_arc
parent7b5b123ac58f58ffde0f4f6e488bcd09aa4decd3 (diff)
downloadqtwebengine-chromium-85-based.tar.gz
BASELINE: Update Chromium to 85.0.4183.14085-based
Change-Id: Iaa42f4680837c57725b1344f108c0196741f6057 Reviewed-by: Allan Sandfeld Jensen <allan.jensen@qt.io>
Diffstat (limited to 'chromium/ash/public/cpp/external_arc')
-rw-r--r--chromium/ash/public/cpp/external_arc/BUILD.gn89
1 files changed, 89 insertions, 0 deletions
diff --git a/chromium/ash/public/cpp/external_arc/BUILD.gn b/chromium/ash/public/cpp/external_arc/BUILD.gn
new file mode 100644
index 00000000000..036ad65ec52
--- /dev/null
+++ b/chromium/ash/public/cpp/external_arc/BUILD.gn
@@ -0,0 +1,89 @@
+# Copyright 2020 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/ui.gni")
+static_library("external_arc") {
+ sources = [
+ "keyboard/arc_input_method_surface_manager.cc",
+ "keyboard/arc_input_method_surface_manager.h",
+ "message_center/arc_notification_content_view.cc",
+ "message_center/arc_notification_content_view.h",
+ "message_center/arc_notification_delegate.cc",
+ "message_center/arc_notification_delegate.h",
+ "message_center/arc_notification_item.h",
+ "message_center/arc_notification_item_impl.cc",
+ "message_center/arc_notification_item_impl.h",
+ "message_center/arc_notification_manager.cc",
+ "message_center/arc_notification_manager.h",
+ "message_center/arc_notification_surface.h",
+ "message_center/arc_notification_surface_impl.cc",
+ "message_center/arc_notification_surface_impl.h",
+ "message_center/arc_notification_surface_manager.cc",
+ "message_center/arc_notification_surface_manager.h",
+ "message_center/arc_notification_surface_manager_impl.cc",
+ "message_center/arc_notification_surface_manager_impl.h",
+ "message_center/arc_notification_view.cc",
+ "message_center/arc_notification_view.h",
+ ]
+ defines = [ "ASH_PUBLIC_IMPLEMENTATION" ]
+ deps = [
+ "//ash/public/cpp",
+ "//base",
+ "//components/account_id",
+ "//components/arc:arc_metrics_constants",
+ "//components/arc:connection_holder",
+ "//components/arc/mojom:notifications",
+ "//components/exo",
+ "//mojo/public/cpp/system",
+ "//ui/message_center",
+ "//ui/views",
+ "//ui/wm",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "keyboard/arc_input_method_surface_manager_unittest.cc",
+ "message_center/arc_notification_content_view_unittest.cc",
+ "message_center/arc_notification_manager_unittest.cc",
+ "message_center/arc_notification_view_unittest.cc",
+ ]
+ public_deps = [ "//ash:test_support" ]
+ deps = [
+ ":external_arc",
+ ":test_support",
+ "//ash",
+ "//ash:test_support",
+ "//ash/public/cpp",
+ "//base/test:test_support",
+ "//components/arc:connection_holder",
+ "//components/arc:notification_test_support",
+ "//components/exo",
+ "//components/exo:test_support",
+ "//testing/gmock",
+ "//ui/aura:test_support",
+ "//ui/base:test_support",
+ "//ui/events:test_support",
+ "//ui/message_center:test_support",
+ "//ui/views:test_support",
+ ]
+
+ assert_no_deps = [ "//compponents/arc:arc_base" ]
+}
+
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "message_center/mock_arc_notification_item.cc",
+ "message_center/mock_arc_notification_item.h",
+ "message_center/mock_arc_notification_surface.cc",
+ "message_center/mock_arc_notification_surface.h",
+ ]
+ deps = [
+ ":external_arc",
+ "//ash/public/cpp",
+ "//base",
+ "//ui/aura",
+ ]
+}