| 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. | 7 # Used on Linux bots for testing the Android FontMgr xml parsing. |
| 8 # This is mostly important for the MSAN bot's instrumentation. | 8 # This is mostly important for the MSAN bot's instrumentation. |
| 9 | 9 |
| 10 { | 10 { |
| 11 'targets': [{ | 11 'targets': [{ |
| 12 'target_name': 'expat', | 12 'target_name': 'expat', |
| 13 'type': 'static_library', | 13 'type': 'static_library', |
| 14 'cflags': [ '-w' ], | 14 'cflags': [ '-Wno-missing-field-initializers' ], |
| 15 'defines': [ 'HAVE_MEMMOVE' ], | 15 'xcode_settings': { 'WARNING_CFLAGS': [ '-Wno-missing-field-initializers
', ], }, |
| 16 'msvs_disabled_warnings': [4244], |
| 17 'defines': [ 'HAVE_EXPAT_CONFIG_H' ], |
| 18 'include_dirs': [ |
| 19 '../third_party/externals/expat', |
| 20 ], |
| 16 'sources': [ | 21 'sources': [ |
| 17 '../third_party/externals/expat/lib/xmlparse.c', | 22 '../third_party/externals/expat/lib/xmlparse.c', |
| 18 '../third_party/externals/expat/lib/xmlrole.c', | 23 '../third_party/externals/expat/lib/xmlrole.c', |
| 19 '../third_party/externals/expat/lib/xmltok.c', | 24 '../third_party/externals/expat/lib/xmltok.c', |
| 20 ], | 25 ], |
| 21 'direct_dependent_settings': { | 26 'direct_dependent_settings': { |
| 22 'include_dirs': [ '../third_party/externals/expat/lib' ], | 27 'include_dirs': [ '../third_party/externals/expat/lib' ], |
| 23 }, | 28 }, |
| 24 }] | 29 }] |
| 25 } | 30 } |
| OLD | NEW |