| OLD | NEW |
| 1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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 ['os_posix == 1 and OS != "mac"', { | 8 ['os_posix == 1 and OS != "mac"', { |
| 9 'os_include': 'linux' | 9 'os_include': 'linux' |
| 10 }], | 10 }], |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 'defines': [ | 102 'defines': [ |
| 103 'LIBXSLT_STATIC', | 103 'LIBXSLT_STATIC', |
| 104 ], | 104 ], |
| 105 'include_dirs': [ | 105 'include_dirs': [ |
| 106 '.', | 106 '.', |
| 107 ], | 107 ], |
| 108 }, | 108 }, |
| 109 'msvs_disabled_warnings': [ | 109 'msvs_disabled_warnings': [ |
| 110 # size_t to int conversion. | 110 # size_t to int conversion. |
| 111 4267, | 111 4267, |
| 112 # TODO(brucedawson): http://crbug.com/554200 4311 is a VS |
| 113 # 2015 64-bit warning for pointer truncation |
| 114 4311, |
| 112 ], | 115 ], |
| 113 'variables': { | 116 'variables': { |
| 114 'clang_warning_flags': [ | 117 'clang_warning_flags': [ |
| 115 # libxslt stores a char[3] in a `const unsigned char*`. | 118 # libxslt stores a char[3] in a `const unsigned char*`. |
| 116 '-Wno-pointer-sign', | 119 '-Wno-pointer-sign', |
| 117 # xsltDefaultRegion and xsltCalibrateTimestamps are only | 120 # xsltDefaultRegion and xsltCalibrateTimestamps are only |
| 118 # used with certain preprocessor defines set. | 121 # used with certain preprocessor defines set. |
| 119 '-Wno-unused-function', | 122 '-Wno-unused-function', |
| 120 ], | 123 ], |
| 121 }, | 124 }, |
| 122 'conditions': [ | 125 'conditions': [ |
| 123 ['OS!="win"', {'product_name': 'xslt'}], | 126 ['OS!="win"', {'product_name': 'xslt'}], |
| 124 ], | 127 ], |
| 125 }], | 128 }], |
| 126 ], | 129 ], |
| 127 }, | 130 }, |
| 128 ], | 131 ], |
| 129 } | 132 } |
| OLD | NEW |