File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change 1313 id : setup-ndk
1414 uses : nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 # v1.5.0
1515 with :
16- ndk-version : r22b
16+ ndk-version : r26d
17+
18+ - name : Set ANDROID_NDK
19+ run : echo "ANDROID_NDK=$ANDROID_HOME/ndk-bundle" >> $GITHUB_ENV
1720
1821 - name : Setup Ninja
1922 uses : seanmiddleditch/gha-setup-ninja@master
2427 download_skia : ' false'
2528 github_token : ${{ secrets.GITHUB_TOKEN }}
2629
30+ - name : Apply Dawn patch
31+ run : |
32+ DAWN_GNI_FILE="./externals/skia/build_overrides/dawn.gni"
33+ if [ -f "$DAWN_GNI_FILE" ]; then
34+ echo "Applying patch to dawn.gni..."
35+ # Remove the specified lines from the end of the file
36+ sed -i.bak '/# PartitionAlloc is an optional dependency:/,$d' "$DAWN_GNI_FILE"
37+ echo "Patch applied successfully."
38+ echo "Modified dawn.gni content:"
39+ cat "$DAWN_GNI_FILE"
40+ else
41+ echo "Warning: dawn.gni file not found at $DAWN_GNI_FILE"
42+ fi
43+
2744 - name : Build Skia with Graphite
2845 working-directory : ./packages/skia
2946 env :
You can’t perform that action at this time.
0 commit comments