blob: 003f0af84f67f2c1b731199603aa58117a8e8c6a [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',
39 '../native_client/tools.gyp:prep_toolchain',
[email protected]7d51a7252012-11-28 10:33:4640 '../third_party/khronos/khronos.gyp:khronos_headers',
[email protected]c847f002014-02-21 01:59:2441 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
42 'gles2_cmd_helper_nacl',
[email protected]9ca8a5232012-08-07 22:34:3043 ],
44 },
45 {
[email protected]c847f002014-02-21 01:59:2446 'target_name': 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:3047 'type': 'none',
48 'variables': {
49 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2450 'nlib_target': 'libcommand_buffer_common_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3051 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1052 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2153 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1754 'build_pnacl_newlib': 0,
55 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:3056 },
57 'includes': [
58 'command_buffer_common.gypi',
59 ],
60 'dependencies': [
[email protected]754bcf12014-02-22 02:29:5061 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:1762 '../base/base_nacl.gyp:base_nacl_nonsfi',
63 '../native_client/tools.gyp:prep_toolchain',
[email protected]c847f002014-02-21 01:59:2464 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
[email protected]9ca8a5232012-08-07 22:34:3065 ],
66 },
67 {
[email protected]c847f002014-02-21 01:59:2468 'target_name': 'gles2_cmd_helper_nacl',
[email protected]9ca8a5232012-08-07 22:34:3069 'type': 'none',
70 'variables': {
71 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2472 'nlib_target': 'libgles2_cmd_helper_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3073 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1074 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2175 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1776 'build_pnacl_newlib': 0,
77 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:3078 },
79 'includes': [
80 'gles2_cmd_helper.gypi',
81 ],
82 'dependencies': [
[email protected]754bcf12014-02-22 02:29:5083 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:1784 '../base/base_nacl.gyp:base_nacl_nonsfi',
85 '../native_client/tools.gyp:prep_toolchain',
[email protected]c847f002014-02-21 01:59:2486 'command_buffer_client_nacl',
[email protected]9ca8a5232012-08-07 22:34:3087 ],
88 },
89 {
[email protected]c847f002014-02-21 01:59:2490 'target_name': 'command_buffer_client_nacl',
[email protected]9ca8a5232012-08-07 22:34:3091 'type': 'none',
92 'variables': {
93 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2494 'nlib_target': 'libcommand_buffer_client_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3095 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1096 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2197 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:1798 'build_pnacl_newlib': 0,
99 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:30100 },
101 'includes': [
102 'command_buffer_client.gypi',
103 ],
104 'dependencies': [
[email protected]754bcf12014-02-22 02:29:50105 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:17106 '../base/base_nacl.gyp:base_nacl_nonsfi',
107 '../native_client/tools.gyp:prep_toolchain',
[email protected]c847f002014-02-21 01:59:24108 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:30109 ],
110 },
111 {
[email protected]c847f002014-02-21 01:59:24112 'target_name': 'gpu_ipc_nacl',
[email protected]9ca8a5232012-08-07 22:34:30113 'type': 'none',
114 'variables': {
115 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:24116 'nlib_target': 'libgpu_ipc_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:30117 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:10118 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:21119 'build_irt': 1,
hidehikoe2de7f22014-10-23 06:53:17120 'build_pnacl_newlib': 0,
121 'build_nonsfi_helper': 1,
[email protected]9ca8a5232012-08-07 22:34:30122 },
123 'includes': [
124 'gpu_ipc.gypi',
125 ],
126 'dependencies': [
[email protected]754bcf12014-02-22 02:29:50127 '../base/base_nacl.gyp:base_nacl',
hidehikoe2de7f22014-10-23 06:53:17128 '../base/base_nacl.gyp:base_nacl_nonsfi',
129 '../native_client/tools.gyp:prep_toolchain',
[email protected]c847f002014-02-21 01:59:24130 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:30131 ],
132 },
133 ],
134 }],
135 ],
136}