Remove GenAPI Tasks accepted/tizen/unified/20170602.153935 submit/tizen/20170531.104434
authorWonYoung Choi <wy80.choi@samsung.com>
Wed, 31 May 2017 10:43:32 +0000 (19:43 +0900)
committerWonYoung Choi <wy80.choi@samsung.com>
Wed, 31 May 2017 10:43:32 +0000 (19:43 +0900)
ReferenceAssemblies of Tizen API packages will be generated in other project.

Change-Id: Iba697793909b05ce43b8efd2e88051879bae96be

GenAPI/GenAPI.exe [deleted file]
GenAPI/GenAPI.runtimeconfig.json [deleted file]
GenAPI/LICENSE [deleted file]
GenAPI/Microsoft.Cci.Extensions.dll [deleted file]
GenAPI/Microsoft.Cci.dll [deleted file]
Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets
Tools/TizenPlatformPackages.txt [deleted file]
packaging/dotnet-build-tools.spec

diff --git a/GenAPI/GenAPI.exe b/GenAPI/GenAPI.exe
deleted file mode 100755 (executable)
index 1056437..0000000
Binary files a/GenAPI/GenAPI.exe and /dev/null differ
diff --git a/GenAPI/GenAPI.runtimeconfig.json b/GenAPI/GenAPI.runtimeconfig.json
deleted file mode 100644 (file)
index 9b04e48..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-{
-  "runtimeOptions": {
-    "tfm": "netcoreapp2.0",
-    "framework": {
-      "name": "Microsoft.NETCore.App",
-      "version": "2.0.0-*"
-    }
-  }
-}
diff --git a/GenAPI/LICENSE b/GenAPI/LICENSE
deleted file mode 100644 (file)
index 56e51b1..0000000
+++ /dev/null
@@ -1,21 +0,0 @@
-The MIT License (MIT)
-
-Copyright (c) .NET Foundation and Contributors
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
diff --git a/GenAPI/Microsoft.Cci.Extensions.dll b/GenAPI/Microsoft.Cci.Extensions.dll
deleted file mode 100755 (executable)
index ca41b9f..0000000
Binary files a/GenAPI/Microsoft.Cci.Extensions.dll and /dev/null differ
diff --git a/GenAPI/Microsoft.Cci.dll b/GenAPI/Microsoft.Cci.dll
deleted file mode 100755 (executable)
index 0956d9a..0000000
Binary files a/GenAPI/Microsoft.Cci.dll and /dev/null differ
index 0cdb516..a78744b 100644 (file)
@@ -1,10 +1,5 @@
 <Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
 
-  <!-- Tizen's dotnet-build-tools properties -->
-  <PropertyGroup>
-    <__ToolsDir>/usr/share/dotnet-build-tools</__ToolsDir>
-  </PropertyGroup>
-
   <!-- UseTizenGBSImportAfterTarget -->
   <PropertyGroup Condition="'$(UseTizenGBSImportAfterTarget)' == ''">
     <UseTizenGBSImportAfterTarget>false</UseTizenGBSImportAfterTarget>
@@ -28,8 +23,6 @@
   <PropertyGroup Condition="'$(UseTizenGBSImportAfterTarget)' == 'true'">
     <BuildDependsOn>
       $(BuildDependsOn);
-      __CheckTizenPlatformPackages;
-      __GenerateReferenceAssembly;
       __AppendNuGetAssemblyFiles;
     </BuildDependsOn>
   </PropertyGroup>
     <DocumentationFile Condition="'$(DocumentationFile)' == ''">$(OutputPath)$(AssemblyName).xml</DocumentationFile>
   </PropertyGroup>
 
