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

Side by Side Diff: test/win/linker-flags/default-libs.cc

Issue 12256017: Remove default import library inheritance/configuration. (Closed) Base URL: https://chromium.googlesource.com/external/gyp.git@lkgr
Patch Set: Rebase to head in preparation for landing. Created 7 years, 10 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 unified diff | Download patch
« no previous file with comments | « test/win/idl-rules/basic-idl.gyp ('k') | test/win/linker-flags/default-libs.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 // Copyright (c) 2012 Google Inc. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #include <windows.h>
6 #include <delayimp.h>
7 #include <odbcinst.h>
8 #include <shlobj.h>
9 #include <sql.h>
10 #include <stdio.h>
11
12 // Reference something in each of the default-linked libraries to cause a link
13 // error if one is not correctly included.
14
15 extern "C" void* __puiHead; // DelayImp
16
17 int main() {
18 CopyFile(0, 0, 0); // kernel32
19 MessageBox(0, 0, 0, 0); // user32
20 CreateDC(0, 0, 0, 0); // gdi32
21 AddPrinter(0, 0, 0); // winspool
22 FindText(0); // comdlg32
23 ClearEventLog(0, 0); // advapi32
24 SHGetSettings(0, 0); // shell32
25 OleFlushClipboard(); // ole32
26 VarAdd(0, 0, 0); // oleaut32
27 printf("%p", &CLSID_FileOpenDialog); // uuid
28 SQLAllocHandle(0, 0, 0); // odbc32
29 return 0;
30 }
OLDNEW
« no previous file with comments | « test/win/idl-rules/basic-idl.gyp ('k') | test/win/linker-flags/default-libs.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698