blob: 2f56543b6d379b337529c4832531e4bc8e591926 [file] [log] [blame]
Antonio Gomesecfe1e22024-08-14 23:48:441# Copyright 2024 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/chromeos/ui_mode.gni")
6
7assert(is_win || is_mac || is_linux || is_chromeos)
8
9source_set("apps") {
10 sources = [
11 "app_info_dialog.h",
12 "chrome_app_delegate.h",
13 "chrome_app_window_client.h",
14 "directory_access_confirmation_dialog.h",
15 ]
16
17 public_deps = [
18 "//base",
19 "//extensions/browser",
20 "//ui/base:types",
21 "//ui/gfx/geometry",
22 ]
23}
24
25source_set("impl") {
26 sources = [
27 "chrome_app_delegate.cc",
28 "chrome_app_window_client.cc",
29 "directory_access_confirmation_dialog.cc",
30 ]
31
32 deps = [
33 ":apps",
34 "//build:chromeos_buildflags",
35 "//chrome/app:generated_resources",
36 "//chrome/app:generated_resources_grit",
37 "//chrome/browser:primitives",
38 "//chrome/browser/apps/platform_apps",
39 "//chrome/browser/devtools",
40 "//chrome/browser/favicon",
Antonio Gomes525af0a2024-09-13 23:43:1741 "//chrome/browser/file_system_access",
Antonio Gomesecfe1e22024-08-14 23:48:4442 "//chrome/browser/media/webrtc",
Maksim Sisov5d2d6db2024-09-06 08:46:4843 "//chrome/browser/picture_in_picture",
Antonio Gomesecfe1e22024-08-14 23:48:4444 "//chrome/browser/profiles:profile",
Antonio Gomes3d98dcd2024-08-29 13:03:0245 "//chrome/browser/ui:browser_navigator_params_headers",
Antonio Gomesecfe1e22024-08-14 23:48:4446 "//components/keep_alive_registry",
47 "//components/version_info",
48 "//components/zoom",
49 "//content/public/browser",
50 "//extensions/common",
51 "//extensions/common:common_constants",
52 "//extensions/common:mojom",
53 "//mojo/public/cpp/bindings",
54 "//printing/buildflags",
55 "//services/service_manager/public/cpp",
56 "//ui/base",
57 ]
58
59 if (is_chromeos_ash) {
60 deps += [ "//chrome/browser/ash/lock_screen_apps:lock_screen_apps" ]
61 }
62
63 if (is_chromeos) {
Georg Neis067f27d2024-09-13 04:25:0664 deps += [ "//chrome/browser/chromeos/policy/dlp" ]
Antonio Gomesecfe1e22024-08-14 23:48:4465 }
66}