summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2023-01-18 06:28:09 +0000
committer Eric Hameleers <alien@slackware.com>2023-01-18 06:28:09 +0000
commit16a573dddbcb2ffda62160a73b9ff50fde39b776 (patch)
treee2f2e47a856f46f55fcc01c06eef7e8d9bf4b451 /chromium
parent03ea7a0d029bf7a04b90bba1f5fd691f1fc9154f (diff)
downloadasb-16a573dddbcb2ffda62160a73b9ff50fde39b776.tar.gz
asb-16a573dddbcb2ffda62160a73b9ff50fde39b776.tar.xz
chromium: enable libdrm properly, also do not build content_shell since it makes the build fail with: ninja: error: '../../content/test/data/web_ui_test.test-mojom', needed by 'gen/mojom-webui/content/test/data/web_ui_test.test-mojom-webui.js', missing and no known rule to make it
Diffstat (limited to 'chromium')
-rwxr-xr-xchromium/build/chromium.SlackBuild10
1 files changed, 3 insertions, 7 deletions
diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild
index e74bfc4a..aba87808 100755
--- a/chromium/build/chromium.SlackBuild
+++ b/chromium/build/chromium.SlackBuild
@@ -1113,11 +1113,11 @@ fi
if [ $(cat /etc/slackware-version |cut -d' ' -f2- |cut -d. -f1) -lt 15 ]; then
# For older Slackware:
- _chromium_conf=+=( 'use_system_libdrm="false"' )
+ _chromium_conf+=( 'use_system_libdrm=false' )
fi
#if [ "$ARCH" == "i586" ] || [ "${CROSS32}" = "YES" ]; then
-# _chromium_conf=+=( 'target_cpu="x86"' )
+# _chromium_conf+=( 'target_cpu="x86"' )
#fi
if [[ "$ARCH" =~ arm.* ]]; then
_chromium_conf+=( 'target_cpu="arm"' 'target_os="linux"' )
@@ -1377,7 +1377,7 @@ export AS=as
LDFLAGS="$LDFLAGS" \
LC_ALL=C \
ninja -C out/Release \
- chrome chrome_sandbox chromedriver content_shell \
+ chrome chrome_sandbox chromedriver \
2>&1 | tee $OUTPUT/ninja-${PRGNAM}.log
if [ $USE_UNGOOGLED -eq 0 ]; then
@@ -1395,10 +1395,6 @@ echo "-- Manually installing everything."
# The main binary:
install -D out/Release/chrome $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/${PRGNAM}
-# The headless browser:
-install -D out/Release/content_shell \
- $PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/${PRGNAM}-shell
-
# The sandbox:
install -D -m4755 -o root -g root out/Release/chrome_sandbox \
$PKG/usr/lib${LIBDIRSUFFIX}/${PRGNAM}/chrome-sandbox