summaryrefslogtreecommitdiffstats
path: root/third_party/libwebm/libwebm_nacl.gyp
diff options
context:
space:
mode:
authorReilly Grant <reillyg@chromium.org>2014-12-19 12:47:29 -0800
committerReilly Grant <reillyg@chromium.org>2014-12-19 20:48:26 +0000
commitc05c55fd521bda00838b215304d10891ca8e8471 (patch)
treeb87a385923e05c769195ea34ed64d662954901ff /third_party/libwebm/libwebm_nacl.gyp
parent8ce475eea02919bb638c969232b755de99800315 (diff)
downloadchromium_src-c05c55fd521bda00838b215304d10891ca8e8471.zip
chromium_src-c05c55fd521bda00838b215304d10891ca8e8471.tar.gz
chromium_src-c05c55fd521bda00838b215304d10891ca8e8471.tar.bz2
Revert "Remove libwebm third_party dependency."
This reverts commit c053fb4fec709c4a5a72065305ee4eb2da2efaa8. BUG= TBR=sergeyu@chromium.org Review URL: https://codereview.chromium.org/813423002 Cr-Commit-Position: refs/heads/master@{#309248}
Diffstat (limited to 'third_party/libwebm/libwebm_nacl.gyp')
-rw-r--r--third_party/libwebm/libwebm_nacl.gyp33
1 files changed, 33 insertions, 0 deletions
diff --git a/third_party/libwebm/libwebm_nacl.gyp b/third_party/libwebm/libwebm_nacl.gyp
new file mode 100644
index 0000000..53f722d
--- /dev/null
+++ b/third_party/libwebm/libwebm_nacl.gyp
@@ -0,0 +1,33 @@
+# Copyright 2014 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': [
+ 'libwebm.gypi',
+ '../../native_client/build/untrusted.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libwebm_nacl',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libwebm_nacl.a',
+ 'build_glibc': 0,
+ 'build_newlib': 0,
+ 'build_pnacl_newlib': 1,
+ },
+ 'dependencies': [
+ '../../native_client/tools.gyp:prep_toolchain',
+ ],
+ 'sources': [
+ '<@(libwebm_sources)',
+ ],
+ 'defines': [
+ # LLONG_MIN and UULONG_MAX are defined in newlib only for C++11.
+ 'LLONG_MIN=LONG_LONG_MIN',
+ 'ULLONG_MAX=ULONG_LONG_MAX',
+ ],
+ }, # target libwebm_nacl
+ ]
+}