Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(291)

Unified Diff: gpu/gpu_untrusted.gyp

Issue 10796038: Add gpu targets to untrusted NaCl build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/gpu_untrusted.gyp
===================================================================
--- gpu/gpu_untrusted.gyp (revision 0)
+++ gpu/gpu_untrusted.gyp (revision 0)
@@ -0,0 +1,118 @@
+# 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,
+ },
+ 'all_dependent_settings': {
+ 'include_dirs': [
+ '<(DEPTH)/third_party/khronos',
+ ],
+ },
+ 'defines': [
+ 'GLES2_IMPL_IMPLEMENTATION',
+ ],
+ 'sources': [
+ '<@(gles2_implementation_source_files)',
+ ],
+ 'dependencies': [
+ '<(DEPTH)/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': [
+ '<(DEPTH)/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': [
+ '<(DEPTH)/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': [
+ '<(DEPTH)/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': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ '../base/base_untrusted.gyp:base_untrusted',
+ 'command_buffer_common_untrusted',
+ ],
+ },
+ ],
+ }],
+ ],
+}
Property changes on: gpu/gpu_untrusted.gyp
___________________________________________________________________
Added: svn:eol-style
+ LF

Powered by Google App Engine
This is Rietveld 408576698