Allow compilation without embedded font but with font manager
Change-Id: Ib21ec28d7d2051bc19c07294b37034f44af47004 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/232856 Reviewed-by: Ben Wagner <bungeman@google.com> Commit-Queue: Kevin Lubick <kjlubick@google.com>
This commit is contained in:
parent
5fac8a15c8
commit
87cef069ca
@ -101,9 +101,13 @@ fi
|
||||
GN_FONT="skia_enable_fontmgr_empty=false"
|
||||
BUILTIN_FONT="$BASE_DIR/fonts/NotoMono-Regular.ttf.cpp"
|
||||
if [[ $@ == *no_font* ]]; then
|
||||
echo "Omitting the built-in font(s)"
|
||||
echo "Omitting the built-in font(s) and font manager"
|
||||
BUILTIN_FONT=""
|
||||
GN_FONT="skia_enable_fontmgr_empty=true"
|
||||
elif [[ $@ == *no_embedded_font* ]]; then
|
||||
echo "Omitting the built-in font(s)"
|
||||
BUILTIN_FONT=""
|
||||
GN_FONT="skia_enable_fontmgr_custom_empty=true skia_enable_fontmgr_empty=false"
|
||||
else
|
||||
# Generate the font's binary file (which is covered by .gitignore)
|
||||
python tools/embed_resources.py \
|
||||
|
Loading…
Reference in New Issue
Block a user