blob: 90f7b02fbc597d6dc085eb27c92a082c7b7a772f [file] [log] [blame]
mtklein4e79f332016-02-07 13:31:23 -08001# Copyright 2016 Google Inc.
2#
3# Use of this source code is governed by a BSD-style license that can be
4# found in the LICENSE file.
5
6# Build expat from source.
mtklein4e79f332016-02-07 13:31:23 -08007
8{
9 'targets': [{
10 'target_name': 'expat',
11 'type': 'static_library',
fmalita771a1902016-07-14 14:02:24 -070012 'cflags': [ '-Wno-missing-field-initializers' ],
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 ],
mtklein4e79f332016-02-07 13:31:23 -080019 'sources': [
20 '../third_party/externals/expat/lib/xmlparse.c',
21 '../third_party/externals/expat/lib/xmlrole.c',
22 '../third_party/externals/expat/lib/xmltok.c',
23 ],
24 'direct_dependent_settings': {
25 'include_dirs': [ '../third_party/externals/expat/lib' ],
26 },
27 }]
28}