| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 ], | 61 ], |
| 62 'all_dependent_settings': { | 62 'all_dependent_settings': { |
| 63 'defines': [ | 63 'defines': [ |
| 64 'USE_SYSTEM_LIBXML', | 64 'USE_SYSTEM_LIBXML', |
| 65 ], | 65 ], |
| 66 'include_dirs': [ | 66 'include_dirs': [ |
| 67 '$(SDKROOT)/usr/include/libxml2', | 67 '$(SDKROOT)/usr/include/libxml2', |
| 68 ], | 68 ], |
| 69 }, | 69 }, |
| 70 'link_settings': { | 70 'link_settings': { |
| 71 'libraries': [ | 71 'xcode_settings': { |
| 72 '$(SDKROOT)/usr/lib/libxml2.dylib', | 72 'OTHER_LDFLAGS': [ |
| 73 ], | 73 '-lxml2', |
| 74 ] |
| 75 }, |
| 74 }, | 76 }, |
| 75 }], | 77 }], |
| 76 ], | 78 ], |
| 77 }, { # else: !use_system_libxml | 79 }, { # else: !use_system_libxml |
| 78 'type': 'static_library', | 80 'type': 'static_library', |
| 79 'sources': [ | 81 'sources': [ |
| 80 'chromium/libxml_utils.h', | 82 'chromium/libxml_utils.h', |
| 81 'chromium/libxml_utils.cc', | 83 'chromium/libxml_utils.cc', |
| 82 'linux/config.h', | 84 'linux/config.h', |
| 83 'linux/include/libxml/xmlversion.h', | 85 'linux/include/libxml/xmlversion.h', |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 254 }], | 256 }], |
| 255 ], | 257 ], |
| 256 }], | 258 }], |
| 257 ['OS == "ios"', { | 259 ['OS == "ios"', { |
| 258 'toolsets': ['host', 'target'], | 260 'toolsets': ['host', 'target'], |
| 259 }], | 261 }], |
| 260 ], | 262 ], |
| 261 }, | 263 }, |
| 262 ], | 264 ], |
| 263 } | 265 } |
| OLD | NEW |