blob: 3d8a1c1656a999514e7ff17d90b8a0060503adc5 [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,
[email protected]9ca8a5232012-08-07 22:34:3027 },
28 'defines': [
29 'GLES2_IMPL_IMPLEMENTATION',
30 ],
[email protected]9ca8a5232012-08-07 22:34:3031 'sources': [
32 '<@(gles2_implementation_source_files)',
33 ],
34 'dependencies': [
35 '../native_client/tools.gyp:prep_toolchain',
[email protected]754bcf12014-02-22 02:29:5036 '../base/base_nacl.gyp:base_nacl',
[email protected]7d51a7252012-11-28 10:33:4637 '../third_party/khronos/khronos.gyp:khronos_headers',
[email protected]c847f002014-02-21 01:59:2438 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
39 'gles2_cmd_helper_nacl',
[email protected]9ca8a5232012-08-07 22:34:3040 ],
41 },
42 {
[email protected]c847f002014-02-21 01:59:2443 'target_name': 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:3044 'type': 'none',
45 'variables': {
46 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2447 'nlib_target': 'libcommand_buffer_common_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3048 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1049 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2150 'build_irt': 1,
[email protected]9ca8a5232012-08-07 22:34:3051 },
52 'includes': [
53 'command_buffer_common.gypi',
54 ],
55 'dependencies': [
56 '../native_client/tools.gyp:prep_toolchain',
[email protected]754bcf12014-02-22 02:29:5057 '../base/base_nacl.gyp:base_nacl',
[email protected]c847f002014-02-21 01:59:2458 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
[email protected]9ca8a5232012-08-07 22:34:3059 ],
60 },
61 {
[email protected]c847f002014-02-21 01:59:2462 'target_name': 'gles2_cmd_helper_nacl',
[email protected]9ca8a5232012-08-07 22:34:3063 'type': 'none',
64 'variables': {
65 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2466 'nlib_target': 'libgles2_cmd_helper_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3067 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1068 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2169 'build_irt': 1,
[email protected]9ca8a5232012-08-07 22:34:3070 },
71 'includes': [
72 'gles2_cmd_helper.gypi',
73 ],
74 'dependencies': [
75 '../native_client/tools.gyp:prep_toolchain',
[email protected]754bcf12014-02-22 02:29:5076 '../base/base_nacl.gyp:base_nacl',
[email protected]c847f002014-02-21 01:59:2477 'command_buffer_client_nacl',
[email protected]9ca8a5232012-08-07 22:34:3078 ],
79 },
80 {
[email protected]c847f002014-02-21 01:59:2481 'target_name': 'command_buffer_client_nacl',
[email protected]9ca8a5232012-08-07 22:34:3082 'type': 'none',
83 'variables': {
84 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:2485 'nlib_target': 'libcommand_buffer_client_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:3086 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:1087 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:2188 'build_irt': 1,
[email protected]9ca8a5232012-08-07 22:34:3089 },
90 'includes': [
91 'command_buffer_client.gypi',
92 ],
93 'dependencies': [
94 '../native_client/tools.gyp:prep_toolchain',
[email protected]754bcf12014-02-22 02:29:5095 '../base/base_nacl.gyp:base_nacl',
[email protected]c847f002014-02-21 01:59:2496 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:3097 ],
98 },
99 {
[email protected]c847f002014-02-21 01:59:24100 'target_name': 'gpu_ipc_nacl',
[email protected]9ca8a5232012-08-07 22:34:30101 'type': 'none',
102 'variables': {
103 'nacl_untrusted_build': 1,
[email protected]c847f002014-02-21 01:59:24104 'nlib_target': 'libgpu_ipc_nacl.a',
[email protected]9ca8a5232012-08-07 22:34:30105 'build_glibc': 0,
[email protected]b52fa342013-08-22 23:28:10106 'build_newlib': 0,
[email protected]c5707ee2013-08-04 06:32:21107 'build_irt': 1,
[email protected]9ca8a5232012-08-07 22:34:30108 },
109 'includes': [
110 'gpu_ipc.gypi',
111 ],
112 'dependencies': [
113 '../native_client/tools.gyp:prep_toolchain',
[email protected]754bcf12014-02-22 02:29:50114 '../base/base_nacl.gyp:base_nacl',
[email protected]c847f002014-02-21 01:59:24115 'command_buffer_common_nacl',
[email protected]9ca8a5232012-08-07 22:34:30116 ],
117 },
118 ],
119 }],
120 ],
121}