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

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

Issue 708133002: win: build fixes (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: . Created 6 years, 1 month 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 | « services/http_server/BUILD.gn ('k') | third_party/zlib/BUILD.gn » ('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 (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 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 # Define an "os_include" variable that points at the OS-specific generated 5 # Define an "os_include" variable that points at the OS-specific generated
6 # headers. These were generated by running the configure script offline. 6 # headers. These were generated by running the configure script offline.
7 if (is_linux || is_android) { 7 if (is_linux || is_android) {
8 os_include = "linux" 8 os_include = "linux"
9 } else if (is_mac || is_ios) { 9 } else if (is_mac || is_ios) {
10 os_include = "mac" 10 os_include = "mac"
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 public_deps = [ 146 public_deps = [
147 "//third_party/icu:icuuc", 147 "//third_party/icu:icuuc",
148 ] 148 ]
149 deps = [ 149 deps = [
150 "//third_party/zlib", 150 "//third_party/zlib",
151 ] 151 ]
152 152
153 if (is_win) { 153 if (is_win) {
154 cflags_c = [ 154 cflags_c = [
155 "/wd4101", # Unreferenced local variable. 155 "/wd4101", # Unreferenced local variable.
156 "/wd4267", # TODO(jschuh): crbug.com/167187 size_t to int truncations.
156 ] 157 ]
157 } else if (is_mac || is_android) { 158 } else if (is_mac || is_android) {
158 # http://www.xmlsoft.org/threads.html says that this is required when using 159 # http://www.xmlsoft.org/threads.html says that this is required when using
159 # libxml from several threads, which can possibly happen in chrome. On 160 # libxml from several threads, which can possibly happen in chrome. On
160 # linux, this is picked up by transitivity from pkg-config output from 161 # linux, this is picked up by transitivity from pkg-config output from
161 # build/linux/system.gyp. 162 # build/linux/system.gyp.
162 defines = [ "_REENTRANT" ] 163 defines = [ "_REENTRANT" ]
163 } 164 }
164 165
165 if (is_clang) { 166 if (is_clang) {
(...skipping 12 matching lines...) Expand all
178 # threads.c attempts to forward declare a pthread_equal which doesn't 179 # threads.c attempts to forward declare a pthread_equal which doesn't
179 # match the prototype in pthreads.h 180 # match the prototype in pthreads.h
180 "-Wno-ignored-attributes", 181 "-Wno-ignored-attributes",
181 ] 182 ]
182 } 183 }
183 184
184 include_dirs = [ 185 include_dirs = [
185 "$os_include", 186 "$os_include",
186 ] 187 ]
187 } 188 }
OLDNEW
« no previous file with comments | « services/http_server/BUILD.gn ('k') | third_party/zlib/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698