-  <!-- GenAPI Properties -->
-  <PropertyGroup>
-    <_GenAPITargetDir>_ref</_GenAPITargetDir>
-    <_GenAPITargetSourcePath>$(_GenAPITargetDir)/$(TargetName).cs</_GenAPITargetSourcePath>
-    <_GenAPITargetAssemblyInfoPath>$(_GenAPITargetDir)/$(TargetName).AssemblyInfo.cs</_GenAPITargetAssemblyInfoPath>
-    <_GenAPITargetAssemblyPath>$(_GenAPITargetDir)/$(TargetName).dll</_GenAPITargetAssemblyPath>
-    <_GenAPIPath Condition="'$(_GenAPIPath)' == ''">$(__ToolsDir)/GenAPI/GenAPI.exe</_GenAPIPath>
-    <_GenAPICommand>dotnet $(_GenAPIPath)</_GenAPICommand>
-  </PropertyGroup>
-
   <!-- NuSpec File -->
   <PropertyGroup>
     <NuSpecFile>$(MSBuildProjectDirectory)/$(AssemblyName).nuspec</NuSpecFile>
     </NuGetAssemblyFile>
   </ItemGroup>
 
-  <!-- Check TizenPlatformPackages -->
-  <Target Name="__CheckTizenPlatformPackages">
-    <ReadLinesFromFile File="$(__ToolsDir)/TizenPlatformPackages.txt">
-      <Output TaskParameter="Lines" ItemName="TizenPlatformPackages" />
-    </ReadLinesFromFile>
-    <PropertyGroup>
-      <GenerateReferenceAssembly Condition="'%(TizenPlatformPackages.Identity)' == '$(AssemblyName)'">true</GenerateReferenceAssembly>
-    </PropertyGroup>
-  </Target>
-
   <!-- Append _NuGetFiles to .nuspec file -->
   <Target Name="__AppendNuGetAssemblyFiles" Condition="Exists('$(NuSpecFile)')">
     <Exec Command="dotnet-build nuspec_addfile &quot;$(NuSpecFile)&quot; &quot;%(NuGetAssemblyFile.Identity)&quot; &quot;%(NuGetAssemblyFile.TargetPath)&quot;" />
   </Target>
 
