Pārlūkot izejas kodu

[xammac] Ajust corlib and System.Core builds to allow to use of CommonCrypto in Xamarin.Mac

Sebastien Pouliot 11 gadi atpakaļ
vecāks
revīzija
911b80fc86

+ 0 - 4
mcs/class/System.Core/xammac_System.Core.dll.sources

@@ -2,7 +2,3 @@
 
 #include dynamic_System.Core.dll.sources
 
-System.Security.Cryptography/AesCryptoServiceProvider.cs
-System.Security.Cryptography/AesManaged.cs
-System.Security.Cryptography/AesTransform.cs
-

+ 8 - 0
mcs/class/corlib/Makefile

@@ -24,6 +24,14 @@ endif
 
 endif
 
+ifeq (xammac, $(PROFILE))
+PLATFORM_includes = corlib.dll.sources
+PLATFORM_excludes = xammac_corlib.dll.exclude.sources
+response = $(wildcard $(PROFILE)_$(LIBRARY).sources)
+@echo $(PLATFORM_includes) $(PLATFORM_excludes)
+@sort $(PLATFORM_includes) $(PLATFORM_excludes) | uniq -u | $(PLATFORM_CHANGE_SEPARATOR_CMD) > $(response)
+endif
+
 LIBRARY_COMPILE = $(BOOT_COMPILE)
 LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)