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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
99 '../libxml/libxml.gyp:libxml', | 99 '../libxml/libxml.gyp:libxml', |
100 ], | 100 ], |
101 'direct_dependent_settings': { | 101 'direct_dependent_settings': { |
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': [ | |
Lei Zhang
2015/06/18 23:04:23
Do you need this in BUILD.gn as well?
scottmg
2015/06/19 18:35:59
Done.
| |
110 # size_t to int conversion. | |
111 4267, | |
112 ], | |
109 'variables': { | 113 'variables': { |
110 'clang_warning_flags': [ | 114 'clang_warning_flags': [ |
111 # libxslt stores a char[3] in a `const unsigned char*`. | 115 # libxslt stores a char[3] in a `const unsigned char*`. |
112 '-Wno-pointer-sign', | 116 '-Wno-pointer-sign', |
113 ], | 117 ], |
114 }, | 118 }, |
115 'conditions': [ | 119 'conditions': [ |
116 ['OS!="win"', {'product_name': 'xslt'}], | 120 ['OS!="win"', {'product_name': 'xslt'}], |
117 ], | 121 ], |
118 }], | 122 }], |
119 ], | 123 ], |
120 }, | 124 }, |
121 ], | 125 ], |
122 } | 126 } |
OLD | NEW |