2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-07-04 23:12:28 +00:00

chromium: Fix build.

This commit is contained in:
Dylan Araps 2019-07-28 23:59:52 +03:00
parent 4a9d73fc07
commit 622fd5a883

View File

@ -21,7 +21,7 @@ chmod +x ./fix-python-bin/python
# Use system libraries.
for dep in ffmpeg flac fontconfig harfbuzz-ng libdrm libevent libjpeg \
libpng libwebp libxml libxslt opus re2 snappy yasm libjpeg_turbo; do
libpng libwebp libxml libxslt opus re2 snappy yasm; do
find . -type f -path "*third_party/$dep/*" \
\! -path "*third_party/$dep/chromium/*" \
\! -path "*third_party/$dep/google/*" \
@ -34,7 +34,7 @@ done
# Switch to system provided dependencies.
python2 build/linux/unbundle/replace_gn_files.py \
--system-libraries ffmpeg flac fontconfig harfbuzz-ng libdrm libevent libjpeg libpng libwebp libxml libxslt opus re2 snappy yasm libjpeg_turbo
--system-libraries ffmpeg flac fontconfig harfbuzz-ng libdrm libevent libjpeg libpng libwebp libxml libxslt opus re2 snappy yasm
python2 tools/gn/bootstrap/bootstrap.py -s -v \
--gn-gen-args 'is_debug=false use_jumbo_build=true enable_nacl=false symbol_level=0 blink_symbol_level=0 enable_nacl_nonsfi=false use_gold=false treat_warnings_as_errors=false fatal_linker_warnings=false use_sysroot=false use_cups=false rtc_use_x11=true is_clang=false use_atk=false use_dbus=false safe_browsing_mode=0 use_pulseaudio=false use_gperf=false use_gconf=false use_gio=false use_gnome_keyring=false use_kerberos=false'