summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libvpx/libvpx_nacl.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libvpx/libvpx_nacl.gyp')
-rw-r--r--chromium/third_party/libvpx/libvpx_nacl.gyp36
1 files changed, 36 insertions, 0 deletions
diff --git a/chromium/third_party/libvpx/libvpx_nacl.gyp b/chromium/third_party/libvpx/libvpx_nacl.gyp
new file mode 100644
index 00000000000..adfc51fccc0
--- /dev/null
+++ b/chromium/third_party/libvpx/libvpx_nacl.gyp
@@ -0,0 +1,36 @@
+# 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.
+{
+ 'variables': {
+ 'libvpx_source%': 'source/libvpx',
+ 'werror': '',
+ },
+ 'includes': [
+ '../../native_client/build/untrusted.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libvpx_nacl',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libvpx_nacl.a',
+ 'build_glibc': 0,
+ 'build_newlib': 0,
+ 'build_pnacl_newlib': 1,
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ ],
+ 'include_dirs': [
+ 'source/config/nacl',
+ 'source/config',
+ '<(libvpx_source)',
+ '<(libvpx_source)/vp8/common',
+ '<(libvpx_source)/vp8/decoder',
+ '<(libvpx_source)/vp8/encoder',
+ ],
+ 'includes': ['libvpx_srcs_nacl.gypi', ],
+ }, # end of target 'libvpx_nacl'
+ ],
+}