@@ -30,7 +30,6 @@ ALL_PLATFORM_IDS = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
3030ALL_FRAMEWORKS = _ _ _ _ _ _ _ _ _ v2.3 _ _ _ _ v4.0.3 v4.1 v4.2 v4.3 v4.4 v4.4.87 v5.0 v5.1 v6.0 v7.0 v7.1 v8.0 v8.1
3131API_LEVELS = 10 15 16 17 18 19 20 21 22 23 24 25 26 27
3232STABLE_API_LEVELS = 10 15 16 17 18 19 20 21 22 23 24 25 26
33- PKG_API_LEVELS = 15 16 17 18 19 20 21 22 23 24 25 26 27
3433
3534# # The preceding values *must* use SPACE, **not** TAB, to separate values.
3635
@@ -100,7 +99,7 @@ leeroy-all:
10099
101100framework-assemblies :
102101 PREV_VERSION=" v1.0" ; \
103- $(foreach a, $(PKG_API_LEVELS ) , \
102+ $(foreach a, $(API_LEVELS ) , \
104103 CUR_VERSION=` echo " $( ALL_FRAMEWORKS) " | tr -s " " | cut -d " " -s -f $( a) ` ; \
105104 $(foreach conf, $(CONFIGURATIONS ) , \
106105 REDIST_FILE=bin/$(conf ) /lib/xamarin.android/xbuild-frameworks/MonoAndroid/$$ {CUR_VERSION}/RedistList/FrameworkList.xml; \
@@ -115,19 +114,19 @@ framework-assemblies:
115114 $(foreach conf, $(CONFIGURATIONS ) , \
116115 rm -f bin/$(conf ) /lib/xamarin.android/xbuild-frameworks/MonoAndroid/v1.0/Xamarin.Android.NUnitLite.dll; \
117116 $(_SLN_BUILD ) $(MSBUILD_FLAGS ) src/Xamarin.Android.NUnitLite/Xamarin.Android.NUnitLite.csproj /p:Configuration=$(conf ) $(_MSBUILD_ARGS ) \
118- /p:AndroidApiLevel=$(firstword $(PKG_API_LEVELS ) ) /p:AndroidPlatformId=$(word $(firstword $(PKG_API_LEVELS ) ) , $(ALL_PLATFORM_IDS ) ) /p:AndroidFrameworkVersion=$(word $( firstword $(PKG_API_LEVELS ) ) , $( ALL_FRAMEWORKS ) ) ; )
117+ /p:AndroidApiLevel=$(firstword $(API_LEVELS ) ) /p:AndroidPlatformId=$(word $(firstword $(API_LEVELS ) ) , $(ALL_PLATFORM_IDS ) ) /p:AndroidFrameworkVersion=$(firstword $(FRAMEWORKS ) ) ; )
119118 _latest_framework=$$($(MSBUILD ) /p:DoNotLoadOSProperties=True /nologo /v:minimal /t:GetAndroidLatestFrameworkVersion build-tools/scripts/Info.targets | tr -d '[[:space:]]') ; \
120119 $(foreach conf, $(CONFIGURATIONS ) , \
121120 rm -f " bin/$( conf) /lib/xamarin.android/xbuild-frameworks/MonoAndroid/$$ _latest_framework" /Mono.Android.Export.* ; \
122121 $(_SLN_BUILD ) $(MSBUILD_FLAGS ) src/Mono.Android.Export/Mono.Android.Export.csproj /p:Configuration=$(conf ) $(_MSBUILD_ARGS ) \
123- /p:AndroidApiLevel=$(firstword $(PKG_API_LEVELS ) ) /p:AndroidPlatformId=$(word $(firstword $(PKG_API_LEVELS ) ) , $(ALL_PLATFORM_IDS ) ) /p:AndroidFrameworkVersion=$(word $( firstword $(PKG_API_LEVELS ) ) , $( ALL_FRAMEWORKS ) ) ; ) \
122+ /p:AndroidApiLevel=$(firstword $(API_LEVELS ) ) /p:AndroidPlatformId=$(word $(firstword $(API_LEVELS ) ) , $(ALL_PLATFORM_IDS ) ) /p:AndroidFrameworkVersion=$(firstword $(FRAMEWORKS ) ) ; ) \
124123 $(foreach conf, $(CONFIGURATIONS ) , \
125124 rm -f " bin/$( conf) /lib/xamarin.android/xbuild-frameworks/MonoAndroid/$$ _latest_framework" /OpenTK-1.0.* ; \
126125 $(_SLN_BUILD ) $(MSBUILD_FLAGS ) src/OpenTK-1.0/OpenTK.csproj /p:Configuration=$(conf ) $(_MSBUILD_ARGS ) \
127- /p:AndroidApiLevel=$(firstword $(PKG_API_LEVELS ) ) /p:AndroidPlatformId=$(word $(firstword $(PKG_API_LEVELS ) ) , $(ALL_PLATFORM_IDS ) ) /p:AndroidFrameworkVersion=$(word $( firstword $(PKG_API_LEVELS ) ) , $( ALL_FRAMEWORKS ) ) ; )
126+ /p:AndroidApiLevel=$(firstword $(API_LEVELS ) ) /p:AndroidPlatformId=$(word $(firstword $(API_LEVELS ) ) , $(ALL_PLATFORM_IDS ) ) /p:AndroidFrameworkVersion=$(firstword $(FRAMEWORKS ) ) ; )
128127
129128opentk-jcw :
130- $(foreach a, $(PKG_API_LEVELS ) , \
129+ $(foreach a, $(API_LEVELS ) , \
131130 $(foreach conf, $(CONFIGURATIONS ) , \
132131 touch bin/$(conf ) /lib/xamarin.android/xbuild-frameworks/MonoAndroid/* /OpenTK-1.0.dll; \
133132 $(_SLN_BUILD ) $(MSBUILD_FLAGS ) src/OpenTK-1.0/OpenTK.csproj /t:GenerateJavaCallableWrappers /p:Configuration=$(conf ) $(_MSBUILD_ARGS ) \
0 commit comments