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
|
# 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("apps") {
sources = [
"android_apps_handler.cc",
"android_apps_handler.h",
"app_notification_handler.cc",
"app_notification_handler.h",
"app_parental_controls_handler.cc",
"app_parental_controls_handler.h",
"apps_section.cc",
"apps_section.h",
"plugin_vm_handler.cc",
"plugin_vm_handler.h",
]
public_deps = [
"//ash/public/cpp",
"//base",
"//chrome/browser/ash/arc/session",
"//chrome/browser/ui/webui/ash/settings/pages/apps/mojom",
"//chrome/browser/ui/webui/settings",
"//components/prefs",
"//components/services/app_service",
"//mojo/public/cpp/bindings",
]
deps = [
"//ash/constants",
"//chrome/app:generated_resources",
"//chrome/browser:browser_public_dependencies",
"//chrome/browser/apps/app_service",
"//chrome/browser/ash/app_list/arc",
"//chrome/browser/ash/arc",
"//chrome/browser/ash/arc:arc_util",
"//chrome/browser/ash/child_accounts/on_device_controls",
"//chrome/browser/ash/plugin_vm",
"//chrome/browser/profiles:profile",
"//chrome/browser/resources/ash/settings:resources",
"//chrome/browser/ui/webui/ash/settings/pages/crostini",
"//chrome/browser/ui/webui/ash/settings/search",
"//chrome/browser/web_applications",
"//chrome/common",
"//chromeos/ash/experiences/arc",
"//chromeos/ash/experiences/arc:arc_app_constants",
"//components/strings:components_strings",
"//content/public/browser",
"//content/public/common",
"//third_party/re2",
"//ui/base",
"//ui/chromeos",
"//ui/display",
"//ui/events:event_constants",
"//ui/webui",
]
}
source_set("browser_tests") {
testonly = true
defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]
sources = [ "app_parental_controls_handler_browsertest.cc" ]
deps = [
":apps",
"//ash/constants",
"//base",
"//base/test:test_support",
"//chrome/browser",
"//chrome/browser/ash/app_list/arc",
"//chrome/browser/ash/arc",
"//chrome/browser/ash/arc:arc_util",
"//chrome/browser/ash/arc/session",
"//chrome/browser/ash/system_web_apps",
"//chrome/browser/ui",
"//chrome/browser/ui/webui/ash/settings/services/settings_manager",
"//chrome/browser/web_applications",
"//chrome/browser/web_applications:web_applications_test_support",
"//chrome/test:test_support_ui",
"//chromeos/ash/experiences/arc:arc_test_support",
"//chromeos/ash/experiences/arc:notification_test_support",
"//chromeos/ash/experiences/arc/mojom",
"//components/prefs",
"//content/test:test_support",
"//mojo/public/cpp/bindings",
"//testing/gtest",
]
}
source_set("unit_tests") {
testonly = true
sources = [ "app_notification_handler_unittest.cc" ]
deps = [
":apps",
"//ash/public/cpp",
"//ash/public/cpp:test_support",
"//base",
"//chrome/browser/apps/app_service",
"//chrome/browser/apps/app_service:test_support",
"//chrome/browser/ui/webui/ash/settings/pages/apps/mojom",
"//chrome/common",
"//chrome/test:test_support",
"//components/services/app_service",
"//content/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/abseil-cpp:absl",
]
}
|