projects
/
mono.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[aot] Rewrite the AOT profiler. (#4176)
[mono.git]
/
mcs
/
class
/
corlib
/
Makefile
diff --git
a/mcs/class/corlib/Makefile
b/mcs/class/corlib/Makefile
index ab29d69da51911154168d6ebb1cf713030d67485..e466678a17f65294bab12f26c131e732dc731aba 100644
(file)
--- a/
mcs/class/corlib/Makefile
+++ b/
mcs/class/corlib/Makefile
@@
-20,7
+20,12
@@
$(error Unknown framework version)
endif
endif
endif
endif
+ifeq ($(PROFILE),build)
+CSC_RUNTIME_FLAGS=--profile=aot:output=$(topdir)/class/lib/build/csc.aotprofile
+endif
+
RESOURCE_STRINGS = ../referencesource/mscorlib/mscorlib.txt
RESOURCE_STRINGS = ../referencesource/mscorlib/mscorlib.txt
+RESX_RESOURCE_STRING = ../../../external/corefx/src/System.ValueTuple/src/Resources/Strings.resx
LIBRARY_COMPILE = $(BOOT_COMPILE)
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
LIBRARY_COMPILE = $(BOOT_COMPILE)
LIBRARY_INSTALL_DIR = $(mono_libdir)/mono/$(FRAMEWORK_VERSION)
@@
-67,7
+72,7
@@
DEFAULT_REFERENCES =
TEST_LIB_REFS = System.Core System
ifndef AOT_FRIENDLY_PROFILE
TEST_LIB_REFS = System.Core System
ifndef AOT_FRIENDLY_PROFILE
-ifneq ($(PROFILE),aot_hybrid)
+ifneq ($(PROFILE),
testing_
aot_hybrid)
TEST_LIB_REFS += Mono.Posix
endif
endif
TEST_LIB_REFS += Mono.Posix
endif
endif