[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, |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 27 | 'build_pnacl_newlib': 0, |
| 28 | 'build_nonsfi_helper': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 29 | }, |
| 30 | 'defines': [ |
| 31 | 'GLES2_IMPL_IMPLEMENTATION', |
| 32 | ], |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 33 | 'sources': [ |
| 34 | '<@(gles2_implementation_source_files)', |
| 35 | ], |
| 36 | 'dependencies': [ |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 37 | '../base/base_nacl.gyp:base_nacl', |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 38 | '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 39 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | 7d51a725 | 2012-11-28 10:33:46 | [diff] [blame] | 40 | '../third_party/khronos/khronos.gyp:khronos_headers', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 41 | 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', |
| 42 | 'gles2_cmd_helper_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 43 | ], |
| 44 | }, |
| 45 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 46 | 'target_name': 'command_buffer_common_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 47 | 'type': 'none', |
| 48 | 'variables': { |
| 49 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 50 | 'nlib_target': 'libcommand_buffer_common_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 51 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 52 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 53 | 'build_irt': 1, |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 54 | 'build_pnacl_newlib': 0, |
| 55 | 'build_nonsfi_helper': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 56 | }, |
| 57 | 'includes': [ |
| 58 | 'command_buffer_common.gypi', |
| 59 | ], |
| 60 | 'dependencies': [ |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 61 | '../base/base_nacl.gyp:base_nacl', |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 62 | '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 63 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 64 | 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 65 | ], |
| 66 | }, |
| 67 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 68 | 'target_name': 'gles2_cmd_helper_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 69 | 'type': 'none', |
| 70 | 'variables': { |
| 71 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 72 | 'nlib_target': 'libgles2_cmd_helper_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 73 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 74 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 75 | 'build_irt': 1, |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 76 | 'build_pnacl_newlib': 0, |
| 77 | 'build_nonsfi_helper': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 78 | }, |
| 79 | 'includes': [ |
| 80 | 'gles2_cmd_helper.gypi', |
| 81 | ], |
| 82 | 'dependencies': [ |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 83 | '../base/base_nacl.gyp:base_nacl', |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 84 | '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 85 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 86 | 'command_buffer_client_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 87 | ], |
| 88 | }, |
| 89 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 90 | 'target_name': 'command_buffer_client_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 91 | 'type': 'none', |
| 92 | 'variables': { |
| 93 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 94 | 'nlib_target': 'libcommand_buffer_client_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 95 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 96 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 97 | 'build_irt': 1, |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 98 | 'build_pnacl_newlib': 0, |
| 99 | 'build_nonsfi_helper': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 100 | }, |
| 101 | 'includes': [ |
| 102 | 'command_buffer_client.gypi', |
| 103 | ], |
| 104 | 'dependencies': [ |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 105 | '../base/base_nacl.gyp:base_nacl', |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 106 | '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 107 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 108 | 'command_buffer_common_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 109 | ], |
| 110 | }, |
| 111 | { |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 112 | 'target_name': 'gpu_ipc_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 113 | 'type': 'none', |
| 114 | 'variables': { |
| 115 | 'nacl_untrusted_build': 1, |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 116 | 'nlib_target': 'libgpu_ipc_nacl.a', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 117 | 'build_glibc': 0, |
[email protected] | b52fa34 | 2013-08-22 23:28:10 | [diff] [blame] | 118 | 'build_newlib': 0, |
[email protected] | c5707ee | 2013-08-04 06:32:21 | [diff] [blame] | 119 | 'build_irt': 1, |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 120 | 'build_pnacl_newlib': 0, |
| 121 | 'build_nonsfi_helper': 1, |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 122 | }, |
| 123 | 'includes': [ |
| 124 | 'gpu_ipc.gypi', |
| 125 | ], |
| 126 | 'dependencies': [ |
[email protected] | 754bcf1 | 2014-02-22 02:29:50 | [diff] [blame] | 127 | '../base/base_nacl.gyp:base_nacl', |
hidehiko | e2de7f2 | 2014-10-23 06:53:17 | [diff] [blame] | 128 | '../base/base_nacl.gyp:base_nacl_nonsfi', |
| 129 | '../native_client/tools.gyp:prep_toolchain', |
[email protected] | c847f00 | 2014-02-21 01:59:24 | [diff] [blame] | 130 | 'command_buffer_common_nacl', |
[email protected] | 9ca8a523 | 2012-08-07 22:34:30 | [diff] [blame] | 131 | ], |
| 132 | }, |
| 133 | ], |
| 134 | }], |
| 135 | ], |
| 136 | } |