@@ -137,34 +137,30 @@ public void BuildAotApplicationWithSpecialCharactersInProject (string testName,
137
137
new object [ ] {
138
138
/* supportedAbis */ "arm64-v8a" ,
139
139
/* enableLLVM */ false ,
140
- /* usesAssemblyBlobs */ false ,
141
140
} ,
142
141
new object [ ] {
143
142
/* supportedAbis */ "armeabi-v7a;x86" ,
144
143
/* enableLLVM */ true ,
145
- /* usesAssemblyBlobs */ true ,
146
144
} ,
147
145
new object [ ] {
148
146
/* supportedAbis */ "armeabi-v7a;arm64-v8a;x86;x86_64" ,
149
147
/* enableLLVM */ false ,
150
- /* usesAssemblyBlobs */ true ,
151
148
} ,
152
149
new object [ ] {
153
150
/* supportedAbis */ "armeabi-v7a;arm64-v8a;x86;x86_64" ,
154
151
/* enableLLVM */ true ,
155
- /* usesAssemblyBlobs */ false ,
156
152
} ,
157
153
} ;
158
154
159
155
[ Test ]
160
156
[ TestCaseSource ( nameof ( AotChecks ) ) ]
161
- public void BuildAotApplicationWithNdkAndBundleAndÜmläüts ( string supportedAbis , bool enableLLVM , bool usesAssemblyBlobs )
157
+ public void BuildAotApplicationWithNdkAndBundleAndÜmläüts ( string supportedAbis , bool enableLLVM )
162
158
{
163
159
if ( IsWindows )
164
160
Assert . Ignore ( "https://github.com/dotnet/runtime/issues/88625" ) ;
165
161
166
162
var abisSanitized = supportedAbis . Replace ( ";" , "" ) . Replace ( "-" , "" ) . Replace ( "_" , "" ) ;
167
- var path = Path . Combine ( "temp" , string . Format ( "BuildAotNdk AndÜmläüts_{0}_{1}_{2} " , abisSanitized , enableLLVM , usesAssemblyBlobs ) ) ;
163
+ var path = Path . Combine ( "temp" , string . Format ( "BuildAotNdk AndÜmläüts_{0}_{1}" , abisSanitized , enableLLVM ) ) ;
168
164
var proj = new XamarinAndroidApplicationProject ( ) {
169
165
IsRelease = true ,
170
166
AotAssemblies = true ,
@@ -174,7 +170,6 @@ public void BuildAotApplicationWithNdkAndBundleAndÜmläüts (string supportedAb
174
170
proj . SetProperty ( "AndroidNdkDirectory" , AndroidNdkPath ) ;
175
171
proj . SetRuntimeIdentifiers ( supportedAbis . Split ( ';' ) ) ;
176
172
proj . SetProperty ( "EnableLLVM" , enableLLVM . ToString ( ) ) ;
177
- proj . SetProperty ( "AndroidUseAssemblyStore" , usesAssemblyBlobs . ToString ( ) ) ;
178
173
bool checkMinLlvmPath = enableLLVM && ( supportedAbis == "armeabi-v7a" || supportedAbis == "x86" ) ;
179
174
if ( checkMinLlvmPath ) {
180
175
// Set //uses-sdk/@android:minSdkVersion so that LLVM uses the right libc.so
@@ -195,7 +190,7 @@ public void BuildAotApplicationWithNdkAndBundleAndÜmläüts (string supportedAb
195
190
var apk = Path . Combine ( Root , b . ProjectDirectory ,
196
191
proj . OutputPath , $ "{ proj . PackageName } -Signed.apk") ;
197
192
198
- var helper = new ArchiveAssemblyHelper ( apk , usesAssemblyBlobs ) ;
193
+ var helper = new ArchiveAssemblyHelper ( apk ) ;
199
194
Assert . IsTrue ( helper . Exists ( $ "assemblies/{ abi } /UnnamedProject.dll") , $ "{ abi } /UnnamedProject.dll should be in { proj . PackageName } -Signed.apk") ;
200
195
using ( var zipFile = ZipHelper . OpenZip ( apk ) ) {
201
196
Assert . IsNotNull ( ZipHelper . ReadFileFromZip ( zipFile ,
@@ -215,21 +210,20 @@ public void BuildAotApplicationWithNdkAndBundleAndÜmläüts (string supportedAb
215
210
216
211
[ Test ]
217
212
[ TestCaseSource ( nameof ( AotChecks ) ) ]
218
- public void BuildAotApplicationAndÜmläüts ( string supportedAbis , bool enableLLVM , bool usesAssemblyBlobs )
213
+ public void BuildAotApplicationAndÜmläüts ( string supportedAbis , bool enableLLVM )
219
214
{
220
215
if ( IsWindows )
221
216
Assert . Ignore ( "https://github.com/dotnet/runtime/issues/88625" ) ;
222
217
223
218
var abisSanitized = supportedAbis . Replace ( ";" , "" ) . Replace ( "-" , "" ) . Replace ( "_" , "" ) ;
224
- var path = Path . Combine ( "temp" , string . Format ( "BuildAot AndÜmläüts_{0}_{1}_{2} " , abisSanitized , enableLLVM , usesAssemblyBlobs ) ) ;
219
+ var path = Path . Combine ( "temp" , string . Format ( "BuildAot AndÜmläüts_{0}_{1}" , abisSanitized , enableLLVM ) ) ;
225
220
var proj = new XamarinAndroidApplicationProject ( ) {
226
221
IsRelease = true ,
227
222
AotAssemblies = true ,
228
223
PackageName = "com.xamarin.buildaotappandbundlewithspecialchars" ,
229
224
} ;
230
225
proj . SetRuntimeIdentifiers ( supportedAbis . Split ( ';' ) ) ;
231
226
proj . SetProperty ( "EnableLLVM" , enableLLVM . ToString ( ) ) ;
232
- proj . SetProperty ( "AndroidUseAssemblyStore" , usesAssemblyBlobs . ToString ( ) ) ;
233
227
using ( var b = CreateApkBuilder ( path ) ) {
234
228
b . ThrowOnBuildFailure = false ;
235
229
Assert . IsTrue ( b . Build ( proj ) , "Build should have succeeded." ) ;
@@ -240,7 +234,7 @@ public void BuildAotApplicationAndÜmläüts (string supportedAbis, bool enableL
240
234
var apk = Path . Combine ( Root , b . ProjectDirectory ,
241
235
proj . OutputPath , $ "{ proj . PackageName } -Signed.apk") ;
242
236
243
- var helper = new ArchiveAssemblyHelper ( apk , usesAssemblyBlobs ) ;
237
+ var helper = new ArchiveAssemblyHelper ( apk ) ;
244
238
Assert . IsTrue ( helper . Exists ( $ "assemblies/{ abi } /UnnamedProject.dll") , $ "{ abi } /UnnamedProject.dll should be in { proj . PackageName } -Signed.apk") ;
245
239
using ( var zipFile = ZipHelper . OpenZip ( apk ) ) {
246
240
Assert . IsNotNull ( ZipHelper . ReadFileFromZip ( zipFile ,
0 commit comments