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

Side by Side Diff: third_party/usrsctp/BUILD.gn

Issue 2265013003: win: Move NTDDI_VERSION into winver, stop setting it for usrsctp (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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 | « build/config/win/BUILD.gn ('k') | third_party/usrsctp/usrsctp.gyp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 config("usrsctp_config") { 5 config("usrsctp_config") {
6 include_dirs = [ 6 include_dirs = [
7 "usrsctplib/usrsctplib", 7 "usrsctplib/usrsctplib",
8 "usrsctplib/usrsctplib/netinet", 8 "usrsctplib/usrsctplib/netinet",
9 ] 9 ]
10 } 10 }
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
116 defines += [ 116 defines += [
117 "HAVE_SA_LEN", 117 "HAVE_SA_LEN",
118 "HAVE_SCONN_LEN", 118 "HAVE_SCONN_LEN",
119 "__APPLE_USE_RFC_2292", 119 "__APPLE_USE_RFC_2292",
120 "__Userspace_os_Darwin", 120 "__Userspace_os_Darwin",
121 ] 121 ]
122 cflags += [ "-U__APPLE__" ] 122 cflags += [ "-U__APPLE__" ]
123 } 123 }
124 124
125 if (is_win) { 125 if (is_win) {
126 defines += [ 126 defines += [ "__Userspace_os_Windows" ]
127 "__Userspace_os_Windows",
128
129 # Manually setting WINVER and _WIN32_WINNT is needed because Chrome
130 # sets WINVER to a newer version of windows. But compiling usrsctp
131 # this way would is incompatible with windows XP.
132 "WINVER=0x0502",
133 "_WIN32_WINNT=0x0502",
134 ]
135 configs -= [ "//build/config/win:winver" ]
136 } else { 127 } else {
137 defines += [ "NON_WINDOWS_DEFINE" ] 128 defines += [ "NON_WINDOWS_DEFINE" ]
138 } 129 }
139 130
140 deps = [ 131 deps = [
141 "//third_party/boringssl", 132 "//third_party/boringssl",
142 ] 133 ]
143 } 134 }
OLDNEW
« no previous file with comments | « build/config/win/BUILD.gn ('k') | third_party/usrsctp/usrsctp.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698