1 # Copyright (c) 2013 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.
7 '../../../ppapi/ppapi_nacl_test_common.gypi',
11 'target_name': 'ppapi_tests_extensions_background_keepalive',
14 'nexe_target': 'ppapi_tests_extensions_background_keepalive',
15 # Only newlib build is used in tests, no need to build others.
18 'build_pnacl_newlib': 0,
19 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/background_keepalive',
21 'background_keepalive/background.cc',
24 'background_keepalive/background.js',
25 'background_keepalive/manifest.json',
30 'target_name': 'ppapi_tests_extensions_load_unload',
33 'nexe_target': 'ppapi_tests_extensions_load_unload',
34 # Only newlib build is used in tests, no need to build others.
37 'build_pnacl_newlib': 0,
38 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/load_unload',
40 'load_unload/load_unload.cc',
43 'load_unload/background.js',
44 'load_unload/ext_icon.png',
45 'load_unload/manifest.json',
50 'target_name': 'ppapi_tests_extensions_media_galleries',
53 'nexe_target': 'ppapi_tests_extensions_media_galleries',
54 # Only newlib build is used in tests, no need to build others.
57 'build_pnacl_newlib': 0,
58 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/media_galleries',
60 '<(DEPTH)/ppapi/tests/test_utils.cc',
61 '<(DEPTH)/ppapi/tests/test_utils.h',
62 'media_galleries/test_galleries.cc',
65 'media_galleries/background.js',
66 'media_galleries/index.html',
67 'media_galleries/manifest.json',
68 'media_galleries/test.js',
73 'target_name': 'ppapi_tests_extensions_multicast_permissions',
76 'nexe_target': 'ppapi_tests_extensions_multicast_permissions',
77 # Only newlib build is used in tests, no need to build others.
80 'build_pnacl_newlib': 0,
81 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/multicast_permissions',
83 'multicast_permissions/test_multicast_permissions.cc',
86 'multicast_permissions/controller.js',
87 'multicast_permissions/index.html',
88 'multicast_permissions/main.js',
89 'multicast_permissions/manifest.json',
94 'target_name': 'ppapi_tests_extensions_no_socket_permissions',
97 'nexe_target': 'ppapi_tests_extensions_no_socket_permissions',
98 # Only newlib build is used in tests, no need to build others.
101 'build_pnacl_newlib': 0,
102 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/no_socket_permissions',
104 'no_socket_permissions/test_no_socket_permissions.cc',
107 'no_socket_permissions/controller.js',
108 'no_socket_permissions/index.html',
109 'no_socket_permissions/main.js',
110 'no_socket_permissions/manifest.json',
115 'target_name': 'ppapi_tests_extensions_packaged_app',
118 'nexe_target': 'ppapi_tests_extensions_packaged_app',
121 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app',
123 'packaged_app/test_packaged_app.cc'
126 'packaged_app/controller.js',
127 'packaged_app/index.html',
128 'packaged_app/main.js',
129 'packaged_app/manifest.json',
130 'packaged_app/test_file.txt',
131 'packaged_app/test_file2.txt',
133 'create_nmf_args_portable': [
134 # Add 129 "files" entries to make sure that open_resource can handle
135 # more files than IPC::MessageAttachmentSet::kMaxDescriptorsPerMessage
136 # which is currently 128.
137 '-xtest_file0:test_file.txt',
138 '-xtest_file1:test_file2.txt',
139 '-xtest_file2:test_file.txt',
140 '-xtest_file3:test_file2.txt',
141 '-xtest_file4:test_file.txt',
142 '-xtest_file5:test_file2.txt',
143 '-xtest_file6:test_file.txt',
144 '-xtest_file7:test_file2.txt',
145 '-xtest_file8:test_file.txt',
146 '-xtest_file9:test_file2.txt',
147 '-xtest_file10:test_file.txt',
148 '-xtest_file11:test_file2.txt',
149 '-xtest_file12:test_file.txt',
150 '-xtest_file13:test_file2.txt',
151 '-xtest_file14:test_file.txt',
152 '-xtest_file15:test_file2.txt',
153 '-xtest_file16:test_file.txt',
154 '-xtest_file17:test_file2.txt',
155 '-xtest_file18:test_file.txt',
156 '-xtest_file19:test_file2.txt',
157 '-xtest_file20:test_file.txt',
158 '-xtest_file21:test_file2.txt',
159 '-xtest_file22:test_file.txt',
160 '-xtest_file23:test_file2.txt',
161 '-xtest_file24:test_file.txt',
162 '-xtest_file25:test_file2.txt',
163 '-xtest_file26:test_file.txt',
164 '-xtest_file27:test_file2.txt',
165 '-xtest_file28:test_file.txt',
166 '-xtest_file29:test_file2.txt',
167 '-xtest_file30:test_file.txt',
168 '-xtest_file31:test_file2.txt',
169 '-xtest_file32:test_file.txt',
170 '-xtest_file33:test_file2.txt',
171 '-xtest_file34:test_file.txt',
172 '-xtest_file35:test_file2.txt',
173 '-xtest_file36:test_file.txt',
174 '-xtest_file37:test_file2.txt',
175 '-xtest_file38:test_file.txt',
176 '-xtest_file39:test_file2.txt',
177 '-xtest_file40:test_file.txt',
178 '-xtest_file41:test_file2.txt',
179 '-xtest_file42:test_file.txt',
180 '-xtest_file43:test_file2.txt',
181 '-xtest_file44:test_file.txt',
182 '-xtest_file45:test_file2.txt',
183 '-xtest_file46:test_file.txt',
184 '-xtest_file47:test_file2.txt',
185 '-xtest_file48:test_file.txt',
186 '-xtest_file49:test_file2.txt',
187 '-xtest_file50:test_file.txt',
188 '-xtest_file51:test_file2.txt',
189 '-xtest_file52:test_file.txt',
190 '-xtest_file53:test_file2.txt',
191 '-xtest_file54:test_file.txt',
192 '-xtest_file55:test_file2.txt',
193 '-xtest_file56:test_file.txt',
194 '-xtest_file57:test_file2.txt',
195 '-xtest_file58:test_file.txt',
196 '-xtest_file59:test_file2.txt',
197 '-xtest_file60:test_file.txt',
198 '-xtest_file61:test_file2.txt',
199 '-xtest_file62:test_file.txt',
200 '-xtest_file63:test_file2.txt',
201 '-xtest_file64:test_file.txt',
202 '-xtest_file65:test_file2.txt',
203 '-xtest_file66:test_file.txt',
204 '-xtest_file67:test_file2.txt',
205 '-xtest_file68:test_file.txt',
206 '-xtest_file69:test_file2.txt',
207 '-xtest_file70:test_file.txt',
208 '-xtest_file71:test_file2.txt',
209 '-xtest_file72:test_file.txt',
210 '-xtest_file73:test_file2.txt',
211 '-xtest_file74:test_file.txt',
212 '-xtest_file75:test_file2.txt',
213 '-xtest_file76:test_file.txt',
214 '-xtest_file77:test_file2.txt',
215 '-xtest_file78:test_file.txt',
216 '-xtest_file79:test_file2.txt',
217 '-xtest_file80:test_file.txt',
218 '-xtest_file81:test_file2.txt',
219 '-xtest_file82:test_file.txt',
220 '-xtest_file83:test_file2.txt',
221 '-xtest_file84:test_file.txt',
222 '-xtest_file85:test_file2.txt',
223 '-xtest_file86:test_file.txt',
224 '-xtest_file87:test_file2.txt',
225 '-xtest_file88:test_file.txt',
226 '-xtest_file89:test_file2.txt',
227 '-xtest_file90:test_file.txt',
228 '-xtest_file91:test_file2.txt',
229 '-xtest_file92:test_file.txt',
230 '-xtest_file93:test_file2.txt',
231 '-xtest_file94:test_file.txt',
232 '-xtest_file95:test_file2.txt',
233 '-xtest_file96:test_file.txt',
234 '-xtest_file97:test_file2.txt',
235 '-xtest_file98:test_file.txt',
236 '-xtest_file99:test_file2.txt',
237 '-xtest_file100:test_file.txt',
238 '-xtest_file101:test_file2.txt',
239 '-xtest_file102:test_file.txt',
240 '-xtest_file103:test_file2.txt',
241 '-xtest_file104:test_file.txt',
242 '-xtest_file105:test_file2.txt',
243 '-xtest_file106:test_file.txt',
244 '-xtest_file107:test_file2.txt',
245 '-xtest_file108:test_file.txt',
246 '-xtest_file109:test_file2.txt',
247 '-xtest_file110:test_file.txt',
248 '-xtest_file111:test_file2.txt',
249 '-xtest_file112:test_file.txt',
250 '-xtest_file113:test_file2.txt',
251 '-xtest_file114:test_file.txt',
252 '-xtest_file115:test_file2.txt',
253 '-xtest_file116:test_file.txt',
254 '-xtest_file117:test_file2.txt',
255 '-xtest_file118:test_file.txt',
256 '-xtest_file119:test_file2.txt',
257 '-xtest_file120:test_file.txt',
258 '-xtest_file121:test_file2.txt',
259 '-xtest_file122:test_file.txt',
260 '-xtest_file123:test_file2.txt',
261 '-xtest_file124:test_file.txt',
262 '-xtest_file125:test_file2.txt',
263 '-xtest_file126:test_file.txt',
264 '-xtest_file127:test_file2.txt',
265 '-xtest_file128:test_file.txt',
269 ['(target_arch=="ia32" or target_arch=="x64") and OS=="linux"', {
270 # Enable nonsfi testing only on ia32-linux environment.
271 # See chrome/test/data/nacl/nacl_test_data.gyp for more info.
273 'build_pnacl_newlib': 1,
274 'translate_pexe_with_build': 1,
275 'enable_x86_32_nonsfi': 1,
279 # Shim is a dependency for the nexe because we pre-translate.
281 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp:aot',
285 'target_name': 'ppapi_tests_extensions_socket_permissions',
288 'nexe_target': 'ppapi_tests_extensions_socket_permissions',
289 # Only newlib build is used in tests, no need to build others.
292 'build_pnacl_newlib': 0,
293 'nexe_destination_dir': 'test_data/ppapi/tests/extensions/socket_permissions',
295 'socket_permissions/test_socket_permissions.cc',
298 'socket_permissions/controller.js',
299 'socket_permissions/index.html',
300 'socket_permissions/main.js',
301 'socket_permissions/manifest.json',