From 9af1c5e4b072b88b78fcc2d35a350ad4db737c3c Mon Sep 17 00:00:00 2001 From: Kenneth Pouncey Date: Fri, 24 Apr 2020 11:37:37 +0200 Subject: [PATCH] [wasm] Rename the browser targets to `TargetsBrowser` (#35390) - The change also makes sure that the `TargetsBrowser` is used consistently. - example TargetsWebAssembly and TargetsWASM --- src/libraries/targetframework.props | 2 +- src/mono/Directory.Build.props | 4 ++-- src/mono/mono.proj | 24 ++++++++++++------------ 3 files changed, 15 insertions(+), 15 deletions(-) diff --git a/src/libraries/targetframework.props b/src/libraries/targetframework.props index 79e842c..4028949 100644 --- a/src/libraries/targetframework.props +++ b/src/libraries/targetframework.props @@ -65,7 +65,7 @@ true - true + true diff --git a/src/mono/Directory.Build.props b/src/mono/Directory.Build.props index eaf91f3..91cfb0e 100644 --- a/src/mono/Directory.Build.props +++ b/src/mono/Directory.Build.props @@ -42,9 +42,9 @@ true true true - true + true true - true + true diff --git a/src/mono/mono.proj b/src/mono/mono.proj index a56b177..b4f59d3 100644 --- a/src/mono/mono.proj +++ b/src/mono/mono.proj @@ -20,8 +20,8 @@ libmono.a libmono.a libmonosgen-2.0.a - libmono.a - libmono.a + libmono.a + libmono.a $(CoreClrFileName) $(Configuration) $(Configuration) @@ -31,7 +31,7 @@ /Applications/Xcode.app/Contents/Developer true true - true + true @@ -619,10 +619,10 @@ <_MonoSTRIPOption>STRIP="$(_MonoTuple)-strip" - + - + <_MonoConfigureParams Include="--host=wasm32"/> <_MonoConfigureParams Include="--disable-boehm" /> <_MonoConfigureParams Include="--disable-btls" /> @@ -714,7 +714,7 @@ <_MonoConfigureOptions>@(_MonoConfigureParams, ' ') @(_MonoAC_VARS, ' ') $(_MonoCFLAGSOption) $(_MonoCXXFLAGSOption) $(_MonoCPPFLAGSOption) $(_MonoCXXCPPFLAGSOption) $(_MonoLDFLAGSOption) $(_MonoCCLDFLAGSOption) $(_MonoCCOption) $(_MonoCXXOption) $(_MonoAROption) $(_MonoASOption) $(_MonoCPPOption) $(_MonoCXXCPPOption) $(_MonoDLLTOOLOption) $(_MonoLDOption) $(_MonoOBJDUMPOption) $(_MonoRANLIBOption) $(_MonoCMAKEOption) $(_MonoSTRIPOption) <_MonoConfigureCommand Condition="'$(_MonoCCOption)' == '' and '$(_MonoCXXOption)' == ''">bash -c 'source $(RepositoryEngineeringDir)native/init-compiler.sh $(Platform) clang && $(MonoProjectRoot)configure $(_MonoConfigureOptions)' <_MonoConfigureCommand Condition="'$(_MonoCCOption)' != '' and '$(_MonoCXXOption)' != ''">$(MonoProjectRoot)configure $(_MonoConfigureOptions) - <_MonoConfigureCommand Condition="'$(TargetsWASM)' == 'true'">bash -c 'source $(EMSDK_PATH)/emsdk_env.sh && emconfigure $(MonoProjectRoot)configure $(_MonoConfigureOptions)' + <_MonoConfigureCommand Condition="'$(TargetsBrowser)' == 'true'">bash -c 'source $(EMSDK_PATH)/emsdk_env.sh && emconfigure $(MonoProjectRoot)configure $(_MonoConfigureOptions)' @@ -749,10 +749,10 @@ - - + + - + @@ -946,13 +946,13 @@ <_MonoRuntimeFilePath Condition="'$(TargetsiOS)' == 'true'">$(MonoObjDir)out\lib\libmonosgen-2.0.dylib <_MonoRuntimeFilePath Condition="'$(TargetstvOS)' == 'true'">$(MonoObjDir)out\lib\libmonosgen-2.0.dylib <_MonoRuntimeFilePath Condition="'$(TargetsAndroid)' == 'true'">$(MonoObjDir)out\lib\libmonosgen-2.0.so - <_MonoRuntimeFilePath Condition="'$(TargetsWASM)' == 'true'">$(MonoObjDir)mono\mini\.libs\libmonosgen-2.0.a + <_MonoRuntimeFilePath Condition="'$(TargetsBrowser)' == 'true'">$(MonoObjDir)mono\mini\.libs\libmonosgen-2.0.a <_MonoRuntimeFilePath Condition="'$(_MonoRuntimeFilePath)' == ''">$(MonoObjDir)mono\mini\.libs\libmonosgen-2.0.so <_MonoRuntimeStaticFilePath Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsAndroid)' == 'true'">$(MonoObjDir)out\lib\libmonosgen-2.0.a <_MonoAotCrossFilePath Condition="'$(TargetsiOS)' == 'true' and '$(Platform)' == 'arm64'">$(MonoObjDir)cross\out\bin\aarch64-darwin-mono-sgen <_MonoAotCrossFilePath Condition="'$(TargetsiOS)' == 'true' and '$(Platform)' == 'arm'">$(MonoObjDir)cross\out\bin\arm-darwin-mono-sgen <_MonoAotCrossFilePath Condition="'$(TargetstvOS)' == 'true' and '$(Platform)' == 'arm64'">$(MonoObjDir)cross\out\bin\aarch64-darwin-mono-sgen - <_MonoAotCrossFilePath Condition="'$(TargetsWASM)' == 'true'">$(MonoObjDir)cross\out\bin\wasm32-unknown-none-mono-sgen + <_MonoAotCrossFilePath Condition="'$(TargetsBrowser)' == 'true'">$(MonoObjDir)cross\out\bin\wasm32-unknown-none-mono-sgen @@ -982,7 +982,7 @@ + Condition="'$(TargetsiOS)' == 'true' or '$(TargetstvOS)' == 'true' or '$(TargetsAndroid)' == 'true' or '$(TargetsBrowser)' == 'true'"/> -- 2.7.4