Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(985)

Unified Diff: third_party/grpc/vsprojects/coapp/zlib/grpc.dependencies.zlib.autopkg

Issue 1932353002: Initial checkin of gRPC to third_party/ Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/grpc/vsprojects/coapp/zlib/grpc.dependencies.zlib.autopkg
diff --git a/third_party/grpc/vsprojects/coapp/zlib/grpc.dependencies.zlib.autopkg b/third_party/grpc/vsprojects/coapp/zlib/grpc.dependencies.zlib.autopkg
new file mode 100644
index 0000000000000000000000000000000000000000..9dcc43aef304769be2f1f26353b0fa26402944d6
--- /dev/null
+++ b/third_party/grpc/vsprojects/coapp/zlib/grpc.dependencies.zlib.autopkg
@@ -0,0 +1,108 @@
+@import @"version.inc";
+
+configurations
+{
+ // See https://github.com/coapp/coapp.powershell/issues/112
+ Toolset
+ {
+ key : "PlatformToolset"; // this is CoApp pre-defined key
+ choices: { v140, v120, v110, v100 };
+ };
+}
+
+#define {
+ package-id = "grpc.dependencies.zlib";
+}
+
+nuget {
+ // the nuspec file metadata. Gets created/updated on build
+ nuspec {
+ id = ${package-id};
+ version : ${package-version};
+ title: gRPC Native Dependency: ZLib compression library;
+ authors: {Jean-loup Gailly, Mark Adler, Garrett Serack, Tim Rogers};
+ owners: {Jan Tattermusch};
+ licenseUrl: "http://zlib.net/zlib-license.html";
+ projectUrl: "http://github.com/grpc/grpc";
+ iconUrl: "http://zlib.net/images/zlib3d-b1.png";
+ requireLicenseAcceptance:false;
+ summary:A zlib library;
+ description: @"A native zlib library.
+ zlib homepage: http://zlib.net";
+ releaseNotes: "Release of zlib 1.2.8 libraries.";
+ copyright: Copyright 2013;
+ tags: { zlib, native, CoApp };
+
+ };
+
+ // the files that go into the content folders
+ // (inserted into the nuspec file)
+ files {
+ // .targets file that are applied when redist package is installed from a managed project.
+ managed_build: {
+ #output {
+ package = redist;
+ };
+ #destination = "\build\portable-net45+netcore45+wpa81+wp8";
+ "managed_targets\${package-id}.redist.targets";
+ };
+
+ include: { ..\..\..\third_party\zlib\zlib.h, ..\..\..\third_party\zlib\zconf.h };
+
+ docs: { ..\..\..\third_party\zlib\doc\**\* };
+
+ source += {
+ "..\..\..\third_party\zlib\adler32.c",
+ "..\..\..\third_party\zlib\compress.c",
+ "..\..\..\third_party\zlib\crc32.c",
+ "..\..\..\third_party\zlib\deflate.c",
+ "..\..\..\third_party\zlib\gzclose.c",
+ "..\..\..\third_party\zlib\gzlib.c",
+ "..\..\..\third_party\zlib\gzread.c",
+ "..\..\..\third_party\zlib\gzwrite.c",
+ "..\..\..\third_party\zlib\infback.c",
+ "..\..\..\third_party\zlib\inffast.c",
+ "..\..\..\third_party\zlib\inflate.c",
+ "..\..\..\third_party\zlib\inftrees.c",
+ "..\..\..\third_party\zlib\trees.c",
+ "..\..\..\third_party\zlib\uncompr.c",
+ "..\..\..\third_party\zlib\zutil.c",
+ "..\..\..\third_party\zlib\crc32.h",
+ "..\..\..\third_party\zlib\deflate.h",
+ "..\..\..\third_party\zlib\gzguts.h",
+ "..\..\..\third_party\zlib\inffast.h",
+ "..\..\..\third_party\zlib\inffixed.h",
+ "..\..\..\third_party\zlib\inflate.h",
+ "..\..\..\third_party\zlib\inftrees.h",
+ "..\..\..\third_party\zlib\trees.h",
+ "..\..\..\third_party\zlib\zconf.h",
+ "..\..\..\third_party\zlib\zlib.h",
+ "..\..\..\third_party\zlib\zutil.h",
+ "..\..\..\third_party\zlib\contrib\masmx64\inffas8664.c",
+ };
+ ("v100,v120,v140", "Win32,x64", "Release,Debug", "Dynamic", "cdecl,stdcall", "MultiByte") => {
+ [${0},${1},${2},${3},${4}] {
+ lib: { .\output\${0}\${1}\${2}\${3}\${4}\${5}\*.lib };
+ bin: { .\output\${0}\${1}\${2}\${3}\${4}\${5}\*.dll };
+ symbols: { .\output\${0}\${1}\${2}\${3}\${4}\${5}\*.pdb };
+ };
+ };
+ ("v100,v120,v140", "Win32,x64", "Release,Debug", "Static,ltcg", "cdecl,stdcall", "MultiByte") => {
+ [${0},${1},${2},${3},${4}] {
+ lib: { .\output\${0}\${1}\${2}\${3}\${4}\${5}\*.lib };
+ };
+ };
+
+ };
+
+ // the VC++ .targets file that gets generated and inserted into the ${d_content} folder
+ targets {
+ Defines += HAS_ZLIB;
+ [dynamic]
+ Defines += ZLIB_DLL;
+ [stdcall]
+ Defines += ZLIB_WINAPI;
+
+ };
+}
+
« no previous file with comments | « third_party/grpc/vsprojects/coapp/zlib/buildall.bat ('k') | third_party/grpc/vsprojects/coapp/zlib/version.inc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698