OLD | NEW |
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 || is_nacl || is_fuchsia) { | 7 if (is_linux || is_android || is_nacl || is_fuchsia) { |
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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
215 ] | 215 ] |
216 | 216 |
217 public_configs = [ ":libxml_config" ] | 217 public_configs = [ ":libxml_config" ] |
218 public_deps = [ | 218 public_deps = [ |
219 "//third_party/icu:icuuc", | 219 "//third_party/icu:icuuc", |
220 ] | 220 ] |
221 deps = [ | 221 deps = [ |
222 "//third_party/zlib", | 222 "//third_party/zlib", |
223 ] | 223 ] |
224 | 224 |
225 if (is_mac || is_ios || is_android) { | 225 if (is_mac || is_ios || is_android || is_fuchsia) { |
226 # http://www.xmlsoft.org/threads.html says that this is required when using | 226 # http://www.xmlsoft.org/threads.html says that this is required when using |
227 # libxml from several threads, which can possibly happen in chrome. On | 227 # libxml from several threads, which can possibly happen in chrome. On |
228 # linux, this is picked up by transitivity from pkg-config output from | 228 # linux, this is picked up by transitivity from pkg-config output from |
229 # build/linux/system.gyp. | 229 # build/linux/system.gyp. |
230 defines = [ "_REENTRANT" ] | 230 defines = [ "_REENTRANT" ] |
231 } | 231 } |
232 | 232 |
233 include_dirs = [ "$os_include" ] | 233 include_dirs = [ "$os_include" ] |
234 } | 234 } |
OLD | NEW |