[runtime] Set pending exception in icalls instead of raising.
[mono.git] / mcs / build / profiles / mobile_static.make
1 #! -*- makefile -*-
2
3 BOOTSTRAP_PROFILE = build
4
5 BOOTSTRAP_MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
6 MCS = MONO_PATH="$(topdir)/class/lib/$(BOOTSTRAP_PROFILE)$(PLATFORM_PATH_SEPARATOR)$$MONO_PATH" $(INTERNAL_GMCS)
7
8 # Use system resgen as we don't want local System.Windows.Forms dependency
9 RESGEN = resgen2
10
11 profile-check:
12         @:
13
14 DEFAULT_REFERENCES = -r:mscorlib.dll
15
16 PROFILE_MCS_FLAGS = \
17         -d:NET_1_1 \
18         -d:NET_2_0 \
19         -d:NET_2_1 \
20         -d:NET_3_5 \
21         -d:NET_4_0 \
22         -d:NET_4_5 \
23         -d:MONO \
24         -d:DISABLE_CAS_USE \
25         -d:MOBILE,MOBILE_STATIC,MOBILE_LEGACY \
26         -d:FULL_AOT_RUNTIME \
27         -d:DISABLE_REMOTING \
28         -d:DISABLE_COM \
29         -nowarn:1699 \
30         -nostdlib \
31         -lib:$(topdir)/class/lib/$(PROFILE) \
32         $(DEFAULT_REFERENCES) \
33         $(PLATFORM_DEBUG_FLAGS)
34
35 FRAMEWORK_VERSION = 2.1
36 NUNIT_LITE = yes
37
38 # the tuner takes care of the install
39 NO_INSTALL = yes
40 MOBILE_STATIC = yes
41 MOBILE_PROFILE = yes
42 NO_VTS_TEST = yes
43
44 # Note need for trailing comma. If you add, keep it
45 PROFILE_TEST_HARNESS_EXCLUDES = MobileNotWorking,
46
47 ifndef MONO_DISABLE_GSHAREDVT
48 GSHAREDVT_FLAG = -O=gsharedvt
49 endif
50
51 ifneq ($(MONO_LLVMONLY),)
52 AOT_BUILD_FLAGS_PREFIX = --aot=llvmonly,
53 AOT_RUN_FLAGS =  --llvmonly
54 else
55 AOT_BUILD_FLAGS_PREFIX = $(GSHAREDVT_FLAG) --aot=full,
56 AOT_RUN_FLAGS = --full-aot
57 endif
58
59 ALWAYS_AOT = yes
60