Skip to content

Commit ec4e10c

Browse files
committed
fixup! chore: fix code shear in build_do_not_depend_on_packed_resource_integrity.patch
1 parent 50ba75d commit ec4e10c

1 file changed

Lines changed: 22 additions & 6 deletions

File tree

patches/chromium/build_do_not_depend_on_packed_resource_integrity.patch

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ index 04b115df6025825e9f9cd40eb49437125cbb9922..e29b865efbbe82a22bb457b710c90810
4646
}
4747

4848
diff --git a/chrome/test/BUILD.gn b/chrome/test/BUILD.gn
49-
index 05c13dc42ad065c332924a8d908cbadd26a3814d..e38fc621bc674278b22abf9663acb7d13ee55342 100644
49+
index 05c13dc42ad06..cecb34c7aefa5 100644
5050
--- a/chrome/test/BUILD.gn
5151
+++ b/chrome/test/BUILD.gn
5252
@@ -5201,7 +5201,6 @@ test("unit_tests") {
@@ -57,16 +57,32 @@ index 05c13dc42ad065c332924a8d908cbadd26a3814d..e38fc621bc674278b22abf9663acb7d1
5757
"//chrome/browser:chrome_process_finder",
5858
"//chrome/browser/safe_browsing/chrome_cleaner",
5959
"//chrome/browser/safe_browsing/chrome_cleaner:public",
60-
@@ -5214,6 +5213,12 @@ test("unit_tests") {
60+
@@ -5214,6 +5213,9 @@ test("unit_tests") {
6161
"//components/chrome_cleaner/public/proto",
6262
"//ui/events/devices:test_support",
6363
]
64-
+
6564
+ if (!is_electron_build) {
66-
+ deps += [
67-
+ "//chrome:packed_resources_integrity",
68-
+ ]
65+
+ deps += [ "//chrome:packed_resources_integrity" ]
6966
+ }
7067
}
7168

7269
if (is_win || is_chromeos_ash || is_mac) {
70+
@@ -5774,7 +5776,6 @@ test("unit_tests") {
71+
}
72+
73+
deps += [
74+
- "//chrome:packed_resources_integrity_hash",
75+
"//chrome/browser:cart_db_content_proto",
76+
"//chrome/browser/media/router:test_support",
77+
"//chrome/browser/promo_browser_command:mojo_bindings",
78+
@@ -5809,6 +5810,9 @@ test("unit_tests") {
79+
"//ui/color:test_support",
80+
"//ui/native_theme:test_support",
81+
]
82+
+ if (!is_electron_build) {
83+
+ deps += [ "//chrome:packed_resources_integrity_hash" ]
84+
+ }
85+
if (is_win) {
86+
deps += [ "//components/chrome_cleaner/public/proto:test_only_proto" ]
87+
}
88+

0 commit comments

Comments
 (0)