[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 1 | # Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 | # Use of this source code is governed by a BSD-style license that can be |
| 3 | # found in the LICENSE file. |
| 4 | |
| 5 | { |
| 6 | 'variables': { |
| 7 | 'chromium_code': 1, |
[email protected] | 246fc49 | 2012-08-27 20:28:18 | [diff] [blame] | 8 | # nacl_win64_target is for building the trusted Win64 NaCl broker. |
| 9 | 'nacl_win64_target': 0, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 10 | }, |
| 11 | 'includes': [ |
[email protected] | 12d5e6f7f | 2012-08-23 21:27:45 | [diff] [blame] | 12 | '../build/common_untrusted.gypi', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 13 | 'gpu_common.gypi', |
| 14 | ], |
| 15 | 'conditions': [ |
| 16 | ['disable_nacl==0 and disable_nacl_untrusted==0', { |
| 17 | 'targets': [ |
| 18 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 19 | 'target_name': 'gles2_implementation_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 20 | 'type': 'none', |
| 21 | 'variables': { |
| 22 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 23 | 'nlib_target': 'libgles2_implementation_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 24 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 25 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 26 | 'build_irt': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 27 | }, |
| 28 | 'defines': [ |
| 29 | 'GLES2_IMPL_IMPLEMENTATION', |
| 30 | ], |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 31 | 'sources': [ |
| 32 | '<@(gles2_implementation_source_files)', |
| 33 | ], |
| 34 | 'dependencies': [ |
| 35 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 36 | '../base/base_nacl.gyp:base_nacl', |
[email protected] | 7d51a725 | 2012-11-28 10:33:46 | [diff] [blame] | 37 | '../third_party/khronos/khronos.gyp:khronos_headers', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 38 | 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', |
| 39 | 'gles2_cmd_helper_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 40 | ], |
| 41 | }, |
| 42 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 43 | 'target_name': 'command_buffer_common_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 44 | 'type': 'none', |
| 45 | 'variables': { |
| 46 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 47 | 'nlib_target': 'libcommand_buffer_common_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 48 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 49 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 50 | 'build_irt': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 51 | }, |
| 52 | 'includes': [ |
| 53 | 'command_buffer_common.gypi', |
| 54 | ], |
| 55 | 'dependencies': [ |
| 56 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 57 | '../base/base_nacl.gyp:base_nacl', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 58 | 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 59 | ], |
| 60 | }, |
| 61 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 62 | 'target_name': 'gles2_cmd_helper_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 63 | 'type': 'none', |
| 64 | 'variables': { |
| 65 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 66 | 'nlib_target': 'libgles2_cmd_helper_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 67 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 68 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 69 | 'build_irt': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 70 | }, |
| 71 | 'includes': [ |
| 72 | 'gles2_cmd_helper.gypi', |
| 73 | ], |
| 74 | 'dependencies': [ |
| 75 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 76 | '../base/base_nacl.gyp:base_nacl', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 77 | 'command_buffer_client_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 78 | ], |
| 79 | }, |
| 80 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 81 | 'target_name': 'command_buffer_client_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 82 | 'type': 'none', |
| 83 | 'variables': { |
| 84 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 85 | 'nlib_target': 'libcommand_buffer_client_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 86 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 87 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 88 | 'build_irt': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 89 | }, |
| 90 | 'includes': [ |
| 91 | 'command_buffer_client.gypi', |
| 92 | ], |
| 93 | 'dependencies': [ |
| 94 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 95 | '../base/base_nacl.gyp:base_nacl', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 96 | 'command_buffer_common_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 97 | ], |
| 98 | }, |
| 99 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 100 | 'target_name': 'gpu_ipc_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 101 | 'type': 'none', |
| 102 | 'variables': { |
| 103 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 104 | 'nlib_target': 'libgpu_ipc_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 105 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 106 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 107 | 'build_irt': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 108 | }, |
| 109 | 'includes': [ |
| 110 | 'gpu_ipc.gypi', |
| 111 | ], |
| 112 | 'dependencies': [ |
| 113 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 114 | '../base/base_nacl.gyp:base_nacl', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 115 | 'command_buffer_common_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 116 | ], |
| 117 | }, |
| 118 | ], |
| 119 | }], |
| 120 | ], |
| 121 | } |