summaryrefslogtreecommitdiffstats
path: root/media/media_untrusted.gyp
diff options
context:
space:
mode:
authordalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-24 19:49:17 +0000
committerdalecurtis@chromium.org <dalecurtis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-24 19:49:17 +0000
commit403bcf82ba2c37600dac697b88a727f52f9a970a (patch)
tree0f62d49b12d4e649aa81b43b7367c87d4782f085 /media/media_untrusted.gyp
parent92b45b8e4166386e6a975ede92db54e189993a7e (diff)
downloadchromium_src-403bcf82ba2c37600dac697b88a727f52f9a970a.zip
chromium_src-403bcf82ba2c37600dac697b88a727f52f9a970a.tar.gz
chromium_src-403bcf82ba2c37600dac697b88a727f52f9a970a.tar.bz2
Introduce shared_memory_support media target for PPAPI.
Allows PPAPI to directly utilize shared memory utility code instead of duplicating it and CHECK'ing for equivalency. Required to eventually convert PPAPI to using an AudioBus and floats in PPB_Audio_Shared::Run(). http://crbug.com/114700 BUG=123203 TEST=unittests Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=152406 Review URL: https://chromiumcodereview.appspot.com/10826296 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@153262 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'media/media_untrusted.gyp')
-rw-r--r--media/media_untrusted.gyp44
1 files changed, 44 insertions, 0 deletions
diff --git a/media/media_untrusted.gyp b/media/media_untrusted.gyp
new file mode 100644
index 0000000..4abbe56
--- /dev/null
+++ b/media/media_untrusted.gyp
@@ -0,0 +1,44 @@
+# Copyright (c) 2012 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': {
+ 'chromium_code': 1,
+ },
+ 'includes': [
+ '../native_client/build/untrusted.gypi',
+ ],
+ 'conditions': [
+ ['disable_nacl==0 and disable_nacl_untrusted==0', {
+ 'targets': [
+ {
+ 'target_name': 'shared_memory_support_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libshared_memory_support_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'dependencies': [
+ '../native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ ],
+ 'defines': [
+ 'MEDIA_IMPLEMENTATION',
+ ],
+ 'include_dirs': [
+ '..',
+ ],
+ 'includes': [
+ 'shared_memory_support.gypi',
+ ],
+ 'sources': [
+ '<@(shared_memory_support_sources)',
+ ],
+ },
+ ],
+ }],
+ ],
+}