Index: third_party/expat/expat_untrusted.gyp |
diff --git a/third_party/expat/expat_untrusted.gyp b/third_party/expat/expat_untrusted.gyp |
new file mode 100644 |
index 0000000000000000000000000000000000000000..7526f91ab4c6790cc8526989965c9c18a1e04169 |
--- /dev/null |
+++ b/third_party/expat/expat_untrusted.gyp |
@@ -0,0 +1,47 @@ |
+# Copyright (c) 2012 The Chromium Authors. All rights reserved. |
brettw
2014/01/08 22:43:05
Seems like this should use this year and the new s
Sergey Ulanov
2014/01/08 22:45:20
Done.
|
+# Use of this source code is governed by a BSD-style license that can be |
+# found in the LICENSE file. |
+ |
+{ |
+ 'includes': [ |
+ '../../native_client/build/untrusted.gypi', |
+ ], |
+ 'targets': [ |
+ { |
+ 'target_name': 'expat_untrusted', |
+ 'type': 'none', |
+ 'variables': { |
+ 'nlib_target': 'libexpat_untrusted.a', |
+ 'build_glibc': 0, |
+ 'build_newlib': 0, |
+ 'build_pnacl_newlib': 1, |
+ }, |
+ 'sources': [ |
+ 'files/lib/expat.h', |
+ 'files/lib/xmlparse.c', |
+ 'files/lib/xmlrole.c', |
+ 'files/lib/xmltok.c', |
+ ], |
+ 'include_dirs': [ |
+ 'files/lib', |
+ ], |
+ 'defines': [ |
+ '_LIB', |
+ 'XML_STATIC', |
+ 'HAVE_MEMMOVE', |
+ ], |
+ 'compile_flags': [ |
+ '-Wno-enum-conversion', |
+ '-Wno-switch', |
+ ], |
+ 'direct_dependent_settings': { |
+ 'include_dirs': [ |
+ 'files/lib' |
+ ], |
+ 'defines': [ |
+ 'XML_STATIC', # Tell dependants to expect static linkage. |
+ ], |
+ }, |
+ }, |
+ ], |
+} |