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

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

Issue 119803002: Add GN conversions for more GYP flags (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years 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 | Annotate | Revision Log
« build/gyp_chromium ('K') | « tools/gn/secondary/skia/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) { 7 if (is_linux) {
8 os_include = "linux" 8 os_include = "linux"
9 } else if (is_mac) { 9 } else if (is_mac || is_ios) {
10 os_include = "mac" 10 os_include = "mac"
11 } else if (is_win) { 11 } else if (is_win) {
12 os_include = "win32" 12 os_include = "win32"
13 } 13 }
14 14
15 config("libxml_config") { 15 config("libxml_config") {
16 # Define LIBXML_STATIC as nothing to match how libxml.h (an internal header) 16 # Define LIBXML_STATIC as nothing to match how libxml.h (an internal header)
17 # defines LIBXML_STATIC, otherwise we get the macro redefined warning from 17 # defines LIBXML_STATIC, otherwise we get the macro redefined warning from
18 # GCC. ("defines" does "-DFOO" which defines the macro FOO as 1.) 18 # GCC. ("defines" does "-DFOO" which defines the macro FOO as 1.)
19 cflags = [ "-DLIBXML_STATIC=" ] 19 cflags = [ "-DLIBXML_STATIC=" ]
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 178
179 # See http://crbug.com/138571#c8 179 # See http://crbug.com/138571#c8
180 "-Wno-ignored-attributes", 180 "-Wno-ignored-attributes",
181 ] 181 ]
182 } 182 }
183 183
184 include_dirs = [ 184 include_dirs = [
185 "$os_include", 185 "$os_include",
186 ] 186 ]
187 } 187 }
OLDNEW
« build/gyp_chromium ('K') | « tools/gn/secondary/skia/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698