-  <!-- Generate Reference Assembly .cs file -->
-  <Target Name="__GenerateReferenceAssemblySource"
-          Inputs="$(TargetPath)"
-          Outputs="$(_GenAPITargetSourcePath)">
-
-    <MakeDir Directories="$(_GenAPITargetDir)" />
-
-    <ItemGroup>
-      <_referencePathDirectoriesWithDuplicates Include="%(ReferencePath.RootDir)%(ReferencePath.Directory)" />
-      <_referencePathDirectories Include="%(_referencePathDirectoriesWithDuplicates.Identity)" />
-    </ItemGroup>
-
-    <Exec Command="$(_GenAPICommand) -assembly:&quot;$(TargetPath)&quot; -libPath:&quot;@(_referencePathDirectories)&quot; -out:&quot;$(_GenAPITargetSourcePath)&quot; -throw:&quot;Not Supported Feature&quot; -global" />
-
-    <ItemGroup>
-      <__RefCompile Include="$(_GenAPITargetSourcePath)"/>
-      <FileWrites Include="$(_GenAPITargetSourcePath)"/>
-    </ItemGroup>
-
-  </Target>
-
-  <!-- Generate AssemblyInfo.cs file -->
-  <Target Name="__GenerateAssemblyInfoSource"
-          Inputs="$(TargetPath)"
-          Outputs="$(_GenAPITargetAssemblyInfoPath)">
-
-    <GetAssemblyIdentity AssemblyFiles="$(TargetPath)" Condition="'$(AssemblyVersion)' == ''">
-      <Output TaskParameter="Assemblies" ItemName="__AssemblyInfo" />
-    </GetAssemblyIdentity>
-
-    <ItemGroup Condition="'$(AssemblyVersion)' == ''">
-      <AssemblyInfoLines Include="[assembly:System.Reflection.AssemblyVersion(&quot;%(__AssemblyInfo.Version)&quot;)]" />
-    </ItemGroup>
-    <ItemGroup Condition="'$(AssemblyVersion)' != ''">
-      <AssemblyInfoLines Include="[assembly:System.Reflection.AssemblyVersion(&quot;$(AssemblyVersion)&quot;)]" />
-    </ItemGroup>
-
-    <WriteLinesToFile
-      File="$(_GenAPITargetAssemblyInfoPath)"
-      Lines="@(AssemblyInfoLines)"
-      Overwrite="true" />
-
-    <ItemGroup>
-      <__RefCompile Include="$(_GenAPITargetAssemblyInfoPath)" />
-      <FileWrites Include="$(_GenAPITargetAssemblyInfoPath)" />
-    </ItemGroup>
-
-  </Target>
-
-  <!-- Generate Reference Assembly .dll file -->
-  <Target Name="__GenerateReferenceAssembly"
-          Condition="'$(GenerateReferenceAssembly)' == 'true'"
-          Inputs="@(__RefCompile)"
-          Outputs="$(_GenAPITargetAssemblyPath)"
-          DependsOnTargets="__GenerateReferenceAssemblySource;__GenerateAssemblyInfoSource">
-
-    <ItemGroup>
-      <NuGetAssemblyFile Include="$(DocumentationFile)">
-        <TargetPath>ref/$(TargetFramework)</TargetPath>
-      </NuGetAssemblyFile>
-      <NuGetAssemblyFile Include="$(_GenAPITargetAssemblyPath)">
-        <TargetPath>ref/$(TargetFramework)</TargetPath>
-      </NuGetAssemblyFile>
-    </ItemGroup>
-
-    <!-- for ToolVersion 4.0 -->
-    <Csc Condition="'$(MSBuildAssemblyVersion)' == ''"
-        Sources="@(__RefCompile)"
-        OutputAssembly="$(_GenAPITargetAssemblyPath)"
-        AdditionalLibPaths="$(AdditionalLibPaths)"
-        AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
-        DefineConstants="$(DefineConstants)"
-        KeyFile="$(KeyOriginatorFile)"
-        TargetType="$(OutputType)"
-        NoStandardLib="$(NoCompilerStandardLib)"
-        References="@(ReferencePath)"
-        ToolExe="$(CscToolExe)"
-        ToolPath="$(CscToolPath)" />
-
-    <!-- for ToolVersion 15.0 -->
-    <Csc Condition="'$(MSBuildAssemblyVersion)' != ''"
-        Sources="@(__RefCompile)"
-        OutputAssembly="$(_GenAPITargetAssemblyPath)"
-        AdditionalLibPaths="$(AdditionalLibPaths)"
-        AllowUnsafeBlocks="$(AllowUnsafeBlocks)"
-        DefineConstants="$(DefineConstants)"
-        KeyFile="$(KeyOriginatorFile)"
-        PublicSign="$(PublicSign)"
-        TargetType="$(OutputType)"
-        NoStandardLib="$(NoCompilerStandardLib)"
-        References="@(ReferencePath)"
-        ToolExe="$(CscToolExe)"
-        ToolPath="$(CscToolPath)" />
-
-    <ItemGroup>
-      <FileWrites Include="$(_GenAPITargetAssemblyPath)"/>
-    </ItemGroup>
-  </Target>
-
 </Project>
