skia2/gyp/expat.gyp
mtklein 4e79f33452 msan: build expat from source
This should let us test it on the MSAN bot.

BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1674053002

CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Debug-MSAN-Trybot

Review URL: https://codereview.chromium.org/1674053002
2016-02-07 13:31:23 -08:00

26 lines
785 B
Python

# Copyright 2016 Google Inc.
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Build expat from source.
# Used on Linux bots for testing the Android FontMgr xml parsing.
# This is mostly important for the MSAN bot's instrumentation.
{
'targets': [{
'target_name': 'expat',
'type': 'static_library',
'cflags': [ '-w' ],
'defines': [ 'HAVE_MEMMOVE' ],
'sources': [
'../third_party/externals/expat/lib/xmlparse.c',
'../third_party/externals/expat/lib/xmlrole.c',
'../third_party/externals/expat/lib/xmltok.c',
],
'direct_dependent_settings': {
'include_dirs': [ '../third_party/externals/expat/lib' ],
},
}]
}