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

Side by Side Diff: ppapi/ppapi_tests.gypi

Issue 8539019: Test NaCl version of ppapi_tests via ui_tests (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'ppapi_example', 8 'target_name': 'ppapi_example',
9 'dependencies': [ 9 'dependencies': [
10 'ppapi.gyp:ppapi_cpp' 10 'ppapi.gyp:ppapi_cpp'
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
254 'ppapi_example_skeleton', 254 'ppapi_example_skeleton',
255 'ppapi.gyp:ppapi_cpp', 255 'ppapi.gyp:ppapi_cpp',
256 ], 256 ],
257 'sources': [ 257 'sources': [
258 'examples/mouse_lock/mouse_lock.cc', 258 'examples/mouse_lock/mouse_lock.cc',
259 ], 259 ],
260 }, 260 },
261 ], 261 ],
262 262
263 'conditions': [ 263 'conditions': [
264 ['disable_nacl!=1', {
265 'targets': [
266 {
267 'target_name': 'ppapi_nacl_tests',
268 'type': 'none',
269 'dependencies': [
270 'native_client/native_client.gyp:ppapi_lib',
271 'native_client/native_client.gyp:nacl_irt',
272 'ppapi.gyp:ppapi_cpp_lib',
273 ],
274 'variables': {
275 'nexe_target': 'ppapi_nacl_tests',
276 'build_glibc': 0,
277 'build_newlib': 1,
278 'include_dirs': [
279 'lib/gl/include',
280 '..',
281 ],
282 'link_flags': [
283 '-lppapi_cpp',
284 '-lppapi',
285 ],
286 'extra_deps64': [
287 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppapi_cpp.a',
288 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppapi.a',
289 ],
290 'extra_deps32': [
291 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libppapi_cpp.a',
292 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libppapi.a',
293 ],
294 'sources': [
295 # Common test files
296 'tests/test_case.cc',
297 'tests/test_utils.cc',
298 'tests/testing_instance.cc',
299
300 # Compile-time tests
301 'tests/test_c_includes.c',
302 'tests/test_cpp_includes.cc',
303 'tests/test_struct_sizes.c',
304
305 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER)
306 # Add/uncomment PPAPI interfaces below when they get proxied.
307 # Not yet proxied.
308 #'test_broker.cc',
309 # Not yet proxied.
310 #'test_buffer.cc',
311 # Not yet proxied.
312 #'test_char_set.cc',
313 'tests/test_cursor_control.cc',
314 # Fails in DeleteDirectoryRecursively.
315 # BUG: http://code.google.com/p/nativeclient/issues/detail?id=2107
316 #'test_directory_reader.cc',
317 'tests/test_file_io.cc',
318 'tests/test_file_ref.cc',
319 'tests/test_file_system.cc',
320 'tests/test_memory.cc',
321 'tests/test_graphics_2d.cc',
322 'tests/test_image_data.cc',
323 'tests/test_paint_aggregator.cc',
324 # test_post_message.cc relies on synchronous scripting, which is n ot
325 # available for untrusted tests.
326 # Does not compile under nacl (uses private interface ExecuteScrip t).
dmichael (off chromium) 2011/11/11 23:20:18 nit: 80 characters in gyp files matter? Easy to fi
327 #'test_post_message.cc',
328 'tests/test_scrollbar.cc',
329 # Not yet proxied.
330 #'tests/test_transport.cc',
331 # Not yet proxied.
332 #'tests/test_uma.cc',
333 # Activating the URL loader test requires a test httpd that
334 # understands HTTP POST, which our current httpd.py doesn't.
335 # It also requires deactivating the tests that use FileIOTrusted
336 # when running in NaCl.
337 #'tests/test_url_loader.cc',
338 # Does not compile under nacl (uses VarPrivate).
339 #'test_url_util.cc',
340 # Not yet proxied.
341 #'test_video_decoder.cc',
342 'tests/test_var.cc',
343
344 # Deprecated test cases.
345 #'tests/test_instance_deprecated.cc',
346 # Var_deprecated fails in TestPassReference, and we probably won't
347 # fix it.
348 #'tests/test_var_deprecated.cc'
349 ],
350 },
351 },
352 ],
353 }],
264 # NOTE: the PPAPI examples fail to build on mac & windows. 354 # NOTE: the PPAPI examples fail to build on mac & windows.
265 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac. 355 # http://code.google.com/p/chromium/issues/detail?id=54005 tracks mac.
266 ['OS!="mac"', { 356 ['OS!="mac"', {
267 'targets': [ 357 'targets': [
268 { 358 {
269 'target_name': 'ppapi_example_c_stub', 359 'target_name': 'ppapi_example_c_stub',
270 'dependencies': [ 360 'dependencies': [
271 'ppapi_example_skeleton', 361 'ppapi_example_skeleton',
272 'ppapi.gyp:ppapi_c', 362 'ppapi.gyp:ppapi_c',
273 ], 363 ],
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
403 'lib/gl/include', 493 'lib/gl/include',
404 ], 494 ],
405 'sources': [ 495 'sources': [
406 'examples/video_capture/video_capture.cc', 496 'examples/video_capture/video_capture.cc',
407 ], 497 ],
408 }, 498 },
409 ], 499 ],
410 }] 500 }]
411 ] 501 ]
412 } 502 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698