Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(716)

Unified Diff: third_party/expat/expat_untrusted.gyp

Issue 120303002: Compile expat for PNaCl (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.
+ ],
+ },
+ },
+ ],
+}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698