diff options
author | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2013-05-08 10:43:03 +0400 |
---|---|---|
committer | Atsushi Eno <atsushieno@veritas-vos-liberabit.com> | 2013-05-08 10:43:03 +0400 |
commit | b78bbf95f490c8ab0105b028c664235cf103d502 (patch) | |
tree | 25ca4840852eaf38cdb6779cc2239df6e4bdd539 | |
parent | 3501a957f6b619110ab232b1d728d6a73c1be4f5 (diff) |
Make changes to project structures so that they can be simply built without changes for users.
15 files changed, 21 insertions, 41 deletions
diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Core/android_System.Reactive.Core.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Core/android_System.Reactive.Core.csproj index a123faf..6e82f98 100755 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Core/android_System.Reactive.Core.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Core/android_System.Reactive.Core.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.Core</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Debugger/android_System.Reactive.Debugger.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Debugger/android_System.Reactive.Debugger.csproj index be59cf7..ade86ed 100755 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Debugger/android_System.Reactive.Debugger.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Debugger/android_System.Reactive.Debugger.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.Debugger</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Experimental/android_System.Reactive.Experimental.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Experimental/android_System.Reactive.Experimental.csproj index 1459339..404b76d 100755 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Experimental/android_System.Reactive.Experimental.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Experimental/android_System.Reactive.Experimental.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.Experimental</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Interfaces/android_System.Reactive.Interfaces.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Interfaces/android_System.Reactive.Interfaces.csproj index d4c1d1f..4e80617 100644 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Interfaces/android_System.Reactive.Interfaces.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Interfaces/android_System.Reactive.Interfaces.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.Interfaces</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Linq/android_System.Reactive.Linq.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Linq/android_System.Reactive.Linq.csproj index 5b7be1b..2d83ac2 100755 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Linq/android_System.Reactive.Linq.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Linq/android_System.Reactive.Linq.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.Linq</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.PlatformServices/android_System.Reactive.PlatformServices.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.PlatformServices/android_System.Reactive.PlatformServices.csproj index 493c735..981372c 100755 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.PlatformServices/android_System.Reactive.PlatformServices.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.PlatformServices/android_System.Reactive.PlatformServices.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.PlatformServices</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Providers/android_System.Reactive.Providers.csproj b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Providers/android_System.Reactive.Providers.csproj index b915a0d..703115b 100755 --- a/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Providers/android_System.Reactive.Providers.csproj +++ b/Rx/NET/Source/Rx_Xamarin/android/rx/System.Reactive.Providers/android_System.Reactive.Providers.csproj @@ -10,9 +10,7 @@ <OutputType>Library</OutputType> <RootNamespace>System.Reactive</RootNamespace> <AssemblyName>System.Reactive.Providers</AssemblyName> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;SIGNED;NUNIT;MONODROID</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;HAS_AWAIT;NUNIT;MONODROID;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>..\..\..\reactive.pub</AssemblyOriginatorKeyFile> </PropertyGroup> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> diff --git a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Core/ios_System.Reactive.Core.csproj b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Core/ios_System.Reactive.Core.csproj index b815916..0fbebae 100644 --- a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Core/ios_System.Reactive.Core.csproj +++ b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Core/ios_System.Reactive.Core.csproj @@ -13,9 +13,7 @@ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <AssemblyName>System.Reactive.Core</AssemblyName> <ProductSignAssembly>true</ProductSignAssembly> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;SIGNED</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>../../../reactive.pub</AssemblyOriginatorKeyFile> <additionalargs>-delaySign</additionalargs> diff --git a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Debugger/ios_System.Reactive.Debugger.csproj b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Debugger/ios_System.Reactive.Debugger.csproj index 8f1efa4..8f4fcc0 100644 --- a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Debugger/ios_System.Reactive.Debugger.csproj +++ b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Debugger/ios_System.Reactive.Debugger.csproj @@ -13,9 +13,7 @@ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <AssemblyName>System.Reactive.Debugger</AssemblyName> <ProductSignAssembly>true</ProductSignAssembly> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;SIGNED</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>../../../reactive.pub</AssemblyOriginatorKeyFile> <additionalargs>-delaySign</additionalargs> diff --git a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Experimental/ios_System.Reactive.Experimental.csproj b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Experimental/ios_System.Reactive.Experimental.csproj index a4cea67..a99dbe7 100644 --- a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Experimental/ios_System.Reactive.Experimental.csproj +++ b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Experimental/ios_System.Reactive.Experimental.csproj @@ -13,9 +13,7 @@ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <AssemblyName>System.Reactive.Experimental</AssemblyName> <ProductSignAssembly>true</ProductSignAssembly> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;SIGNED</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>../../../reactive.pub</AssemblyOriginatorKeyFile> <additionalargs>-delaySign</additionalargs> diff --git a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Interfaces/ios_System.Reactive.Interfaces.csproj b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Interfaces/ios_System.Reactive.Interfaces.csproj index 9522565..9f68ceb 100644 --- a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Interfaces/ios_System.Reactive.Interfaces.csproj +++ b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Interfaces/ios_System.Reactive.Interfaces.csproj @@ -13,9 +13,7 @@ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <AssemblyName>System.Reactive.Interfaces</AssemblyName> <ProductSignAssembly>true</ProductSignAssembly> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;SIGNED</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>../../../reactive.pub</AssemblyOriginatorKeyFile> <additionalargs>-delaySign</additionalargs> diff --git a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Linq/ios_System.Reactive.Linq.csproj b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Linq/ios_System.Reactive.Linq.csproj index 6d2b24d..4ba1750 100644 --- a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Linq/ios_System.Reactive.Linq.csproj +++ b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.Linq/ios_System.Reactive.Linq.csproj @@ -13,9 +13,7 @@ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <AssemblyName>System.Reactive.Linq</AssemblyName> <ProductSignAssembly>true</ProductSignAssembly> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;SIGNED</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>../../../reactive.pub</AssemblyOriginatorKeyFile> <additionalargs>-delaySign</additionalargs> diff --git a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.PlatformServices/ios_System.Reactive.PlatformServices.csproj b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.PlatformServices/ios_System.Reactive.PlatformServices.csproj index 6592545..452fa78 100644 --- a/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.PlatformServices/ios_System.Reactive.PlatformServices.csproj +++ b/Rx/NET/Source/Rx_Xamarin/iOS/rx/System.Reactive.PlatformServices/ios_System.Reactive.PlatformServices.csproj @@ -13,9 +13,7 @@ <IPhoneResourcePrefix>Resources</IPhoneResourcePrefix> <AssemblyName>System.Reactive.PlatformServices</AssemblyName> <ProductSignAssembly>true</ProductSignAssembly> - <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;SIGNED</DefineConstants> - <SignAssembly>True</SignAssembly> - <DelaySign>True</DelaySign> + <DefineConstants>NO_TASK_DELAY;NO_WINDOWS_THREADING;NO_REMOTING;NO_REFLECTION_EMIT;HAS_AWAIT;NUNIT;$(SignAssemblySpec)</DefineConstants> <AssemblyOriginatorKeyFile>../../../reactive.pub</AssemblyOriginatorKeyFile> <additionalargs>-delaySign</additionalargs> diff --git a/xpkg/Makefile b/xpkg/Makefile index 44bde20..4c6ea7a 100644 --- a/xpkg/Makefile +++ b/xpkg/Makefile @@ -1,4 +1,5 @@ + all: package clean: android_clean iOS_clean @@ -7,7 +8,7 @@ clean: android_clean iOS_clean android: Rx_Xamarin android_build android_copy #android_sign android_build: - xbuild Rx_Xamarin/Rx_Xamarin_android.sln /p:AssemblyOriginatorKeyFile=$(KEYFILE_SNK) /p:DelaySign=false + xbuild Rx_Xamarin/Rx_Xamarin_android.sln /p:DelaySign=false /p:AssemblyOriginatorKeyFile=$(KEYFILE_SNK) /p:SignAssembly=$(SIGN_ASSEMBLY) /p:SignAssemblySpec=$(SIGN_ASSEMBLY_SPEC) android_copy: for proj in Interfaces Core Linq PlatformServices Debugger Providers Runtime.Remoting Experimental ; \ diff --git a/xpkg/README b/xpkg/README index 6be542f..b8613c5 100644 --- a/xpkg/README +++ b/xpkg/README @@ -1,6 +1,11 @@ You need to prepare signing key file (sln) to sign those assemblies. Xamarin packages should be signed with its own key. -To build *signed* assemblies, you need to run: make KEYFILE_SNK=/path/to/yourkey.snk +To build *signed* assemblies, you need to run: + + make KEYFILE_SNK=/path/to/yourkey.snk SIGN_ASSEMBLY=true SIGN_ASSEMBLY_SPEC=SIGNED + +Xamarin will publish "signed" version of those assemblies on the component +store, so that Starter users can make use of Rx assemblies. If you don't need any signing, simply build Rx_Xamarin/android/Rx_Xamarin_android.sln. |