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

Unified Diff: test/win/linker-flags/main-crt.c

Issue 107293004: win msvs: make ordering match .gyp order (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@master
Patch Set: use OrderedSet instead Created 7 years 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: test/win/linker-flags/main-crt.c
diff --git a/test/prune_targets/lib1.cc b/test/win/linker-flags/main-crt.c
similarity index 62%
copy from test/prune_targets/lib1.cc
copy to test/win/linker-flags/main-crt.c
index 692b7de6d82c927503c21607863f671307fa6cd1..bdc80c54fd9532a5ca722e923380f1acf9d942d7 100644
--- a/test/prune_targets/lib1.cc
+++ b/test/win/linker-flags/main-crt.c
@@ -2,5 +2,7 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-void libfunc1() {
+// Stub so we can link with /NODEFAULTLIB when checking disasm.
+int mainCRTStartup() {
+ return 5;
}

Powered by Google App Engine
This is Rietveld 408576698