Delete unused downloads page asset.
[chromium-blink-merge.git] / ppapi / tests / extensions / extensions.gyp
blobd30f8abcfde12d1945742170068586dc7c971616
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.
6   'includes': [
7     '../../../ppapi/ppapi_nacl_test_common.gypi',
8   ],
9   'targets': [
10     {
11       'target_name': 'ppapi_tests_extensions_background_keepalive',
12       'type': 'none',
13       'variables': {
14         'nexe_target': 'ppapi_tests_extensions_background_keepalive',
15         # Only newlib build is used in tests, no need to build others.
16         'build_newlib': 1,
17         'build_glibc': 0,
18         'build_pnacl_newlib': 0,
19         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/background_keepalive',
20         'sources': [
21           'background_keepalive/background.cc',
22         ],
23         'test_files': [
24           'background_keepalive/background.js',
25           'background_keepalive/manifest.json',
26         ],
27       },
28     },
29     {
30       'target_name': 'ppapi_tests_extensions_load_unload',
31       'type': 'none',
32       'variables': {
33         'nexe_target': 'ppapi_tests_extensions_load_unload',
34         # Only newlib build is used in tests, no need to build others.
35         'build_newlib': 1,
36         'build_glibc': 0,
37         'build_pnacl_newlib': 0,
38         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/load_unload',
39         'sources': [
40           'load_unload/load_unload.cc',
41         ],
42         'test_files': [
43           'load_unload/background.js',
44           'load_unload/ext_icon.png',
45           'load_unload/manifest.json',
46         ],
47       },
48     },
49     {
50       'target_name': 'ppapi_tests_extensions_media_galleries',
51       'type': 'none',
52       'variables': {
53         'nexe_target': 'ppapi_tests_extensions_media_galleries',
54         # Only newlib build is used in tests, no need to build others.
55         'build_newlib': 1,
56         'build_glibc': 0,
57         'build_pnacl_newlib': 0,
58         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/media_galleries',
59         'sources': [
60           '<(DEPTH)/ppapi/tests/test_utils.cc',
61           '<(DEPTH)/ppapi/tests/test_utils.h',
62           'media_galleries/test_galleries.cc',
63         ],
64         'test_files': [
65           'media_galleries/background.js',
66           'media_galleries/index.html',
67           'media_galleries/manifest.json',
68           'media_galleries/test.js',
69         ],
70       },
71     },
72     {
73       'target_name': 'ppapi_tests_extensions_multicast_permissions',
74       'type': 'none',
75       'variables': {
76         'nexe_target': 'ppapi_tests_extensions_multicast_permissions',
77         # Only newlib build is used in tests, no need to build others.
78         'build_newlib': 1,
79         'build_glibc': 0,
80         'build_pnacl_newlib': 0,
81         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/multicast_permissions',
82         'sources': [
83           'multicast_permissions/test_multicast_permissions.cc',
84         ],
85         'test_files': [
86           'multicast_permissions/controller.js',
87           'multicast_permissions/index.html',
88           'multicast_permissions/main.js',
89           'multicast_permissions/manifest.json',
90         ],
91       },
92     },
93     {
94       'target_name': 'ppapi_tests_extensions_no_socket_permissions',
95       'type': 'none',
96       'variables': {
97         'nexe_target': 'ppapi_tests_extensions_no_socket_permissions',
98         # Only newlib build is used in tests, no need to build others.
99         'build_newlib': 1,
100         'build_glibc': 0,
101         'build_pnacl_newlib': 0,
102         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/no_socket_permissions',
103         'sources': [
104           'no_socket_permissions/test_no_socket_permissions.cc',
105         ],
106         'test_files': [
107           'no_socket_permissions/controller.js',
108           'no_socket_permissions/index.html',
109           'no_socket_permissions/main.js',
110           'no_socket_permissions/manifest.json',
111         ],
112       },
113     },
114     {
115       'target_name': 'ppapi_tests_extensions_packaged_app',
116       'type': 'none',
117       'variables': {
118         'nexe_target': 'ppapi_tests_extensions_packaged_app',
119         'build_newlib': 1,
120         'build_glibc': 0,
121         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app',
122         'sources': [
123           'packaged_app/test_packaged_app.cc'
124         ],
125         'test_files': [
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',
132         ],
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',
266         ],
267       },
268       'conditions': [
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.
272           'variables': {
273             'build_pnacl_newlib': 1,
274             'translate_pexe_with_build': 1,
275             'enable_x86_32_nonsfi': 1,
276           },
277         }],
278       ],
279       # Shim is a dependency for the nexe because we pre-translate.
280       'dependencies': [
281         '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp:aot',
282       ],
283     },
284     {
285       'target_name': 'ppapi_tests_extensions_socket_permissions',
286       'type': 'none',
287       'variables': {
288         'nexe_target': 'ppapi_tests_extensions_socket_permissions',
289         # Only newlib build is used in tests, no need to build others.
290         'build_newlib': 1,
291         'build_glibc': 0,
292         'build_pnacl_newlib': 0,
293         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/socket_permissions',
294         'sources': [
295           'socket_permissions/test_socket_permissions.cc',
296         ],
297         'test_files': [
298           'socket_permissions/controller.js',
299           'socket_permissions/index.html',
300           'socket_permissions/main.js',
301           'socket_permissions/manifest.json',
302         ],
303       },
304     },
305   ],