[System.Drawing] Simplify mobile profile check
authorAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 7 Aug 2017 12:11:59 +0000 (14:11 +0200)
committerAlexander Köplinger <alex.koeplinger@outlook.com>
Mon, 7 Aug 2017 12:11:59 +0000 (14:11 +0200)
mcs/class/System.Drawing/Makefile

index bbc6a132f9fa5a886fe1f5bf16c2343453efee30..62d3ac085e120ce33034e05d628d0aadaa19ed1b 100644 (file)
@@ -13,11 +13,7 @@ LIB_MCS_FLAGS = /unsafe \
 
 RESX_RESOURCE_STRING = ../../../external/corefx/src/System.Drawing.Common/src/Resources/Strings.resx
 
-MOBILE_LIKE := $(filter winaot orbis unreal, $(PROFILE))
-
-ifdef MOBILE_LIKE
-LIB_MCS_FLAGS += /keyfile:../msfinal.pub
-else
+ifndef MOBILE_PROFILE
 LIB_MCS_FLAGS += -d:FEATURE_TYPECONVERTER,SUPPORTS_WINDOWS_COLORS
 endif