OLD | NEW |
1 # Copyright 2016 Google Inc. | 1 # Copyright 2016 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 | 5 |
6 # Build expat from source. | 6 # Build expat from source. |
7 # Used on Linux bots for testing the Android FontMgr xml parsing. | |
8 # This is mostly important for the MSAN bot's instrumentation. | |
9 | 7 |
10 { | 8 { |
11 'targets': [{ | 9 'targets': [{ |
12 'target_name': 'expat', | 10 'target_name': 'expat', |
13 'type': 'static_library', | 11 'type': 'static_library', |
14 'cflags': [ '-w' ], | 12 'cflags': [ '-Wno-missing-field-initializers' ], |
15 'defines': [ 'HAVE_MEMMOVE' ], | 13 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers
', ], }, |
| 14 'msvs_disabled_warnings': [4244], |
| 15 'defines': [ 'HAVE_EXPAT_CONFIG_H' ], |
| 16 'include_dirs': [ |
| 17 '../third_party/externals/expat', |
| 18 ], |
16 'sources': [ | 19 'sources': [ |
17 '../third_party/externals/expat/lib/xmlparse.c', | 20 '../third_party/externals/expat/lib/xmlparse.c', |
18 '../third_party/externals/expat/lib/xmlrole.c', | 21 '../third_party/externals/expat/lib/xmlrole.c', |
19 '../third_party/externals/expat/lib/xmltok.c', | 22 '../third_party/externals/expat/lib/xmltok.c', |
20 ], | 23 ], |
21 'direct_dependent_settings': { | 24 'direct_dependent_settings': { |
22 'include_dirs': [ '../third_party/externals/expat/lib' ], | 25 'include_dirs': [ '../third_party/externals/expat/lib' ], |
23 }, | 26 }, |
24 }] | 27 }] |
25 } | 28 } |
OLD | NEW |