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

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

Issue 518543004: Various GN fixes. (Closed) Base URL: http://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 unified diff | Download patch
« no previous file with comments | « mojo/services/public/cpp/input_events/BUILD.gn ('k') | no next file » | 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 156 matching lines...) Expand 10 before | Expand all | Expand 10 after
167 # libxml passes `const unsigned char*` through `const char*`. 167 # libxml passes `const unsigned char*` through `const char*`.
168 "-Wno-pointer-sign", 168 "-Wno-pointer-sign",
169 169
170 # pattern.c and uri.c both have an intentional `for (...);` / 170 # pattern.c and uri.c both have an intentional `for (...);` /
171 # `while(...);` loop. I submitted a patch to move the `'` to its own 171 # `while(...);` loop. I submitted a patch to move the `'` to its own
172 # line, but until that's landed suppress the warning: 172 # line, but until that's landed suppress the warning:
173 "-Wno-empty-body", 173 "-Wno-empty-body",
174 174
175 # debugXML.c compares array 'arg' to NULL. 175 # debugXML.c compares array 'arg' to NULL.
176 "-Wno-tautological-pointer-compare", 176 "-Wno-tautological-pointer-compare",
177
178 # threads.c attempts to forward declare a pthread_equal which doesn't
179 # match the prototype in pthreads.h
180 "-Wno-ignored-attributes",
177 ] 181 ]
178 } 182 }
179 183
180 include_dirs = [ 184 include_dirs = [
181 "$os_include", 185 "$os_include",
182 ] 186 ]
183 } 187 }
OLDNEW
« no previous file with comments | « mojo/services/public/cpp/input_events/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698