| # 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", |
| ] |
| } |