File: BUILD.gn

package info (click to toggle)
chromium 138.0.7204.183-1~deb12u1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 6,080,960 kB
  • sloc: cpp: 34,937,079; ansic: 7,176,967; javascript: 4,110,704; python: 1,419,954; asm: 946,768; xml: 739,971; pascal: 187,324; sh: 89,623; perl: 88,663; objc: 79,944; sql: 50,304; cs: 41,786; fortran: 24,137; makefile: 21,811; php: 13,980; tcl: 13,166; yacc: 8,925; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (150 lines) | stat: -rw-r--r-- 4,773 bytes parent folder | download | duplicates (2)
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
# 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("projector") {
  sources = [
    "pending_screencast_manager.cc",
    "pending_screencast_manager.h",
    "projector_app_client_impl.cc",
    "projector_app_client_impl.h",
    "projector_client_impl.cc",
    "projector_client_impl.h",
    "projector_drivefs_provider.cc",
    "projector_drivefs_provider.h",
    "projector_soda_installation_controller.cc",
    "projector_soda_installation_controller.h",
    "projector_utils.cc",
    "projector_utils.h",
    "screencast_manager.cc",
    "screencast_manager.h",
  ]

  public_deps = [ "//chrome/browser:browser_public_dependencies" ]

  deps = [
    "//ash",
    "//ash/constants",
    "//ash/public/cpp",
    "//ash/webui/annotator",
    "//ash/webui/projector_app",
    "//ash/webui/projector_app/public/cpp",
    "//ash/webui/projector_app/public/mojom:projector_mojo_bindings",
    "//base",
    "//chrome/browser/ash/browser_delegate",
    "//chrome/browser/ash/drive",
    "//chrome/browser/ash/extensions/file_manager",
    "//chrome/browser/ash/profiles",
    "//chrome/browser/ash/system_web_apps",
    "//chrome/browser/ash/system_web_apps/apps",
    "//chrome/browser/feedback",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/ui/ash/system_web_apps",
    "//chrome/browser/ui/tabs:tab_strip",
    "//chrome/browser/web_applications",
    "//chrome/services/media_gallery_util/public/cpp",
    "//chromeos/ash/components/drivefs",
    "//chromeos/ash/components/drivefs/mojom",
    "//chromeos/ash/components/login/login_state",
    "//components/account_manager_core",
    "//components/application_locale_storage",
    "//components/pref_registry",
    "//components/session_manager/core",
    "//components/signin/public/identity_manager",
    "//components/soda",
    "//components/soda:constants",
    "//components/webapps/browser",
    "//content/public/browser",
    "//media",
    "//net",
    "//ui/display",
    "//url",
  ]

  allow_circular_includes_from = [ "//chrome/browser/ash/system_web_apps/apps" ]
}

source_set("unit_tests") {
  testonly = true

  sources = [
    "projector_client_impl_unittest.cc",
    "projector_soda_installation_controller_unittest.cc",
    "projector_utils_unittest.cc",
  ]

  deps = [
    ":projector",
    "//ash",
    "//ash/constants",
    "//ash/public/cpp",
    "//ash/webui/projector_app:test_support",
    "//base/test:test_support",
    "//chrome/browser",
    "//chrome/browser:global_features",
    "//chrome/browser/ash/login/users:test_support",
    "//chrome/browser/prefs",
    "//chrome/browser/profiles:profile",
    "//chrome/test:test_support",
    "//chrome/test:test_support_unit",
    "//components/application_locale_storage",
    "//components/prefs",
    "//components/soda:constants",
    "//components/soda:test_support",
    "//content/test:test_support",
    "//testing/gmock",
    "//testing/gtest",
    "//url",
  ]
}

source_set("browser_tests") {
  testonly = true

  defines = [ "HAS_OUT_OF_PROC_TEST_RUNNER" ]

  sources = [
    "pending_screencast_manager_browsertest.cc",
    "projector_client_impl_browsertest.cc",
    "projector_navigation_throttle_browsertest.cc",
    "screencast_manager_browsertest.cc",
  ]

  deps = [
    ":projector",
    "//ash/constants",
    "//ash/webui/projector_app:buildflags",
    "//ash/webui/projector_app:test_support",
    "//ash/webui/projector_app/public/mojom:projector_mojo_bindings",
    "//ash/webui/web_applications/test:test_support",
    "//base/test:test_support",
    "//chrome/browser:global_features",
    "//chrome/browser/apps/app_service",
    "//chrome/browser/apps/app_service/app_icon",
    "//chrome/browser/apps/link_capturing",
    "//chrome/browser/apps/link_capturing:test_support",
    "//chrome/browser/ash/drive",
    "//chrome/browser/ash/drive:test_support",
    "//chrome/browser/ash/login",
    "//chrome/browser/ash/login:test_support",
    "//chrome/browser/ash/login/test:test_support",
    "//chrome/browser/ash/profiles",
    "//chrome/browser/ash/system_web_apps",
    "//chrome/browser/ash/system_web_apps/test_support:test_support_ui",
    "//chrome/browser/notifications",
    "//chrome/browser/profiles:profile",
    "//chrome/browser/ui",
    "//chrome/browser/ui:browser_navigator_params_headers",
    "//chrome/browser/ui/ash/login",
    "//chrome/browser/ui/ash/system_web_apps",
    "//chrome/test:test_support",
    "//chromeos/ash/components/drivefs:test_support",
    "//chromeos/ash/components/drivefs/mojom",
    "//components/application_locale_storage",
    "//content/test:test_support",
    "//media:test_support",
    "//testing/gmock",
  ]
}