aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-build_linux_strip__binary.gni
blob: 7a6a20f0bfa8d8f9206642ca2c4b216416cede19 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
--- build/linux/strip_binary.gni.orig	2021-08-17 16:31:26 UTC
+++ build/linux/strip_binary.gni
@@ -20,7 +20,11 @@ template("strip_binary") {
                            "testonly",
                          ])
   action("${target_name}") {
-    eu_strip_binary = "//buildtools/third_party/eu-strip/bin/eu-strip"
+    if (is_bsd) {
+      eu_strip_binary = "//buildtools/freebsd/strip"
+    } else {
+      eu_strip_binary = "//buildtools/third_party/eu-strip/bin/eu-strip"
+    }
     script = "//build/linux/strip_binary.py"
     inputs = [
       invoker.binary_input,