FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
skia-python/scripts/build_Windows.sh at main · skia-python/skia-python · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
skia-python
/
skia-python
Public
Notifications
You must be signed in to change notification settings
Fork
52
Star
322
Code
Issues
44
Pull requests
6
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Expand file tree
Breadcrumbs
skia-python
/
scripts
/
build_Windows.sh
Copy path
More file actions
More file actions
Latest commit
History
History
History
40 lines (36 loc) · 1.17 KB
Breadcrumbs
skia-python
/
scripts
/
build_Windows.sh
Copy path
File metadata and controls
40 lines (36 loc) · 1.17 KB
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#!
/usr/bin/env bash
export
PATH=
"
${PWD}
/depot_tools:
$PATH
"
if
[[
${RUNNER_ARCH}
==
"
ARM64
"
]]
;
then
EXTRA_ARGS=
'
target_cpu="arm64"
'
echo
"
setting ARM64 Windows Skia build
"
fi
#
Build skia
cd
skia
&&
\
patch -R -p1
<
../patch/0001-Make-SkPath-immutable-on-GN-build.patch
&&
\
patch -R -p1
<
../patch/0001-Disable-legacy-PNG-encoding-decoding-in-SkPicture.patch
&&
\
patch -p1
<
../patch/skia-m144-minimize-download.patch
&&
\
patch -p1
<
../patch/skia-m132-colrv1-freetype.diff
&&
\
patch -p1 -R
<
../patch/0001-Disable-OpenGL-for-Windows-on-ARM64.patch
&&
\
patch -p1
<
../patch/fetch-gn-windows-arm64.diff
&&
\
python tools/git-sync-deps
&&
\
bin/gn gen out/Release --args=
"
is_official_build=true
skia_enable_svg=true
skia_use_vulkan=true
skia_use_freetype=true
skia_use_system_freetype2=false
skia_enable_fontmgr_custom_empty=true
skia_use_system_libjpeg_turbo=false
skia_use_system_libwebp=false
skia_use_system_libpng=false
skia_use_system_icu=false
skia_use_system_harfbuzz=false
skia_use_system_expat=false
skia_use_system_zlib=false
extra_cflags_cc=[
\"
/GR
\"
,
\"
/EHsc
\"
,
\"
/MD
\"
]
${EXTRA_ARGS}
"
&&
\
ninja -C out/Release
&&
\
cd
..
Back
|
FazBrowse Home
|
New Git URL