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

Unified Diff: test/win/large-pdb/dllmain.cc

Issue 12476002: Create msvs_large_pdb workaround. (Closed) Base URL: https://git.chromium.org/git/external/gyp.git@master
Patch Set: Addressed scottmg's nits. Created 7 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/win/gyptest-link-large-pdb.py ('k') | test/win/large-pdb/large-pdb.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/win/large-pdb/dllmain.cc
diff --git a/test/win/shard/hello4.cc b/test/win/large-pdb/dllmain.cc
similarity index 59%
copy from test/win/shard/hello4.cc
copy to test/win/large-pdb/dllmain.cc
index a94df194999a38e80cde7e2a7205a9f6a39601cd..14875623e833b6fd6667e800e5c722214999c9dc 100644
--- a/test/win/shard/hello4.cc
+++ b/test/win/large-pdb/dllmain.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-int f4() {
- return 0;
+#include <windows.h>
+
+BOOL WINAPI DllMain(HINSTANCE hinstance, DWORD reason, LPVOID reserved) {
+ return TRUE;
}
« no previous file with comments | « test/win/gyptest-link-large-pdb.py ('k') | test/win/large-pdb/large-pdb.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698