# 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.
import("//build/config/chromeos/ui_mode.gni")
assert(is_win || is_mac || is_linux || is_chromeos)
source_set("apps") {
sources = [
"app_info_dialog.h",
"chrome_app_delegate.h",
"chrome_app_window_client.h",
"directory_access_confirmation_dialog.h",
]
public_deps = [
"//base",
"//extensions/browser",
"//ui/base:types",
"//ui/gfx/geometry",
]
}
source_set("impl") {
sources = [
"chrome_app_delegate.cc",
"chrome_app_window_client.cc",
"directory_access_confirmation_dialog.cc",
]
deps = [
":apps",
"//build:chromeos_buildflags",
"//chrome/app:generated_resources",
"//chrome/app:generated_resources_grit",
"//chrome/browser:primitives",
"//chrome/browser/apps/platform_apps",
"//chrome/browser/devtools",
"//chrome/browser/favicon",
"//chrome/browser/media/webrtc",
"//chrome/browser/profiles:profile",
"//chrome/browser/ui:browser_navigator_params_headers",
"//components/keep_alive_registry",
"//components/version_info",
"//components/zoom",
"//content/public/browser",
"//extensions/common",
"//extensions/common:common_constants",
"//extensions/common:mojom",
"//mojo/public/cpp/bindings",
"//printing/buildflags",
"//services/service_manager/public/cpp",
"//ui/base",
]
if (is_chromeos_ash) {
deps += [ "//chrome/browser/ash/lock_screen_apps:lock_screen_apps" ]
}
if (is_chromeos) {
deps += [
"//chrome/browser/chromeos",
"//chrome/browser/chromeos/policy/dlp",
]
}
}