Skip to content

Commit

Permalink
fix: pull in upstream change that unbreaks unbundled freetype (#110)
Browse files Browse the repository at this point in the history
  • Loading branch information
RoyalOughtness authored Nov 13, 2024
1 parent 1044e9f commit 7fb422f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion build/chromium.spec
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,6 @@ CHROMIUM_GN_DEFINES+=' use_system_libopenjpeg2=true'
CHROMIUM_GN_DEFINES+=' use_system_lcms2=true'
CHROMIUM_GN_DEFINES+=' use_system_libtiff=true'
CHROMIUM_GN_DEFINES+=' use_system_libffi=true'
CHROMIUM_GN_DEFINES+=' enable_freetype=true'
export CHROMIUM_GN_DEFINES

# use system libraries
Expand Down Expand Up @@ -425,8 +424,10 @@ system_libs+=(flac)
system_libs+=(zstd)
system_libs+=(openh264)

sed -i '/use_system_freetype = true/a\ enable_freetype = true' build/linux/unbundle/freetype.gn
build/linux/unbundle/replace_gn_files.py --system-libraries ${system_libs[@]}


# Check that there is no system 'google' module, shadowing bundled ones:
if python3 -c 'import google ; print google.__path__' 2> /dev/null ; then \
echo "Python 3 'google' module is defined, this will shadow modules of this build"; \
Expand Down

0 comments on commit 7fb422f

Please sign in to comment.