| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
| 6 'variables': { | 6 'variables': { |
| 7 'conditions': [ | 7 'conditions': [ |
| 8 # Define an "os_include" variable that points at the OS-specific generated | 8 # Define an "os_include" variable that points at the OS-specific generated |
| 9 # headers. These were generated by running the configure script offline. | 9 # headers. These were generated by running the configure script offline. |
| 10 ['os_posix == 1 and OS != "mac" and OS != "ios"', { | 10 ['os_posix == 1 and OS != "mac" and OS != "ios"', { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 44 'link_settings': { | 44 'link_settings': { |
| 45 'ldflags': [ | 45 'ldflags': [ |
| 46 '<!@(pkg-config --libs-only-L --libs-only-other libxml-2.0)', | 46 '<!@(pkg-config --libs-only-L --libs-only-other libxml-2.0)', |
| 47 ], | 47 ], |
| 48 'libraries': [ | 48 'libraries': [ |
| 49 '<!@(pkg-config --libs-only-l libxml-2.0)', | 49 '<!@(pkg-config --libs-only-l libxml-2.0)', |
| 50 ], | 50 ], |
| 51 }, | 51 }, |
| 52 }], | 52 }], |
| 53 ['OS == "ios"', { | 53 ['OS == "ios"', { |
| 54 'type': 'none', | 54 'type': 'static_library', |
| 55 'sources': [ |
| 56 'chromium/libxml_utils.h', |
| 57 'chromium/libxml_utils.cc', |
| 58 ], |
| 59 'include_dirs': [ |
| 60 '$(SDKROOT)/usr/include/libxml2', |
| 61 ], |
| 55 'all_dependent_settings': { | 62 'all_dependent_settings': { |
| 56 'defines': [ | 63 'defines': [ |
| 57 'USE_SYSTEM_LIBXML', | 64 'USE_SYSTEM_LIBXML', |
| 58 ], | 65 ], |
| 59 'include_dirs': [ | 66 'include_dirs': [ |
| 60 '$(SDKROOT)/usr/include/libxml2', | 67 '$(SDKROOT)/usr/include/libxml2', |
| 61 ], | 68 ], |
| 62 }, | 69 }, |
| 63 'link_settings': { | 70 'link_settings': { |
| 64 'libraries': [ | 71 'libraries': [ |
| (...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 243 # Disable unimportant 'unused variable' warning, and | 250 # Disable unimportant 'unused variable' warning, and |
| 244 # signed/unsigned comparison warning. The signed/unsigned (4101) | 251 # signed/unsigned comparison warning. The signed/unsigned (4101) |
| 245 # is fixed upstream and can be removed eventually. | 252 # is fixed upstream and can be removed eventually. |
| 246 # TODO(jschuh): http://crbug.com/167187 size_t -> int | 253 # TODO(jschuh): http://crbug.com/167187 size_t -> int |
| 247 'msvs_disabled_warnings': [ 4018, 4101, 4267 ], | 254 'msvs_disabled_warnings': [ 4018, 4101, 4267 ], |
| 248 }, { # else: OS!="win" | 255 }, { # else: OS!="win" |
| 249 'product_name': 'xml2', | 256 'product_name': 'xml2', |
| 250 }], | 257 }], |
| 251 ], | 258 ], |
| 252 }], | 259 }], |
| 260 ['OS == "ios"', { |
| 261 'toolsets': ['host', 'target'], |
| 262 }], |
| 253 ], | 263 ], |
| 254 }, | 264 }, |
| 255 ], | 265 ], |
| 256 } | 266 } |
| OLD | NEW |