summaryrefslogtreecommitdiffstats
path: root/gpu/gpu_untrusted.gyp
diff options
context:
space:
mode:
authorbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 22:34:30 +0000
committerbbudge@chromium.org <bbudge@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-08-07 22:34:30 +0000
commit9ca8a523133e80ad0f0a6d4ae48c216f119692ef (patch)
treeb3988c9c43612551bda255fd367d9d73475b8ee3 /gpu/gpu_untrusted.gyp
parentb9a383d78d91cce289b8208d730319a23e1c2c3e (diff)
downloadchromium_src-9ca8a523133e80ad0f0a6d4ae48c216f119692ef.zip
chromium_src-9ca8a523133e80ad0f0a6d4ae48c216f119692ef.tar.gz
chromium_src-9ca8a523133e80ad0f0a6d4ae48c216f119692ef.tar.bz2
Add gpu targets to untrusted build, and add Graphics3D code to untrusted build.
BUG=116317 TEST=builds,manual With this change, the IPC-based PPAPI proxy builds all code needed for 3d and OpenGL ES. Review URL: https://chromiumcodereview.appspot.com/10837145 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@150432 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/gpu_untrusted.gyp')
-rw-r--r--gpu/gpu_untrusted.gyp116
1 files changed, 116 insertions, 0 deletions
diff --git a/gpu/gpu_untrusted.gyp b/gpu/gpu_untrusted.gyp
new file mode 100644
index 0000000..33abfcd
--- /dev/null
+++ b/gpu/gpu_untrusted.gyp
@@ -0,0 +1,116 @@
+# 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',
+ 'gpu_common.gypi',
+ ],
+ 'conditions': [
+ ['disable_nacl==0 and disable_nacl_untrusted==0', {
+ 'targets': [
+ {
+ 'target_name': 'gles2_implementation_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libgles2_implementation_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'defines': [
+ 'GLES2_IMPL_IMPLEMENTATION',
+ ],
+ 'include_dirs': [
+ '../third_party/khronos',
+ ],
+ 'sources': [
+ '<@(gles2_implementation_source_files)',
+ ],
+ 'dependencies': [
+ '../native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ 'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
+ 'gles2_cmd_helper_untrusted',
+ ],
+ },
+ {
+ 'target_name': 'command_buffer_common_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libcommand_buffer_common_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'includes': [
+ 'command_buffer_common.gypi',
+ ],
+ 'dependencies': [
+ '../native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ 'command_buffer/command_buffer_untrusted.gyp:gles2_utils_untrusted',
+ ],
+ },
+ {
+ 'target_name': 'gles2_cmd_helper_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libgles2_cmd_helper_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'includes': [
+ 'gles2_cmd_helper.gypi',
+ ],
+ 'dependencies': [
+ '../native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ 'command_buffer_client_untrusted',
+ ],
+ },
+ {
+ 'target_name': 'command_buffer_client_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libcommand_buffer_client_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'includes': [
+ 'command_buffer_client.gypi',
+ ],
+ 'dependencies': [
+ '../native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ 'command_buffer_common_untrusted',
+ ],
+ },
+ {
+ 'target_name': 'gpu_ipc_untrusted',
+ 'type': 'none',
+ 'variables': {
+ 'nacl_untrusted_build': 1,
+ 'nlib_target': 'libgpu_ipc_untrusted.a',
+ 'build_glibc': 0,
+ 'build_newlib': 1,
+ },
+ 'includes': [
+ 'gpu_ipc.gypi',
+ ],
+ 'dependencies': [
+ '../native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ 'command_buffer_common_untrusted',
+ ],
+ },
+ ],
+ }],
+ ],
+}