summaryrefslogtreecommitdiffstats
path: root/chromium/third_party/libyuv/libyuv_nacl.gyp
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/libyuv/libyuv_nacl.gyp')
-rw-r--r--chromium/third_party/libyuv/libyuv_nacl.gyp40
1 files changed, 40 insertions, 0 deletions
diff --git a/chromium/third_party/libyuv/libyuv_nacl.gyp b/chromium/third_party/libyuv/libyuv_nacl.gyp
new file mode 100644
index 00000000000..1dacac09739
--- /dev/null
+++ b/chromium/third_party/libyuv/libyuv_nacl.gyp
@@ -0,0 +1,40 @@
+# Copyright 2014 The LibYuv Project Authors. All rights reserved.
+#
+# Use of this source code is governed by a BSD-style license
+# that can be found in the LICENSE file in the root of the source
+# tree. An additional intellectual property rights grant can be found
+# in the file PATENTS. All contributing project authors may
+# be found in the AUTHORS file in the root of the source tree.
+
+{
+ 'includes': [
+ 'libyuv.gypi',
+ '../../native_client/build/untrusted.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'libyuv_nacl',
+ 'type': 'none',
+ 'variables': {
+ 'nlib_target': 'libyuv_nacl.a',
+ 'build_glibc': 0,
+ 'build_newlib': 0,
+ 'build_pnacl_newlib': 1,
+ },
+ 'dependencies': [
+ '../../native_client/tools.gyp:prep_toolchain',
+ ],
+ 'include_dirs': [
+ 'include',
+ ],
+ 'direct_dependent_settings': {
+ 'include_dirs': [
+ 'include',
+ ],
+ },
+ 'sources': [
+ '<@(libyuv_sources)',
+ ],
+ }, # target libyuv_nacl
+ ]
+}