Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / ppapi / tests / extensions / extensions.gyp
blob6d85a94db63ed0b268bd8a2597daa708c3305b10
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_media_galleries',
31       'type': 'none',
32       'variables': {
33         'nexe_target': 'ppapi_tests_extensions_media_galleries',
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/media_galleries',
39         'sources': [
40           '<(DEPTH)/ppapi/tests/test_utils.cc',
41           '<(DEPTH)/ppapi/tests/test_utils.h',
42           'media_galleries/test_galleries.cc',
43         ],
44         'test_files': [
45           'media_galleries/background.js',
46           'media_galleries/index.html',
47           'media_galleries/manifest.json',
48           'media_galleries/test.js',
49         ],
50       },
51     },
52     {
53       'target_name': 'ppapi_tests_extensions_packaged_app',
54       'type': 'none',
55       'variables': {
56         'nexe_target': 'ppapi_tests_extensions_packaged_app',
57         'build_newlib': 1,
58         'build_glibc': 0,
59         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/packaged_app',
60         'sources': [
61           'packaged_app/test_packaged_app.cc'
62         ],
63         'test_files': [
64           'packaged_app/controller.js',
65           'packaged_app/index.html',
66           'packaged_app/main.js',
67           'packaged_app/manifest.json',
68           'packaged_app/test_file.txt',
69           'packaged_app/test_file2.txt',
70         ],
71         'create_nmf_args_portable': [
72           # Add 129 "files" entries to make sure that open_resource can handle
73           # more files than IPC::MessageAttachmentSet::kMaxDescriptorsPerMessage
74           # which is currently 128.
75           '-xtest_file0:test_file.txt',
76           '-xtest_file1:test_file2.txt',
77           '-xtest_file2:test_file.txt',
78           '-xtest_file3:test_file2.txt',
79           '-xtest_file4:test_file.txt',
80           '-xtest_file5:test_file2.txt',
81           '-xtest_file6:test_file.txt',
82           '-xtest_file7:test_file2.txt',
83           '-xtest_file8:test_file.txt',
84           '-xtest_file9:test_file2.txt',
85           '-xtest_file10:test_file.txt',
86           '-xtest_file11:test_file2.txt',
87           '-xtest_file12:test_file.txt',
88           '-xtest_file13:test_file2.txt',
89           '-xtest_file14:test_file.txt',
90           '-xtest_file15:test_file2.txt',
91           '-xtest_file16:test_file.txt',
92           '-xtest_file17:test_file2.txt',
93           '-xtest_file18:test_file.txt',
94           '-xtest_file19:test_file2.txt',
95           '-xtest_file20:test_file.txt',
96           '-xtest_file21:test_file2.txt',
97           '-xtest_file22:test_file.txt',
98           '-xtest_file23:test_file2.txt',
99           '-xtest_file24:test_file.txt',
100           '-xtest_file25:test_file2.txt',
101           '-xtest_file26:test_file.txt',
102           '-xtest_file27:test_file2.txt',
103           '-xtest_file28:test_file.txt',
104           '-xtest_file29:test_file2.txt',
105           '-xtest_file30:test_file.txt',
106           '-xtest_file31:test_file2.txt',
107           '-xtest_file32:test_file.txt',
108           '-xtest_file33:test_file2.txt',
109           '-xtest_file34:test_file.txt',
110           '-xtest_file35:test_file2.txt',
111           '-xtest_file36:test_file.txt',
112           '-xtest_file37:test_file2.txt',
113           '-xtest_file38:test_file.txt',
114           '-xtest_file39:test_file2.txt',
115           '-xtest_file40:test_file.txt',
116           '-xtest_file41:test_file2.txt',
117           '-xtest_file42:test_file.txt',
118           '-xtest_file43:test_file2.txt',
119           '-xtest_file44:test_file.txt',
120           '-xtest_file45:test_file2.txt',
121           '-xtest_file46:test_file.txt',
122           '-xtest_file47:test_file2.txt',
123           '-xtest_file48:test_file.txt',
124           '-xtest_file49:test_file2.txt',
125           '-xtest_file50:test_file.txt',
126           '-xtest_file51:test_file2.txt',
127           '-xtest_file52:test_file.txt',
128           '-xtest_file53:test_file2.txt',
129           '-xtest_file54:test_file.txt',
130           '-xtest_file55:test_file2.txt',
131           '-xtest_file56:test_file.txt',
132           '-xtest_file57:test_file2.txt',
133           '-xtest_file58:test_file.txt',
134           '-xtest_file59:test_file2.txt',
135           '-xtest_file60:test_file.txt',
136           '-xtest_file61:test_file2.txt',
137           '-xtest_file62:test_file.txt',
138           '-xtest_file63:test_file2.txt',
139           '-xtest_file64:test_file.txt',
140           '-xtest_file65:test_file2.txt',
141           '-xtest_file66:test_file.txt',
142           '-xtest_file67:test_file2.txt',
143           '-xtest_file68:test_file.txt',
144           '-xtest_file69:test_file2.txt',
145           '-xtest_file70:test_file.txt',
146           '-xtest_file71:test_file2.txt',
147           '-xtest_file72:test_file.txt',
148           '-xtest_file73:test_file2.txt',
149           '-xtest_file74:test_file.txt',
150           '-xtest_file75:test_file2.txt',
151           '-xtest_file76:test_file.txt',
152           '-xtest_file77:test_file2.txt',
153           '-xtest_file78:test_file.txt',
154           '-xtest_file79:test_file2.txt',
155           '-xtest_file80:test_file.txt',
156           '-xtest_file81:test_file2.txt',
157           '-xtest_file82:test_file.txt',
158           '-xtest_file83:test_file2.txt',
159           '-xtest_file84:test_file.txt',
160           '-xtest_file85:test_file2.txt',
161           '-xtest_file86:test_file.txt',
162           '-xtest_file87:test_file2.txt',
163           '-xtest_file88:test_file.txt',
164           '-xtest_file89:test_file2.txt',
165           '-xtest_file90:test_file.txt',
166           '-xtest_file91:test_file2.txt',
167           '-xtest_file92:test_file.txt',
168           '-xtest_file93:test_file2.txt',
169           '-xtest_file94:test_file.txt',
170           '-xtest_file95:test_file2.txt',
171           '-xtest_file96:test_file.txt',
172           '-xtest_file97:test_file2.txt',
173           '-xtest_file98:test_file.txt',
174           '-xtest_file99:test_file2.txt',
175           '-xtest_file100:test_file.txt',
176           '-xtest_file101:test_file2.txt',
177           '-xtest_file102:test_file.txt',
178           '-xtest_file103:test_file2.txt',
179           '-xtest_file104:test_file.txt',
180           '-xtest_file105:test_file2.txt',
181           '-xtest_file106:test_file.txt',
182           '-xtest_file107:test_file2.txt',
183           '-xtest_file108:test_file.txt',
184           '-xtest_file109:test_file2.txt',
185           '-xtest_file110:test_file.txt',
186           '-xtest_file111:test_file2.txt',
187           '-xtest_file112:test_file.txt',
188           '-xtest_file113:test_file2.txt',
189           '-xtest_file114:test_file.txt',
190           '-xtest_file115:test_file2.txt',
191           '-xtest_file116:test_file.txt',
192           '-xtest_file117:test_file2.txt',
193           '-xtest_file118:test_file.txt',
194           '-xtest_file119:test_file2.txt',
195           '-xtest_file120:test_file.txt',
196           '-xtest_file121:test_file2.txt',
197           '-xtest_file122:test_file.txt',
198           '-xtest_file123:test_file2.txt',
199           '-xtest_file124:test_file.txt',
200           '-xtest_file125:test_file2.txt',
201           '-xtest_file126:test_file.txt',
202           '-xtest_file127:test_file2.txt',
203           '-xtest_file128:test_file.txt',
204         ],
205       },
206       'conditions': [
207         ['(target_arch=="ia32" or target_arch=="x64") and OS=="linux"', {
208           # Enable nonsfi testing only on ia32-linux environment.
209           # See chrome/test/data/nacl/nacl_test_data.gyp for more info.
210           'variables': {
211             'build_pnacl_newlib': 1,
212             'translate_pexe_with_build': 1,
213             'enable_x86_32_nonsfi': 1,
214           },
215         }],
216       ],
217       # Shim is a dependency for the nexe because we pre-translate.
218       'dependencies': [
219         '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp:aot',
220       ],
221     },
222     {
223       'target_name': 'ppapi_tests_extensions_socket_permissions',
224       'type': 'none',
225       'variables': {
226         'nexe_target': 'ppapi_tests_extensions_socket_permissions',
227         # Only newlib build is used in tests, no need to build others.
228         'build_newlib': 1,
229         'build_glibc': 0,
230         'build_pnacl_newlib': 0,
231         'nexe_destination_dir': 'test_data/ppapi/tests/extensions/socket_permissions',
232         'sources': [
233           'socket_permissions/test_socket_permissions.cc',
234         ],
235         'test_files': [
236           'socket_permissions/controller.js',
237           'socket_permissions/index.html',
238           'socket_permissions/main.js',
239           'socket_permissions/manifest.json',
240         ],
241       },
242     },
243   ],