blob: 1f386195cc5ee65fd0decca1abf3b6d85559e000 [file] [log] [blame]
[email protected]9ca8a5232012-08-07 22:34:301# 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]246fc492012-08-27 20:28:188 # nacl_win64_target is for building the trusted Win64 NaCl broker.
9 'nacl_win64_target': 0,
[email protected]9ca8a5232012-08-07 22:34:3010 },
11 'includes': [
[email protected]12d5e6f7f2012-08-23 21:27:4512 '../build/common_untrusted.gypi',
[email protected]9ca8a5232012-08-07 22:34:3013 'gpu_common.gypi',
14 ],
15 'conditions': [
16 ['disable_nacl==0 and disable_nacl_untrusted==0', {
17 'targets': [
18 {
[email protected]c847f002014-02-21 01:59:2419 'target_name': 'gles2_implementation_nacl',
[email protected]9ca8a5232012-08-07 22:34:3020 'type': 'none',
21 'variables': {
22 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2423 'nlib_target': 'libgles2_implementation_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3024 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1025 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2126 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1727 'build_pnacl_newlib': 0,
28 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:3029 },
30 'defines': [
31 'GLES2_IMPL_IMPLEMENTATION',
32 ],
[email protected]9ca8a5232012-08-07 22:34:3033 'sources': [
34 '<@(gles2_implementation_source_files)',
35 ],
36 'dependencies': [
[email protected]754bcf12014-02-22 02:29:5037 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:1738 '../base/base_nacl.gyp:base_nacl_nonsfi',
[email protected]7d51a7252012-11-28 10:33:4639 '../third_party/khronos/khronos.gyp:khronos_headers',
[email protected]c847f002014-02-21 01:59:2440 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
41 'gles2_cmd_helper_nacl',
[email protected]9ca8a5232012-08-07 22:34:3042 ],
43 },
44 {
[email protected]c847f002014-02-21 01:59:2445 'target_name': 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:3046 'type': 'none',
47 'variables': {
48 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2449 'nlib_target': 'libcommand_buffer_common_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3050 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1051 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2152 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1753 'build_pnacl_newlib': 0,
54 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:3055 },
56 'includes': [
57 'command_buffer_common.gypi',
58 ],
59 'dependencies': [
[email protected]754bcf12014-02-22 02:29:5060 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:1761 '../base/base_nacl.gyp:base_nacl_nonsfi',
[email protected]c847f002014-02-21 01:59:2462 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
[email protected]9ca8a5232012-08-07 22:34:3063 ],
64 },
65 {
[email protected]c847f002014-02-21 01:59:2466 'target_name': 'gles2_cmd_helper_nacl',
[email protected]9ca8a5232012-08-07 22:34:3067 'type': 'none',
68 'variables': {
69 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2470 'nlib_target': 'libgles2_cmd_helper_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3071 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1072 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2173 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1774 'build_pnacl_newlib': 0,
75 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:3076 },
77 'includes': [
78 'gles2_cmd_helper.gypi',
79 ],
80 'dependencies': [
[email protected]754bcf12014-02-22 02:29:5081 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:1782 '../base/base_nacl.gyp:base_nacl_nonsfi',
[email protected]c847f002014-02-21 01:59:2483 'command_buffer_client_nacl',
[email protected]9ca8a5232012-08-07 22:34:3084 ],
85 },
86 {
[email protected]c847f002014-02-21 01:59:2487 'target_name': 'command_buffer_client_nacl',
[email protected]9ca8a5232012-08-07 22:34:3088 'type': 'none',
89 'variables': {
90 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2491 'nlib_target': 'libcommand_buffer_client_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3092 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1093 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2194 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1795 'build_pnacl_newlib': 0,
96 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:3097 },
98 'includes': [
99 'command_buffer_client.gypi',
100 ],
101 'dependencies': [
[email protected]754bcf12014-02-22 02:29:50102 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:17103 '../base/base_nacl.gyp:base_nacl_nonsfi',
[email protected]c847f002014-02-21 01:59:24104 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:30105 ],
106 },
107 {
[email protected]c847f002014-02-21 01:59:24108 'target_name': 'gpu_ipc_nacl',
[email protected]9ca8a5232012-08-07 22:34:30109 'type': 'none',
110 'variables': {
111 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:24112 'nlib_target': 'libgpu_ipc_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:30113 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:10114 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:21115 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:17116 'build_pnacl_newlib': 0,
117 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:30118 },
119 'includes': [
120 'gpu_ipc.gypi',
121 ],
122 'dependencies': [
[email protected]754bcf12014-02-22 02:29:50123 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:17124 '../base/base_nacl.gyp:base_nacl_nonsfi',
[email protected]c847f002014-02-21 01:59:24125 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:30126 ],
127 },
128 ],
129 }],
130 ],
131}