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