Skip to content
This repository was archived by the owner on Feb 25, 2025. It is now read-only.

Commit 6dc4a6a

Browse files
authored
Add archives to android aot engine. (#37601)
This enables archives generation of gen_snapshot for windows AOT. Bug: flutter/flutter#81855
1 parent 9f000a1 commit 6dc4a6a

File tree

1 file changed

+66
-12
lines changed

1 file changed

+66
-12
lines changed

ci/builders/windows_android_aot_engine.json

Lines changed: 66 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,16 @@
11
{
22
"builds": [
33
{
4-
"archives": [],
4+
"archives": [
5+
{
6+
"base_path": "out/android_profile/zip_archives/",
7+
"type": "gcs",
8+
"include_paths": [
9+
"out/android_profile/zip_archives/android-arm-profile/windows-x64.zip"
10+
],
11+
"name": "android_profile"
12+
}
13+
],
514
"drone_dimensions": [],
615
"gn": [
716
"--runtime-mode",
@@ -12,12 +21,21 @@
1221
"ninja": {
1322
"config": "android_profile",
1423
"targets": [
15-
"gen_snapshot"
24+
"flutter/build/archives:archive_win_gen_snapshot"
1625
]
1726
}
1827
},
1928
{
20-
"archives": [],
29+
"archives": [
30+
{
31+
"base_path": "out/android_profile_arm64/zip_archives/",
32+
"type": "gcs",
33+
"include_paths": [
34+
"out/android_profile_arm64/zip_archives/android-arm64-profile/windows-x64.zip"
35+
],
36+
"name": "android_profile_arm64"
37+
}
38+
],
2139
"drone_dimensions": [],
2240
"gn": [
2341
"--runtime-mode",
@@ -29,12 +47,21 @@
2947
"ninja": {
3048
"config": "android_profile_arm64",
3149
"targets": [
32-
"gen_snapshot"
50+
"flutter/build/archives:archive_win_gen_snapshot"
3351
]
3452
}
3553
},
3654
{
37-
"archives": [],
55+
"archives": [
56+
{
57+
"base_path": "out/android_profile_x64/zip_archives/",
58+
"type": "gcs",
59+
"include_paths": [
60+
"out/android_profile_x64/zip_archives/android-x64-profile/windows-x64.zip"
61+
],
62+
"name": "android_profile_x64"
63+
}
64+
],
3865
"drone_dimensions": [],
3966
"gn": [
4067
"--runtime-mode",
@@ -46,12 +73,21 @@
4673
"ninja": {
4774
"config": "android_profile_x64",
4875
"targets": [
49-
"gen_snapshot"
76+
"flutter/build/archives:archive_win_gen_snapshot"
5077
]
5178
}
5279
},
5380
{
54-
"archives": [],
81+
"archives": [
82+
{
83+
"base_path": "out/android_release/zip_archives/",
84+
"type": "gcs",
85+
"include_paths": [
86+
"out/android_release/zip_archives/android-arm-release/windows-x64.zip"
87+
],
88+
"name": "android_release"
89+
}
90+
],
5591
"drone_dimensions": [],
5692
"gn": [
5793
"--runtime-mode",
@@ -62,12 +98,21 @@
6298
"ninja": {
6399
"config": "android_release",
64100
"targets": [
65-
"gen_snapshot"
101+
"flutter/build/archives:archive_win_gen_snapshot"
66102
]
67103
}
68104
},
69105
{
70-
"archives": [],
106+
"archives": [
107+
{
108+
"base_path": "out/android_release_arm64/zip_archives/",
109+
"type": "gcs",
110+
"include_paths": [
111+
"out/android_release_arm64/zip_archives/android-arm64-release/windows-x64.zip"
112+
],
113+
"name": "android_release_arm64"
114+
}
115+
],
71116
"drone_dimensions": [],
72117
"gn": [
73118
"--runtime-mode",
@@ -79,12 +124,21 @@
79124
"ninja": {
80125
"config": "android_release_arm64",
81126
"targets": [
82-
"gen_snapshot"
127+
"flutter/build/archives:archive_win_gen_snapshot"
83128
]
84129
}
85130
},
86131
{
87-
"archives": [],
132+
"archives": [
133+
{
134+
"base_path": "out/android_release_x64/zip_archives/",
135+
"type": "gcs",
136+
"include_paths": [
137+
"out/android_release_x64/zip_archives/android-x64-release/windows-x64.zip"
138+
],
139+
"name": "android_release_x64"
140+
}
141+
],
88142
"drone_dimensions": [],
89143
"gn": [
90144
"--runtime-mode",
@@ -96,7 +150,7 @@
96150
"ninja": {
97151
"config": "android_release_x64",
98152
"targets": [
99-
"gen_snapshot"
153+
"flutter/build/archives:archive_win_gen_snapshot"
100154
]
101155
}
102156
}

0 commit comments

Comments
 (0)