diff --git a/Tools/TizenPlatformPackages.txt b/Tools/TizenPlatformPackages.txt
deleted file mode 100644 (file)
index 97bedcf..0000000
+++ /dev/null
@@ -1,58 +0,0 @@
-ElmSharp
-Tizen
-Tizen.Account.AccountManager
-Tizen.Account.FidoClient
-Tizen.Account.OAuth2
-Tizen.Applications
-Tizen.Applications.Alarm
-Tizen.Applications.Badge
-Tizen.Applications.Common
-Tizen.Applications.DataControl
-Tizen.Applications.MessagePort
-Tizen.Applications.Notification
-Tizen.Applications.NotificationEventListener
-Tizen.Applications.PackageManager
-Tizen.Applications.Preference
-Tizen.Applications.RemoteView
-Tizen.Applications.Service
-Tizen.Applications.ToastMessage
-Tizen.Applications.UI
-Tizen.Applications.WidgetApplication
-Tizen.Applications.WidgetControl
-Tizen.Content.Download
-Tizen.Content.MediaContent
-Tizen.Content.MimeType
-Tizen.Location
-Tizen.Location.Geofence
-Tizen.Log
-Tizen.Maps
-Tizen.Messaging
-Tizen.Messaging.Push
-Tizen.Multimedia
-Tizen.Network.Bluetooth
-Tizen.Network.Connection
-Tizen.Network.IoTConnectivity
-Tizen.Network.Nfc
-Tizen.Network.Smartcard
-Tizen.Network.WiFi
-Tizen.Network.WiFiDirect
-Tizen.NUI
-Tizen.PhonenumberUtils
-Tizen.Pims.Calendar
-Tizen.Pims.Contacts
-Tizen.Security
-Tizen.Security.SecureRepository
-Tizen.Sensor
-Tizen.System
-Tizen.System.Feedback
-Tizen.System.Information
-Tizen.System.MediaKey
-Tizen.System.Storage
-Tizen.System.SystemSettings
-Tizen.Telephony
-Tizen.Tracer
-Tizen.Uix.InputMethodManager
-Tizen.Uix.Stt
-Tizen.Uix.Tts
-Tizen.Uix.VoiceControl
-Tizen.WebView
\ No newline at end of file
index d05c36a..c8fbfe3 100644 (file)
@@ -3,7 +3,7 @@
 
 Name:       dotnet-build-tools
 Summary:    Tools for building C# API projects
-Version:    1.2.4
+Version:    1.2.5
 Release:    1
 Group:      Development/Libraries
 License:    MIT and Apache-2.0
@@ -32,7 +32,6 @@ C# Deivce API with xbuild in GBS environment.
 %define NUGET_PATH %{_datadir}/NuGet
 %define TOOLS_PATH %{_datadir}/dotnet-build-tools
 %define CLI_PATH %{TOOLS_PATH}/cli
-%define GENAPI_PATH %{TOOLS_PATH}/GenAPI
 
 %prep
 %setup -q
@@ -65,10 +64,6 @@ mkdir -p %{buildroot}%{CLI_PATH}
 cp -fr ./dotnet/* %{buildroot}%{CLI_PATH}
 ln -s %{CLI_PATH}/dotnet %{buildroot}%{_bindir}/dotnet
 
-# GenAPI
-mkdir -p %{buildroot}%{GENAPI_PATH}
-install -p -m 644 GenAPI/* %{buildroot}%{GENAPI_PATH}
-
 # Tizen.GBS.BuildTasks
 mkdir -p %{buildroot}%{XBUILD_PATH}/14.0/Microsoft.Common.targets/ImportAfter
 install -p -m 644 Tizen.GBS.BuildTasks/Tizen.GBS.ImportAfter.targets %{buildroot}%{XBUILD_PATH}/14.0/Microsoft.Common.targets/ImportAfter
@@ -91,7 +86,7 @@ mkdir -p %{buildroot}%{XBUILD_PATH}/14.0/Microsoft.Common.targets/ImportAfter
 install -p -m 644 NuGet.BuildTasks/ImportBeforeAfter/Microsoft.NuGet.ImportAfter.targets %{buildroot}%{XBUILD_PATH}/14.0/Microsoft.Common.targets/ImportAfter
 
 %files
-%license NuGet/LICENSE GenAPI/LICENSE
+%license NuGet/LICENSE
 %config(noreplace) %{_sysconfdir}/rpm/macros.dotnet-build-tools
 %{_bindir}/*
 %{NUGET_PATH}/*