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

Unified Diff: test/link-dependency/mymalloc.c

Issue 194983003: Disable gyptest-link-dependency.py for cmake, make it pass with ninja/win (Closed) Base URL: http://gyp.googlecode.com/svn/trunk/
Patch Set: Created 6 years, 9 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
« no previous file with comments | « test/link-dependency/gyptest-link-dependency.py ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/link-dependency/mymalloc.c
===================================================================
--- test/link-dependency/mymalloc.c (revision 1864)
+++ test/link-dependency/mymalloc.c (working copy)
@@ -1,4 +1,11 @@
#include <stdlib.h>
+
+// The windows ninja generator is expecting an import library to get generated,
+// but it doesn't if there are no exports.
+#ifdef _MSC_VER
+__declspec(dllexport) void foo() {}
+#endif
+
void *malloc(size_t size) {
return (void*)0xdeadbeef;
}
« no previous file with comments | « test/link-dependency/gyptest-link-dependency.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698