summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/core/ungoogled-chromium/fix-building-with-prunned-binaries.patch
blob: 6975f2007a8bf10e861e848a797ced48e2fc4a7e (plain)
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
# Contains tests and features that are unneeded and would otherwise
# require binaries to be whitelisted in the pruning list

--- a/chrome/test/chromedriver/BUILD.gn
+++ b/chrome/test/chromedriver/BUILD.gn
@@ -314,11 +314,7 @@ source_set("lib") {
   }
 }
 
-if (is_linux) {
-  chromedriver_output = "chromedriver.unstripped"
-} else {
   chromedriver_output = "chromedriver"
-}
 
 executable("$chromedriver_output") {
   testonly = true
@@ -340,16 +336,6 @@ executable("$chromedriver_output") {
   }
 }
 
-if (is_linux) {
-  strip_binary("chromedriver") {
-    testonly = true
-    binary_input = "$root_out_dir/$chromedriver_output"
-    symbol_output = "$root_out_dir/chromedriver.debug"
-    stripped_binary_output = "$root_out_dir/chromedriver"
-    deps = [ ":$chromedriver_output" ]
-  }
-}
-
 python_library("chromedriver_py_tests") {
   testonly = true
   deps = [
--- a/third_party/devtools-frontend/src/BUILD.gn
+++ b/third_party/devtools-frontend/src/BUILD.gn
@@ -13,7 +13,6 @@ import("./third_party/blink/public/publi
 
 devtools_frontend_resources_deps = [
   "front_end",
-  "test",
 ]
 
 group("devtools_all_files") {