Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(585)

Side by Side Diff: gpu/gpu_nacl.gyp

Issue 649183005: Non-SFI Mode: Build gpu/ libraries by PNaCl toolchain for nacl_helper_nonsfi. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 # nacl_win64_target is for building the trusted Win64 NaCl broker. 8 # nacl_win64_target is for building the trusted Win64 NaCl broker.
9 'nacl_win64_target': 0, 9 'nacl_win64_target': 0,
10 }, 10 },
11 'includes': [ 11 'includes': [
12 '../build/common_untrusted.gypi', 12 '../build/common_untrusted.gypi',
13 'gpu_common.gypi', 13 'gpu_common.gypi',
14 ], 14 ],
15 'conditions': [ 15 'conditions': [
16 ['disable_nacl==0 and disable_nacl_untrusted==0', { 16 ['disable_nacl==0', {
Mark Seaborn 2014/10/20 15:44:00 The same simplifications can apply in this file...
hidehiko 2014/10/20 19:02:35 Done.
17 'targets': [ 17 'targets': [
18 { 18 {
19 'target_name': 'gles2_implementation_nacl', 19 'target_name': 'gles2_implementation_nacl',
20 'type': 'none', 20 'type': 'none',
21 'variables': { 21 'variables': {
22 'nacl_untrusted_build': 1, 22 'nacl_untrusted_build': 1,
23 'nlib_target': 'libgles2_implementation_nacl.a', 23 'nlib_target': 'libgles2_implementation_nacl.a',
24 'build_glibc': 0, 24 'build_glibc': 0,
25 'build_newlib': 0, 25 'build_newlib': 0,
26 'build_irt': 1, 26 'build_irt': 0,
27 'build_pnacl_newlib': 0,
28 'build_nonsfi_helper': 1,
27 }, 29 },
28 'defines': [ 30 'defines': [
29 'GLES2_IMPL_IMPLEMENTATION', 31 'GLES2_IMPL_IMPLEMENTATION',
30 ], 32 ],
31 'sources': [ 33 'sources': [
32 '<@(gles2_implementation_source_files)', 34 '<@(gles2_implementation_source_files)',
33 ], 35 ],
34 'dependencies': [ 36 'dependencies': [
37 '../base/base_nacl.gyp:base_nacl_nonsfi',
35 '../native_client/tools.gyp:prep_toolchain', 38 '../native_client/tools.gyp:prep_toolchain',
36 '../base/base_nacl.gyp:base_nacl',
37 '../third_party/khronos/khronos.gyp:khronos_headers', 39 '../third_party/khronos/khronos.gyp:khronos_headers',
38 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', 40 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
39 'gles2_cmd_helper_nacl', 41 'gles2_cmd_helper_nacl',
40 ], 42 ],
43 'conditions': [
44 ['disable_nacl_untrusted==0', {
45 'variables': {
46 'build_irt': 1,
47 },
48 'dependencies': [
49 '../base/base_nacl.gyp:base_nacl',
50 ],
51 }],
52 ],
41 }, 53 },
42 { 54 {
43 'target_name': 'command_buffer_common_nacl', 55 'target_name': 'command_buffer_common_nacl',
44 'type': 'none', 56 'type': 'none',
45 'variables': { 57 'variables': {
46 'nacl_untrusted_build': 1, 58 'nacl_untrusted_build': 1,
47 'nlib_target': 'libcommand_buffer_common_nacl.a', 59 'nlib_target': 'libcommand_buffer_common_nacl.a',
48 'build_glibc': 0, 60 'build_glibc': 0,
49 'build_newlib': 0, 61 'build_newlib': 0,
50 'build_irt': 1, 62 'build_irt': 0,
63 'build_pnacl_newlib': 0,
64 'build_nonsfi_helper': 1,
51 }, 65 },
52 'includes': [ 66 'includes': [
53 'command_buffer_common.gypi', 67 'command_buffer_common.gypi',
54 ], 68 ],
55 'dependencies': [ 69 'dependencies': [
70 '../base/base_nacl.gyp:base_nacl_nonsfi',
56 '../native_client/tools.gyp:prep_toolchain', 71 '../native_client/tools.gyp:prep_toolchain',
57 '../base/base_nacl.gyp:base_nacl',
58 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl', 72 'command_buffer/command_buffer_nacl.gyp:gles2_utils_nacl',
59 ], 73 ],
74 'conditions': [
75 ['disable_nacl_untrusted==0', {
76 'variables': {
77 'build_irt': 1,
78 },
79 'dependencies': [
80 '../base/base_nacl.gyp:base_nacl',
81 ],
82 }],
83 ],
60 }, 84 },
61 { 85 {
62 'target_name': 'gles2_cmd_helper_nacl', 86 'target_name': 'gles2_cmd_helper_nacl',
63 'type': 'none', 87 'type': 'none',
64 'variables': { 88 'variables': {
65 'nacl_untrusted_build': 1, 89 'nacl_untrusted_build': 1,
66 'nlib_target': 'libgles2_cmd_helper_nacl.a', 90 'nlib_target': 'libgles2_cmd_helper_nacl.a',
67 'build_glibc': 0, 91 'build_glibc': 0,
68 'build_newlib': 0, 92 'build_newlib': 0,
69 'build_irt': 1, 93 'build_irt': 0,
94 'build_pnacl_newlib': 0,
95 'build_nonsfi_helper': 1,
70 }, 96 },
71 'includes': [ 97 'includes': [
72 'gles2_cmd_helper.gypi', 98 'gles2_cmd_helper.gypi',
73 ], 99 ],
74 'dependencies': [ 100 'dependencies': [
101 '../base/base_nacl.gyp:base_nacl_nonsfi',
75 '../native_client/tools.gyp:prep_toolchain', 102 '../native_client/tools.gyp:prep_toolchain',
76 '../base/base_nacl.gyp:base_nacl',
77 'command_buffer_client_nacl', 103 'command_buffer_client_nacl',
78 ], 104 ],
105 'conditions': [
106 ['disable_nacl_untrusted==0', {
107 'variables': {
108 'build_irt': 1,
109 },
110 'dependencies': [
111 '../base/base_nacl.gyp:base_nacl',
112 ],
113 }],
114 ],
79 }, 115 },
80 { 116 {
81 'target_name': 'command_buffer_client_nacl', 117 'target_name': 'command_buffer_client_nacl',
82 'type': 'none', 118 'type': 'none',
83 'variables': { 119 'variables': {
84 'nacl_untrusted_build': 1, 120 'nacl_untrusted_build': 1,
85 'nlib_target': 'libcommand_buffer_client_nacl.a', 121 'nlib_target': 'libcommand_buffer_client_nacl.a',
86 'build_glibc': 0, 122 'build_glibc': 0,
87 'build_newlib': 0, 123 'build_newlib': 0,
88 'build_irt': 1, 124 'build_irt': 0,
125 'build_pnacl_newlib': 0,
126 'build_nonsfi_helper': 1,
89 }, 127 },
90 'includes': [ 128 'includes': [
91 'command_buffer_client.gypi', 129 'command_buffer_client.gypi',
92 ], 130 ],
93 'dependencies': [ 131 'dependencies': [
132 '../base/base_nacl.gyp:base_nacl_nonsfi',
94 '../native_client/tools.gyp:prep_toolchain', 133 '../native_client/tools.gyp:prep_toolchain',
95 '../base/base_nacl.gyp:base_nacl',
96 'command_buffer_common_nacl', 134 'command_buffer_common_nacl',
97 ], 135 ],
136 'conditions': [
137 ['disable_nacl_untrusted==0', {
138 'variables': {
139 'build_irt': 1,
140 },
141 'dependencies': [
142 '../base/base_nacl.gyp:base_nacl',
143 ],
144 }],
145 ],
98 }, 146 },
99 { 147 {
100 'target_name': 'gpu_ipc_nacl', 148 'target_name': 'gpu_ipc_nacl',
101 'type': 'none', 149 'type': 'none',
102 'variables': { 150 'variables': {
103 'nacl_untrusted_build': 1, 151 'nacl_untrusted_build': 1,
104 'nlib_target': 'libgpu_ipc_nacl.a', 152 'nlib_target': 'libgpu_ipc_nacl.a',
105 'build_glibc': 0, 153 'build_glibc': 0,
106 'build_newlib': 0, 154 'build_newlib': 0,
107 'build_irt': 1, 155 'build_irt': 0,
156 'build_pnacl_newlib': 0,
157 'build_nonsfi_helper': 1,
108 }, 158 },
109 'includes': [ 159 'includes': [
110 'gpu_ipc.gypi', 160 'gpu_ipc.gypi',
111 ], 161 ],
112 'dependencies': [ 162 'dependencies': [
163 '../base/base_nacl.gyp:base_nacl_nonsfi',
113 '../native_client/tools.gyp:prep_toolchain', 164 '../native_client/tools.gyp:prep_toolchain',
114 '../base/base_nacl.gyp:base_nacl',
115 'command_buffer_common_nacl', 165 'command_buffer_common_nacl',
116 ], 166 ],
167 'conditions': [
168 ['disable_nacl_untrusted==0', {
169 'variables': {
170 'build_irt': 1,
171 },
172 'dependencies': [
173 '../base/base_nacl.gyp:base_nacl',
174 ],
175 }],
176 ],
117 }, 177 },
118 ], 178 ],
119 }], 179 }],
120 ], 180 ],
121 } 181 }
OLDNEW
« gpu/command_buffer/command_buffer_nacl.gyp ('K') | « gpu/command_buffer/command_buffer_nacl.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698