summaryrefslogtreecommitdiffstats
path: root/third_party/modp_b64
diff options
context:
space:
mode:
authorsergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 00:13:54 +0000
committersergeyu@chromium.org <sergeyu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-19 00:13:54 +0000
commit71e4a33031fc2cec1ed4259272f35b167d85fc3f (patch)
treea0481d716b755c032651c3c0642aea8f3922a7e9 /third_party/modp_b64
parentb658293a4b45d479d17d806a0d304b2b11c6e1de (diff)
downloadchromium_src-71e4a33031fc2cec1ed4259272f35b167d85fc3f.zip
chromium_src-71e4a33031fc2cec1ed4259272f35b167d85fc3f.tar.gz
chromium_src-71e4a33031fc2cec1ed4259272f35b167d85fc3f.tar.bz2
Compile modp_b64 for PNaCl
Added modp_b64_untrusted target that compiles modp_b64 library for PNaCl. BUG=276739 Review URL: https://codereview.chromium.org/109703010 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@241715 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'third_party/modp_b64')
-rw-r--r--third_party/modp_b64/modp_b64_untrusted.gyp30
1 files changed, 30 insertions, 0 deletions
diff --git a/third_party/modp_b64/modp_b64_untrusted.gyp b/third_party/modp_b64/modp_b64_untrusted.gyp
new file mode 100644
index 0000000..c51ff05
--- /dev/null
+++ b/third_party/modp_b64/modp_b64_untrusted.gyp
@@ -0,0 +1,30 @@
+# Copyright 2013 The Chromium Authors. All rights reserved.
+# 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': 'modp_b64_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libmodp_b64_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ 'build_pnacl_newlib': 1,
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ 'toolsets': ['host', 'target'],
+ 'sources': [
+ 'modp_b64.cc',
+ 'modp_b64.h',
+ 'modp_b64_data.h',
+ ],
+ },
+ ],
+}