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

Unified Diff: build/config/win/BUILD.gn

Issue 534713003: Add some more libjingle targets to the GN build. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl try Created 6 years, 3 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 | « build/config/BUILDCONFIG.gn ('k') | build/secondary/third_party/libsrtp/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/win/BUILD.gn
diff --git a/build/config/win/BUILD.gn b/build/config/win/BUILD.gn
index d94dec389d78bde2e3349d285266f8365dbf46cb..0f00a1ee5b907de56be287bc301cdb94d453eca4 100644
--- a/build/config/win/BUILD.gn
+++ b/build/config/win/BUILD.gn
@@ -11,13 +11,11 @@ config("sdk") {
defines = [
"_ATL_NO_OPENGL",
- "_WIN32_WINNT=0x0602",
"_WINDOWS",
"CERT_CHAIN_PARA_HAS_EXTRA_FIELDS",
"NTDDI_VERSION=0x06020000",
"PSAPI_VERSION=1",
"WIN32",
- "WINVER=0x0602",
]
include_dirs = system_include_dirs
@@ -33,6 +31,15 @@ config("sdk") {
}
}
+# Sets the default Windows build version. This is separated because some
+# targets need to manually override it for their compiles.
+config("winver") {
+ defines = [
+ "_WIN32_WINNT=0x0602",
+ "WINVER=0x0602",
+ ]
+}
+
# Linker flags for Windows SDK setup, this is applied only to EXEs and DLLs.
config("sdk_link") {
if (cpu_arch == "x64") {
« no previous file with comments | « build/config/BUILDCONFIG.gn ('k') | build/secondary/third_party/libsrtp/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698