Index: gyp/expat.gyp |
diff --git a/gyp/expat.gyp b/gyp/expat.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..9e18383db35ae6eaec71cd89227b1e5f4ab5081d |
--- /dev/null |
+++ b/gyp/expat.gyp |
@@ -0,0 +1,25 @@ |
+# 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' ], |
+ }, |
+ }] |
+} |