-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add toolchains libs to winapi fixups (#838)
Summary: Pull Request resolved: #838 This should fix buck2 CI on Github. List of libraries is produced by winapi crate build script. Reviewed By: bigfootjon Differential Revision: D67985790 fbshipit-source-id: d27fde0897e621f6898023c0bc27175af8c2f4d5
- Loading branch information
1 parent
22a143e
commit f49362c
Showing
2 changed files
with
174 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,96 @@ | ||
# Copyright (c) Meta Platforms, Inc. and affiliates. | ||
# | ||
# This source code is licensed under both the MIT license found in the | ||
# LICENSE-MIT file in the root directory of this source tree and the Apache | ||
# License, Version 2.0 found in the LICENSE-APACHE file in the root directory | ||
# of this source tree. | ||
|
||
oncall("open_source") | ||
|
||
LIBS = [ | ||
"advapi32.lib", | ||
"avrt.lib", | ||
"bcrypt.lib", | ||
"bluetoothapis.lib", | ||
"bthprops.lib", | ||
"cfgmgr32.lib", | ||
"comctl32.lib", | ||
"comdlg32.lib", | ||
"credui.lib", | ||
"crypt32.lib", | ||
"cryptnet.lib", | ||
"d2d1.lib", | ||
"d3d11.lib", | ||
"d3d12.lib", | ||
"d3d9.lib", | ||
"d3dcompiler.lib", | ||
"dbghelp.lib", | ||
"dcomp.lib", | ||
"dsound.lib", | ||
"dwmapi.lib", | ||
"dwrite.lib", | ||
"dxgi.lib", | ||
"dxva2.lib", | ||
"fwpuclnt.lib", | ||
"gdi32.lib", | ||
"hid.lib", | ||
"httpapi.lib", | ||
"imm32.lib", | ||
"iphlpapi.lib", | ||
"kernel32.lib", | ||
"ktmw32.lib", | ||
"mmdevapi.lib", | ||
"mpr.lib", | ||
"msimg32.lib", | ||
"mswsock.lib", | ||
"ncrypt.lib", | ||
"netapi32.lib", | ||
"ntdll.lib", | ||
"odbc32.lib", | ||
"ole32.lib", | ||
"oleaut32.lib", | ||
"opengl32.lib", | ||
"pdh.lib", | ||
"powrprof.lib", | ||
"psapi.lib", | ||
"rstrtmgr.lib", | ||
"runtimeobject.lib", | ||
"secur32.lib", | ||
"setupapi.lib", | ||
"shcore.lib", | ||
"shell32.lib", | ||
"shlwapi.lib", | ||
"sporder.lib", | ||
"synchronization.lib", | ||
"user32.lib", | ||
"userenv.lib", | ||
"usp10.lib", | ||
"uxtheme.lib", | ||
"version.lib", | ||
"vssapi.lib", | ||
"wer.lib", | ||
"wevtapi.lib", | ||
"windowscodecs.lib", | ||
"winhttp.lib", | ||
"wininet.lib", | ||
"winmm.lib", | ||
"winscard.lib", | ||
"winspool.lib", | ||
"wintrust.lib", | ||
"winusb.lib", | ||
"wlanapi.lib", | ||
"ws2_32.lib", | ||
"wtsapi32.lib", | ||
"xinput.lib", | ||
] | ||
|
||
[ | ||
prebuilt_cxx_library( | ||
name = lib, | ||
exported_linker_flags = [lib], | ||
header_only = True, | ||
target_compatible_with = ["config//os:windows"], | ||
visibility = ["PUBLIC"], | ||
) | ||
for lib in LIBS | ||
] |