Commit 8241973
[Xamarin.Android.Build.Tasks] App Bundle support for PackageForAndroid (#3883)
Fixes: #3804
Reviewing our App Bundle implementation, there were two things missing:
* An unsigned app bundle in `$(OutputPath)`. This is useful when
calling the `PackageForAndroid` target, and signing is done manually
some point later.
* No support for `$(MonoSymbolArchive)=True` to generate the `.mSYM`
symbols.
The only changes needed to make these work, was to refactor the
`_CopyPackage` MSBuild target so it knows about App Bundles.
I also created an `$(_MSYMDirectory)` property, to simplify usage of:
`$(OutDir)$(_AndroidPackage).$(AndroidPackageFormat).mSYM`
I updated some tests in `PackagingTest.cs`, to verify the `.mSYM`
directory for both `.apk`'s and `.aab`'s.1 parent 6b36be4 commit 8241973
File tree
2 files changed
+42
-22
lines changed- src/Xamarin.Android.Build.Tasks
- Tests/Xamarin.Android.Build.Tests
2 files changed
+42
-22
lines changedLines changed: 16 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
25 | 26 | | |
26 | 27 | | |
27 | | - | |
| 28 | + | |
28 | 29 | | |
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
33 | 34 | | |
34 | 35 | | |
35 | | - | |
| 36 | + | |
| 37 | + | |
36 | 38 | | |
37 | 39 | | |
38 | 40 | | |
39 | 41 | | |
40 | | - | |
41 | | - | |
42 | | - | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
43 | 45 | | |
44 | 46 | | |
45 | 47 | | |
46 | 48 | | |
47 | | - | |
| 49 | + | |
48 | 50 | | |
49 | 51 | | |
50 | 52 | | |
| |||
57 | 59 | | |
58 | 60 | | |
59 | 61 | | |
60 | | - | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
62 | 65 | | |
63 | 66 | | |
64 | 67 | | |
65 | | - | |
| 68 | + | |
66 | 69 | | |
67 | 70 | | |
68 | 71 | | |
| |||
78 | 81 | | |
79 | 82 | | |
80 | 83 | | |
81 | | - | |
| 84 | + | |
82 | 85 | | |
83 | 86 | | |
84 | 87 | | |
| |||
Lines changed: 26 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
770 | 770 | | |
771 | 771 | | |
772 | 772 | | |
| 773 | + | |
773 | 774 | | |
| 775 | + | |
774 | 776 | | |
775 | 777 | | |
776 | 778 | | |
| |||
2967 | 2969 | | |
2968 | 2970 | | |
2969 | 2971 | | |
| 2972 | + | |
| 2973 | + | |
| 2974 | + | |
| 2975 | + | |
| 2976 | + | |
| 2977 | + | |
| 2978 | + | |
| 2979 | + | |
| 2980 | + | |
| 2981 | + | |
2970 | 2982 | | |
2971 | 2983 | | |
2972 | 2984 | | |
| |||
2991 | 3003 | | |
2992 | 3004 | | |
2993 | 3005 | | |
2994 | | - | |
| 3006 | + | |
2995 | 3007 | | |
2996 | 3008 | | |
| 3009 | + | |
2997 | 3010 | | |
2998 | | - | |
| 3011 | + | |
| 3012 | + | |
2999 | 3013 | | |
3000 | | - | |
| 3014 | + | |
3001 | 3015 | | |
3002 | | - | |
| 3016 | + | |
3003 | 3017 | | |
3004 | 3018 | | |
3005 | 3019 | | |
| |||
3009 | 3023 | | |
3010 | 3024 | | |
3011 | 3025 | | |
3012 | | - | |
| 3026 | + | |
3013 | 3027 | | |
3014 | 3028 | | |
3015 | 3029 | | |
| |||
3021 | 3035 | | |
3022 | 3036 | | |
3023 | 3037 | | |
3024 | | - | |
| 3038 | + | |
3025 | 3039 | | |
3026 | 3040 | | |
3027 | 3041 | | |
3028 | 3042 | | |
3029 | 3043 | | |
3030 | | - | |
| 3044 | + | |
3031 | 3045 | | |
3032 | 3046 | | |
3033 | 3047 | | |
3034 | 3048 | | |
3035 | 3049 | | |
3036 | | - | |
| 3050 | + | |
3037 | 3051 | | |
3038 | 3052 | | |
3039 | 3053 | | |
| |||
3259 | 3273 | | |
3260 | 3274 | | |
3261 | 3275 | | |
3262 | | - | |
| 3276 | + | |
3263 | 3277 | | |
3264 | 3278 | | |
3265 | 3279 | | |
| |||
3328 | 3342 | | |
3329 | 3343 | | |
3330 | 3344 | | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
3331 | 3348 | | |
3332 | 3349 | | |
3333 | 3350 | | |
| |||
0 commit comments