OLD | NEW |
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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 'ppapi.gyp:ppapi_egl', | 407 'ppapi.gyp:ppapi_egl', |
408 ], | 408 ], |
409 'include_dirs': [ | 409 'include_dirs': [ |
410 'lib/gl/include', | 410 'lib/gl/include', |
411 ], | 411 ], |
412 'sources': [ | 412 'sources': [ |
413 'examples/video_capture/video_capture.cc', | 413 'examples/video_capture/video_capture.cc', |
414 ], | 414 ], |
415 }, | 415 }, |
416 ], | 416 ], |
| 417 'conditions': [ |
| 418 ['disable_nacl!=1', { |
| 419 'targets': [ |
| 420 { |
| 421 'target_name': 'ppapi_nacl_tests', |
| 422 'type': 'none', |
| 423 'dependencies': [ |
| 424 'native_client/native_client.gyp:ppapi_lib', |
| 425 'native_client/native_client.gyp:nacl_irt', |
| 426 'ppapi.gyp:ppapi_cpp_lib', |
| 427 ], |
| 428 'variables': { |
| 429 'nexe_target': 'ppapi_nacl_tests', |
| 430 'build_glibc': 0, |
| 431 'build_newlib': 1, |
| 432 'include_dirs': [ |
| 433 'lib/gl/include', |
| 434 '..', |
| 435 ], |
| 436 'link_flags': [ |
| 437 '-lppapi_cpp', |
| 438 '-lppapi', |
| 439 ], |
| 440 'extra_deps64': [ |
| 441 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppapi_cpp.a', |
| 442 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib64/libppapi.a', |
| 443 ], |
| 444 'extra_deps32': [ |
| 445 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libppapi_cpp.a', |
| 446 '<(PRODUCT_DIR)/obj/gen/tc_newlib/lib32/libppapi.a', |
| 447 ], |
| 448 'sources': [ |
| 449 # Common test files |
| 450 'tests/test_case.cc', |
| 451 'tests/test_utils.cc', |
| 452 'tests/testing_instance.cc', |
| 453 |
| 454 # Compile-time tests |
| 455 'tests/test_c_includes.c', |
| 456 'tests/test_cpp_includes.cc', |
| 457 'tests/test_struct_sizes.c', |
| 458 # Test cases (PLEASE KEEP THIS SECTION IN ALPHABETICAL ORDER) |
| 459 |
| 460 # Add/uncomment PPAPI interfaces below when they get proxied. |
| 461 # Not yet proxied. |
| 462 #'test_broker.cc', |
| 463 # Not yet proxied. |
| 464 #'test_buffer.cc', |
| 465 # Not yet proxied. |
| 466 #'test_char_set.cc', |
| 467 'tests/test_cursor_control.cc', |
| 468 # Fails in DeleteDirectoryRecursively. |
| 469 # BUG: http://code.google.com/p/nativeclient/issues/detail?id=2107 |
| 470 #'test_directory_reader.cc', |
| 471 'tests/test_file_io.cc', |
| 472 'tests/test_file_ref.cc', |
| 473 'tests/test_file_system.cc', |
| 474 'tests/test_memory.cc', |
| 475 'tests/test_graphics_2d.cc', |
| 476 'tests/test_image_data.cc', |
| 477 'tests/test_paint_aggregator.cc', |
| 478 # test_post_message.cc relies on synchronous scripting, which is n
ot |
| 479 # available for untrusted tests. |
| 480 # Does not compile under nacl (uses private interface ExecuteScrip
t). |
| 481 #'test_post_message.cc', |
| 482 'tests/test_scrollbar.cc', |
| 483 # Not yet proxied. |
| 484 #'tests/test_transport.cc', |
| 485 # Not yet proxied. |
| 486 #'tests/test_uma.cc', |
| 487 # Activating the URL loader test requires a test httpd that |
| 488 # understands HTTP POST, which our current httpd.py doesn't. |
| 489 # It also requires deactivating the tests that use FileIOTrusted |
| 490 # when running in NaCl. |
| 491 #'tests/test_url_loader.cc', |
| 492 # Does not compile under nacl (uses VarPrivate). |
| 493 #'test_url_util.cc', |
| 494 # Not yet proxied. |
| 495 #'test_video_decoder.cc', |
| 496 'tests/test_var.cc', |
| 497 |
| 498 # Deprecated test cases. |
| 499 #'tests/test_instance_deprecated.cc', |
| 500 # Var_deprecated fails in TestPassReference, and we probably won't |
| 501 # fix it. |
| 502 #'tests/test_var_deprecated.cc' |
| 503 ], |
| 504 }, |
| 505 }, |
| 506 ], |
| 507 }], |
| 508 ], |
417 } | 509 } |
OLD | NEW |