Skip to content

Commit 0e3e3a9

Browse files
authored
Revert "[create-vsix, build] Don't package API-10 assemblies (#1115)"
This reverts commit 6671f05.
1 parent aacdc9d commit 0e3e3a9

File tree

2 files changed

+5
-7
lines changed

2 files changed

+5
-7
lines changed

build-tools/create-vsix/create-vsix.targets

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,6 @@
5252
<MSBuild Remove="$(LibDir)xbuild\**\*.d.dll" />
5353
<MSBuild Remove="$(LibDir)xbuild\**\*.d.exe" />
5454
<ReferenceAssemblies Include="$(LibDir)xbuild-frameworks\**\*.*" />
55-
<ReferenceAssemblies Remove="$(LibDir)xbuild-frameworks\MonoAndroid\v2.3\**\*.*" />
5655
<ReferenceAssemblies Remove="**\*.dylib" />
5756
<ReferenceAssemblies Remove="**\libZipSharp*.*" />
5857
<ReferenceAssemblies>

build-tools/scripts/BuildEverything.mk

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ ALL_PLATFORM_IDS = 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
3030
ALL_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
3131
API_LEVELS = 10 15 16 17 18 19 20 21 22 23 24 25 26 27
3232
STABLE_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

101100
framework-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

129128
opentk-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

Comments
 (0)