summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libwebm/libwebm_nacl.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libwebm/libwebm_nacl.gyp')
-rw-r--r--chromium/third_party/libwebm/libwebm_nacl.gyp33
1 files changed, 33 insertions, 0 deletions
diff --git a/chromium/third_party/libwebm/libwebm_nacl.gyp b/chromium/third_party/libwebm/libwebm_nacl.gyp
new file mode 100644
index 00000000000..53f722d8dc3
--- /dev/null
+++ b/chromium/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
+ ]
+}