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