[bundle] Include aot profiler in the bundle

The aot profiler will be used to generate aot profiles for "profiled"
AOT builds. Note that we don't have an infrastructure for "profiled"
AOT builds yet.

I plan to test the "profiled" AOT to have an idea what apk sizes and
startup times to expect.
This commit is contained in:
Radek Doulik 2018-01-26 11:01:43 +01:00 коммит произвёл Jonathan Pryor
Родитель 256f93ae55
Коммит 37119924af
2 изменённых файлов: 21 добавлений и 0 удалений

Просмотреть файл

@ -32,6 +32,7 @@
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<NativeLibraryExtension>so</NativeLibraryExtension>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoBtlsFilename>libmono-btls-shared</OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>$(_ArmeabiRuntimeBuild)</DoBuild>
@ -58,6 +59,7 @@
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<NativeLibraryExtension>so</NativeLibraryExtension>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoBtlsFilename>libmono-btls-shared</OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>true</DoBuild>
@ -87,6 +89,7 @@
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<NativeLibraryExtension>so</NativeLibraryExtension>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoBtlsFilename>libmono-btls-shared</OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>$(_Arm64RuntimeBuild)</DoBuild>
@ -117,6 +120,7 @@
<NativeLibraryExtension>so</NativeLibraryExtension>
<OutputMonoBtlsFilename>libmono-btls-shared</OutputMonoBtlsFilename>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>$(_X86RuntimeBuild)</DoBuild>
</_MonoRuntime>
@ -145,6 +149,7 @@
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<NativeLibraryExtension>so</NativeLibraryExtension>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoBtlsFilename>libmono-btls-shared</OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>$(_X8664RuntimeBuild)</DoBuild>
@ -171,6 +176,7 @@
<NativeLibraryExtension>dll</NativeLibraryExtension>
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<OutputProfilerFilename></OutputProfilerFilename>
<OutputAotProfilerFilename></OutputAotProfilerFilename>
<OutputMonoBtlsFilename></OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>True</DoBuild>
@ -194,6 +200,7 @@
<NativeLibraryExtension>dll</NativeLibraryExtension>
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<OutputProfilerFilename></OutputProfilerFilename>
<OutputAotProfilerFilename></OutputAotProfilerFilename>
<OutputMonoBtlsFilename></OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>True</DoBuild>
@ -215,6 +222,7 @@
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<NativeLibraryExtension>dylib</NativeLibraryExtension>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoBtlsFilename></OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>True</DoBuild>
@ -236,6 +244,7 @@
<OutputRuntimeFilename>libmonosgen-2.0</OutputRuntimeFilename>
<NativeLibraryExtension>so</NativeLibraryExtension>
<OutputProfilerFilename>libmono-profiler-log</OutputProfilerFilename>
<OutputAotProfilerFilename>libmono-profiler-aot</OutputAotProfilerFilename>
<OutputMonoBtlsFilename></OutputMonoBtlsFilename>
<OutputMonoPosixHelperFilename>libMonoPosixHelper</OutputMonoPosixHelperFilename>
<DoBuild>True</DoBuild>

Просмотреть файл

@ -241,14 +241,26 @@
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\mono\profiler\.libs\%(OutputProfilerFilename).%(NativeLibraryExtension)')"
/>
<_ProfilerSource
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputAotProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\mono\profiler\.libs\%(OutputAotProfilerFilename).%(NativeLibraryExtension)')"
/>
<_InstallProfilerOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputProfilerFilename).%(NativeLibraryExtension)')"
/>
<_InstallProfilerOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputAotProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputAotProfilerFilename).%(NativeLibraryExtension)')"
/>
<_InstallUnstrippedProfilerOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputProfilerFilename).d.%(NativeLibraryExtension)')"
/>
<_InstallUnstrippedProfilerOutput
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputAotProfilerFilename)' != '' "
Include="@(_MonoRuntime->'$(_MSBuildDir)\lib\%(Identity)\%(OutputAotProfilerFilename).d.%(NativeLibraryExtension)')"
/>
<_MonoBtlsSource
Condition=" '%(_MonoRuntime.DoBuild)' == 'True' And '%(_MonoRuntime.OutputMonoBtlsFilename)' != '' "
Include="@(_MonoRuntime->'$(IntermediateOutputPath)\%(Identity)\mono\btls\build-shared\%(OutputMonoBtlsFilename).%(NativeLibraryExtension)')"