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 13
13
id : setup-ndk
14
14
uses : nttld/setup-ndk@afb4c9964b521afb97c864b7d40b11e6911bd410 # v1.5.0
15
15
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
17
20
18
21
- name : Setup Ninja
19
22
uses : seanmiddleditch/gha-setup-ninja@master
24
27
download_skia : ' false'
25
28
github_token : ${{ secrets.GITHUB_TOKEN }}
26
29
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
+
27
44
- name : Build Skia with Graphite
28
45
working-directory : ./packages/skia
29
46
env :
You can’t perform that action at this time.
0 commit comments