OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'includes': [ | 6 'includes': [ |
7 '../../../../ppapi/ppapi_nacl_test_common.gypi', | 7 '../../../../ppapi/ppapi_nacl_test_common.gypi', |
8 ], | 8 ], |
9 'targets': [ | 9 'targets': [ |
10 { | 10 { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 'build_glibc': 1, | 55 'build_glibc': 1, |
56 'build_pnacl_newlib': 1, | 56 'build_pnacl_newlib': 1, |
57 'nexe_destination_dir': 'nacl_test_data', | 57 'nexe_destination_dir': 'nacl_test_data', |
58 'sources': [ | 58 'sources': [ |
59 'simple.cc', | 59 'simple.cc', |
60 ], | 60 ], |
61 'test_files': [ | 61 'test_files': [ |
62 'nacl_load_test.html', | 62 'nacl_load_test.html', |
63 ], | 63 ], |
64 }, | 64 }, |
65 # We only need the pexe for this test. However, build_pnacl_newlib: 1 | |
66 # will also translate that pexe into a nexe, so add the shim | |
67 # just in case of a race condition. | |
68 'dependencies': [ | |
69 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
70 ], | |
71 }, | 65 }, |
72 { | 66 { |
73 'target_name': 'exit_status_test', | 67 'target_name': 'exit_status_test', |
74 'type': 'none', | 68 'type': 'none', |
75 'variables': { | 69 'variables': { |
76 'nexe_target': 'pm_exit_status_test', | 70 'nexe_target': 'pm_exit_status_test', |
77 'build_newlib': 1, | 71 'build_newlib': 1, |
78 'build_glibc': 1, | 72 'build_glibc': 1, |
79 'build_pnacl_newlib': 1, | 73 'build_pnacl_newlib': 1, |
80 'nexe_destination_dir': 'nacl_test_data', | 74 'nexe_destination_dir': 'nacl_test_data', |
81 'sources': [ | 75 'sources': [ |
82 'exit_status/pm_exit_status_test.cc', | 76 'exit_status/pm_exit_status_test.cc', |
83 ], | 77 ], |
84 'test_files': [ | 78 'test_files': [ |
85 'exit_status/pm_exit_status_test.html', | 79 'exit_status/pm_exit_status_test.html', |
86 ], | 80 ], |
87 }, | 81 }, |
88 'dependencies': [ | |
89 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
90 ], | |
91 }, | 82 }, |
92 { | 83 { |
93 'target_name': 'extension_validation_cache', | 84 'target_name': 'extension_validation_cache', |
94 'type': 'none', | 85 'type': 'none', |
95 'variables': { | 86 'variables': { |
96 'nexe_target': 'extension_validation_cache', | 87 'nexe_target': 'extension_validation_cache', |
97 # The test currently only has the test expectations for the | 88 # The test currently only has the test expectations for the |
98 # newlib case (# validation queries/settings), and has also | 89 # newlib case (# validation queries/settings), and has also |
99 # hardcoded the newlib variant's directory path for the unpacked ext. | 90 # hardcoded the newlib variant's directory path for the unpacked ext. |
100 'build_newlib': 1, | 91 'build_newlib': 1, |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 'build_glibc': 1, | 123 'build_glibc': 1, |
133 'build_pnacl_newlib': 1, | 124 'build_pnacl_newlib': 1, |
134 'nexe_destination_dir': 'nacl_test_data', | 125 'nexe_destination_dir': 'nacl_test_data', |
135 'sources': [ | 126 'sources': [ |
136 'sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc', | 127 'sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.cc', |
137 ], | 128 ], |
138 'test_files': [ | 129 'test_files': [ |
139 'sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.html', | 130 'sysconf_nprocessors_onln/sysconf_nprocessors_onln_test.html', |
140 ], | 131 ], |
141 }, | 132 }, |
142 'dependencies': [ | |
143 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
144 ], | |
145 }, | 133 }, |
146 { | 134 { |
147 'target_name': 'ppapi_test_lib', | 135 'target_name': 'ppapi_test_lib', |
148 'type': 'none', | 136 'type': 'none', |
149 'variables': { | 137 'variables': { |
150 'nlib_target': 'libppapi_test_lib.a', | 138 'nlib_target': 'libppapi_test_lib.a', |
151 'nso_target': 'libppapi_test_lib.so', | 139 'nso_target': 'libppapi_test_lib.so', |
152 'build_newlib': 1, | 140 'build_newlib': 1, |
153 'build_glibc': 1, | 141 'build_glibc': 1, |
154 'build_pnacl_newlib': 1, | 142 'build_pnacl_newlib': 1, |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
207 ], | 195 ], |
208 'test_files': [ | 196 'test_files': [ |
209 'progress_events/ppapi_progress_events.html', | 197 'progress_events/ppapi_progress_events.html', |
210 ], | 198 ], |
211 }, | 199 }, |
212 'dependencies': [ | 200 'dependencies': [ |
213 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 201 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
214 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 202 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
215 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 203 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
216 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 204 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
217 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
218 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 205 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
219 'ppapi_test_lib', | 206 'ppapi_test_lib', |
220 ], | 207 ], |
221 }, | 208 }, |
222 { | 209 { |
223 'target_name': 'ppapi_bad_ppp_initialize', | 210 'target_name': 'ppapi_bad_ppp_initialize', |
224 'type': 'none', | 211 'type': 'none', |
225 'variables': { | 212 'variables': { |
226 'nexe_target': 'ppapi_bad_ppp_initialize', | 213 'nexe_target': 'ppapi_bad_ppp_initialize', |
227 'build_newlib': 1, | 214 'build_newlib': 1, |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
386 ], | 373 ], |
387 'sources': [ | 374 'sources': [ |
388 'crash/ppapi_crash_via_check_failure.cc', | 375 'crash/ppapi_crash_via_check_failure.cc', |
389 ], | 376 ], |
390 }, | 377 }, |
391 'dependencies': [ | 378 'dependencies': [ |
392 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 379 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
393 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 380 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
394 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 381 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
395 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 382 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
396 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
397 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 383 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
398 'ppapi_test_lib', | 384 'ppapi_test_lib', |
399 ], | 385 ], |
400 }, | 386 }, |
401 { | 387 { |
402 'target_name': 'ppapi_crash_via_exit_call', | 388 'target_name': 'ppapi_crash_via_exit_call', |
403 'type': 'none', | 389 'type': 'none', |
404 'variables': { | 390 'variables': { |
405 'nexe_target': 'ppapi_crash_via_exit_call', | 391 'nexe_target': 'ppapi_crash_via_exit_call', |
406 'build_newlib': 1, | 392 'build_newlib': 1, |
407 'build_glibc': 1, | 393 'build_glibc': 1, |
408 'build_pnacl_newlib': 1, | 394 'build_pnacl_newlib': 1, |
409 'nexe_destination_dir': 'nacl_test_data', | 395 'nexe_destination_dir': 'nacl_test_data', |
410 'link_flags': [ | 396 'link_flags': [ |
411 '-lppapi', | 397 '-lppapi', |
412 '-lppapi_test_lib', | 398 '-lppapi_test_lib', |
413 '-lplatform', | 399 '-lplatform', |
414 '-lgio', | 400 '-lgio', |
415 ], | 401 ], |
416 'sources': [ | 402 'sources': [ |
417 'crash/ppapi_crash_via_exit_call.cc', | 403 'crash/ppapi_crash_via_exit_call.cc', |
418 ], | 404 ], |
419 }, | 405 }, |
420 'dependencies': [ | 406 'dependencies': [ |
421 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 407 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
422 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 408 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
423 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 409 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
424 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 410 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
425 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
426 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 411 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
427 'ppapi_test_lib', | 412 'ppapi_test_lib', |
428 ], | 413 ], |
429 }, | 414 }, |
430 { | 415 { |
431 'target_name': 'ppapi_crash_in_callback', | 416 'target_name': 'ppapi_crash_in_callback', |
432 'type': 'none', | 417 'type': 'none', |
433 'variables': { | 418 'variables': { |
434 'nexe_target': 'ppapi_crash_in_callback', | 419 'nexe_target': 'ppapi_crash_in_callback', |
435 'build_newlib': 1, | 420 'build_newlib': 1, |
436 'build_glibc': 1, | 421 'build_glibc': 1, |
437 'build_pnacl_newlib': 1, | 422 'build_pnacl_newlib': 1, |
438 'nexe_destination_dir': 'nacl_test_data', | 423 'nexe_destination_dir': 'nacl_test_data', |
439 'link_flags': [ | 424 'link_flags': [ |
440 '-lppapi', | 425 '-lppapi', |
441 '-lppapi_test_lib', | 426 '-lppapi_test_lib', |
442 '-lplatform', | 427 '-lplatform', |
443 '-lgio', | 428 '-lgio', |
444 ], | 429 ], |
445 'sources': [ | 430 'sources': [ |
446 'crash/ppapi_crash_in_callback.cc', | 431 'crash/ppapi_crash_in_callback.cc', |
447 ], | 432 ], |
448 }, | 433 }, |
449 'dependencies': [ | 434 'dependencies': [ |
450 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 435 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
451 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 436 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
452 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 437 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
453 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 438 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
454 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
455 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 439 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
456 'ppapi_test_lib', | 440 'ppapi_test_lib', |
457 ], | 441 ], |
458 }, | 442 }, |
459 { | 443 { |
460 'target_name': 'ppapi_crash_off_main_thread', | 444 'target_name': 'ppapi_crash_off_main_thread', |
461 'type': 'none', | 445 'type': 'none', |
462 'variables': { | 446 'variables': { |
463 'nexe_target': 'ppapi_crash_off_main_thread', | 447 'nexe_target': 'ppapi_crash_off_main_thread', |
464 'build_newlib': 1, | 448 'build_newlib': 1, |
465 'build_glibc': 1, | 449 'build_glibc': 1, |
466 'build_pnacl_newlib': 1, | 450 'build_pnacl_newlib': 1, |
467 'nexe_destination_dir': 'nacl_test_data', | 451 'nexe_destination_dir': 'nacl_test_data', |
468 'link_flags': [ | 452 'link_flags': [ |
469 '-lppapi', | 453 '-lppapi', |
470 '-lppapi_test_lib', | 454 '-lppapi_test_lib', |
471 '-lplatform', | 455 '-lplatform', |
472 '-lgio', | 456 '-lgio', |
473 ], | 457 ], |
474 'sources': [ | 458 'sources': [ |
475 'crash/ppapi_crash_off_main_thread.cc', | 459 'crash/ppapi_crash_off_main_thread.cc', |
476 ], | 460 ], |
477 }, | 461 }, |
478 'dependencies': [ | 462 'dependencies': [ |
479 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 463 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
480 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 464 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
481 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 465 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
482 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 466 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
483 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
484 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 467 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
485 'ppapi_test_lib', | 468 'ppapi_test_lib', |
486 ], | 469 ], |
487 }, | 470 }, |
488 { | 471 { |
489 'target_name': 'ppapi_crash_ppapi_off_main_thread', | 472 'target_name': 'ppapi_crash_ppapi_off_main_thread', |
490 'type': 'none', | 473 'type': 'none', |
491 'variables': { | 474 'variables': { |
492 'nexe_target': 'ppapi_crash_ppapi_off_main_thread', | 475 'nexe_target': 'ppapi_crash_ppapi_off_main_thread', |
493 'build_newlib': 1, | 476 'build_newlib': 1, |
494 'build_glibc': 1, | 477 'build_glibc': 1, |
495 'build_pnacl_newlib': 1, | 478 'build_pnacl_newlib': 1, |
496 'nexe_destination_dir': 'nacl_test_data', | 479 'nexe_destination_dir': 'nacl_test_data', |
497 'link_flags': [ | 480 'link_flags': [ |
498 '-lppapi', | 481 '-lppapi', |
499 '-lppapi_test_lib', | 482 '-lppapi_test_lib', |
500 '-lplatform', | 483 '-lplatform', |
501 '-lgio', | 484 '-lgio', |
502 ], | 485 ], |
503 'sources': [ | 486 'sources': [ |
504 'crash/ppapi_crash_ppapi_off_main_thread.cc', | 487 'crash/ppapi_crash_ppapi_off_main_thread.cc', |
505 ], | 488 ], |
506 }, | 489 }, |
507 'dependencies': [ | 490 'dependencies': [ |
508 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 491 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
509 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 492 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
510 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 493 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
511 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 494 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
512 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
513 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 495 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
514 'ppapi_test_lib', | 496 'ppapi_test_lib', |
515 ], | 497 ], |
516 }, | 498 }, |
517 { | 499 { |
518 'target_name': 'pm_redir_test', | 500 'target_name': 'pm_redir_test', |
519 'type': 'none', | 501 'type': 'none', |
520 'variables': { | 502 'variables': { |
521 'nexe_target': 'pm_redir_test', | 503 'nexe_target': 'pm_redir_test', |
522 'build_newlib': 1, | 504 'build_newlib': 1, |
(...skipping 10 matching lines...) Expand all Loading... |
533 ], | 515 ], |
534 'test_files': [ | 516 'test_files': [ |
535 'postmessage_redir/pm_redir_test.html', | 517 'postmessage_redir/pm_redir_test.html', |
536 ], | 518 ], |
537 }, | 519 }, |
538 'dependencies': [ | 520 'dependencies': [ |
539 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 521 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
540 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 522 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
541 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 523 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
542 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 524 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
543 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
544 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 525 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
545 ], | 526 ], |
546 }, | 527 }, |
547 { | 528 { |
548 'target_name': 'pm_manifest_file', | 529 'target_name': 'pm_manifest_file', |
549 'type': 'none', | 530 'type': 'none', |
550 'variables': { | 531 'variables': { |
551 'nexe_target': 'pm_manifest_file', | 532 'nexe_target': 'pm_manifest_file', |
552 'build_newlib': 1, | 533 'build_newlib': 1, |
553 'build_glibc': 1, | 534 'build_glibc': 1, |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
772 'nameservice/pm_nameservice_test.cc', | 753 'nameservice/pm_nameservice_test.cc', |
773 ], | 754 ], |
774 'test_files': [ | 755 'test_files': [ |
775 'nameservice/pm_nameservice_test.html', | 756 'nameservice/pm_nameservice_test.html', |
776 ], | 757 ], |
777 }, | 758 }, |
778 'dependencies': [ | 759 'dependencies': [ |
779 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 760 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
780 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 761 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
781 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 762 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
782 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
783 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:srpc_lib', | 763 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:srpc_lib', |
784 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 764 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
785 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 765 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
786 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_lib', | 766 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_lib', |
787 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', | 767 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
788 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.gyp:weak_ref_lib', | 768 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.gyp:weak_ref_lib', |
789 'nacl_ppapi_util', | 769 'nacl_ppapi_util', |
790 ], | 770 ], |
791 }, | 771 }, |
792 { | 772 { |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 'ppapi_test_lib', | 805 'ppapi_test_lib', |
826 ], | 806 ], |
827 }, | 807 }, |
828 { | 808 { |
829 'target_name': 'pnacl_debug_url_test', | 809 'target_name': 'pnacl_debug_url_test', |
830 'type': 'none', | 810 'type': 'none', |
831 'variables': { | 811 'variables': { |
832 'nexe_target': 'pnacl_debug_url', | 812 'nexe_target': 'pnacl_debug_url', |
833 'build_pnacl_newlib': 1, | 813 'build_pnacl_newlib': 1, |
834 'nexe_destination_dir': 'nacl_test_data', | 814 'nexe_destination_dir': 'nacl_test_data', |
835 # No need to translate these AOT, when we just need the pexe. | |
836 'enable_x86_32': 0, | |
837 'enable_x86_64': 0, | |
838 'enable_arm': 0, | |
839 'generate_nmf': 0, | 815 'generate_nmf': 0, |
840 'sources': [ | 816 'sources': [ |
841 'simple.cc', | 817 'simple.cc', |
842 ], | 818 ], |
843 'test_files': [ | 819 'test_files': [ |
844 'pnacl_debug_url/pnacl_debug_url.html', | 820 'pnacl_debug_url/pnacl_debug_url.html', |
845 'pnacl_debug_url/pnacl_has_debug.nmf', | 821 'pnacl_debug_url/pnacl_has_debug.nmf', |
846 'pnacl_debug_url/pnacl_has_debug_flag_off.nmf', | 822 'pnacl_debug_url/pnacl_has_debug_flag_off.nmf', |
847 'pnacl_debug_url/pnacl_no_debug.nmf', | 823 'pnacl_debug_url/pnacl_no_debug.nmf', |
848 ], | 824 ], |
849 }, | 825 }, |
850 'dependencies': [ | 826 'dependencies': [ |
851 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 827 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
852 ] | 828 ] |
853 }, | 829 }, |
854 { | 830 { |
855 'target_name': 'pnacl_error_handling_test', | 831 'target_name': 'pnacl_error_handling_test', |
856 'type': 'none', | 832 'type': 'none', |
857 'variables': { | 833 'variables': { |
858 'build_pnacl_newlib': 1, | 834 'build_pnacl_newlib': 1, |
859 'nexe_destination_dir': 'nacl_test_data', | 835 'nexe_destination_dir': 'nacl_test_data', |
860 # No need to translate AOT. | |
861 'enable_x86_32': 0, | |
862 'enable_x86_64': 0, | |
863 'enable_arm': 0, | |
864 # Use prebuilt NMF files. | 836 # Use prebuilt NMF files. |
865 'generate_nmf': 0, | 837 'generate_nmf': 0, |
866 'test_files': [ | 838 'test_files': [ |
867 'pnacl_error_handling/pnacl_error_handling.html', | 839 'pnacl_error_handling/pnacl_error_handling.html', |
868 'pnacl_error_handling/bad.pexe', | 840 'pnacl_error_handling/bad.pexe', |
869 'pnacl_error_handling/pnacl_bad_pexe.nmf', | 841 'pnacl_error_handling/pnacl_bad_pexe.nmf', |
870 'pnacl_error_handling/pnacl_bad_doesnotexist.nmf', | 842 'pnacl_error_handling/pnacl_bad_doesnotexist.nmf', |
871 'pnacl_error_handling/pnacl_illformed_manifest.nmf', | 843 'pnacl_error_handling/pnacl_illformed_manifest.nmf', |
872 ], | 844 ], |
873 }, | 845 }, |
874 'dependencies': [ | 846 'dependencies': [ |
875 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 847 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
876 ] | 848 ] |
877 }, | 849 }, |
878 { | 850 { |
879 'target_name': 'pnacl_mime_type_test', | 851 'target_name': 'pnacl_mime_type_test', |
880 'type': 'none', | 852 'type': 'none', |
881 'variables': { | 853 'variables': { |
882 'build_newlib': 1, | 854 'build_newlib': 1, |
883 'build_glibc': 1, | 855 'build_glibc': 1, |
884 'build_pnacl_newlib': 1, | 856 'build_pnacl_newlib': 1, |
885 'nexe_destination_dir': 'nacl_test_data', | 857 'nexe_destination_dir': 'nacl_test_data', |
886 # No need to translate AOT. | |
887 'enable_x86_32': 0, | |
888 'enable_x86_64': 0, | |
889 'enable_arm': 0, | |
890 'test_files': [ | 858 'test_files': [ |
891 'pnacl_mime_type/pnacl_mime_type.html', | 859 'pnacl_mime_type/pnacl_mime_type.html', |
892 ], | 860 ], |
893 }, | 861 }, |
894 }, | 862 }, |
895 { | 863 { |
896 'target_name': 'pnacl_options_test', | 864 'target_name': 'pnacl_options_test', |
897 'type': 'none', | 865 'type': 'none', |
898 'variables': { | 866 'variables': { |
899 'nexe_target': 'pnacl_options', | 867 'nexe_target': 'pnacl_options', |
900 'build_pnacl_newlib': 1, | 868 'build_pnacl_newlib': 1, |
901 'nexe_destination_dir': 'nacl_test_data', | 869 'nexe_destination_dir': 'nacl_test_data', |
902 # No need to translate these AOT, when we just need the pexe. | |
903 'enable_x86_32': 0, | |
904 'enable_x86_64': 0, | |
905 'enable_arm': 0, | |
906 'generate_nmf': 0, | 870 'generate_nmf': 0, |
907 'sources': [ | 871 'sources': [ |
908 'simple.cc', | 872 'simple.cc', |
909 ], | 873 ], |
910 'test_files': [ | 874 'test_files': [ |
911 'pnacl_nmf_options/pnacl_options.html', | 875 'pnacl_nmf_options/pnacl_options.html', |
912 'pnacl_nmf_options/pnacl_o_0.nmf', | 876 'pnacl_nmf_options/pnacl_o_0.nmf', |
913 'pnacl_nmf_options/pnacl_o_2.nmf', | 877 'pnacl_nmf_options/pnacl_o_2.nmf', |
914 'pnacl_nmf_options/pnacl_o_large.nmf', | 878 'pnacl_nmf_options/pnacl_o_large.nmf', |
915 ], | 879 ], |
916 }, | 880 }, |
917 'dependencies': [ | 881 'dependencies': [ |
918 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 882 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
919 ] | 883 ] |
920 }, | 884 }, |
921 { | 885 { |
922 'target_name': 'pnacl_dyncode_syscall_disabled_test', | 886 'target_name': 'pnacl_dyncode_syscall_disabled_test', |
923 'type': 'none', | 887 'type': 'none', |
924 'variables': { | 888 'variables': { |
925 # This tests that nexes produced by translation in the browser are not | |
926 # able to use the dyncode syscalls. Pre-translated nexes are not | |
927 # subject to this constraint, so we do not test them. | |
928 'enable_x86_32': 0, | |
929 'enable_x86_64': 0, | |
930 'enable_arm': 0, | |
931 'nexe_target': 'pnacl_dyncode_syscall_disabled', | 889 'nexe_target': 'pnacl_dyncode_syscall_disabled', |
932 'build_pnacl_newlib': 1, | 890 'build_pnacl_newlib': 1, |
933 'nexe_destination_dir': 'nacl_test_data', | 891 'nexe_destination_dir': 'nacl_test_data', |
934 'link_flags': [ | 892 'link_flags': [ |
935 '-lppapi', | 893 '-lppapi', |
936 '-lppapi_test_lib', | 894 '-lppapi_test_lib', |
937 '-lplatform', | 895 '-lplatform', |
938 '-lgio', | 896 '-lgio', |
939 # The "_private" variant of the library calls the syscalls | 897 # The "_private" variant of the library calls the syscalls |
940 # directly, which allows us to test the syscalls directly, | 898 # directly, which allows us to test the syscalls directly, |
(...skipping 15 matching lines...) Expand all Loading... |
956 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 914 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
957 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 915 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
958 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 916 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
959 'ppapi_test_lib', | 917 'ppapi_test_lib', |
960 ], | 918 ], |
961 }, | 919 }, |
962 { | 920 { |
963 'target_name': 'pnacl_hw_eh_disabled_test', | 921 'target_name': 'pnacl_hw_eh_disabled_test', |
964 'type': 'none', | 922 'type': 'none', |
965 'variables': { | 923 'variables': { |
966 # This tests that nexes produced by translation in the browser are not | |
967 # able to use hardware exception handling. Pre-translated nexes are | |
968 # not subject to this constraint, so we do not test them. | |
969 'enable_x86_32': 0, | |
970 'enable_x86_64': 0, | |
971 'enable_arm': 0, | |
972 'nexe_target': 'pnacl_hw_eh_disabled', | 924 'nexe_target': 'pnacl_hw_eh_disabled', |
973 'build_pnacl_newlib': 1, | 925 'build_pnacl_newlib': 1, |
974 'nexe_destination_dir': 'nacl_test_data', | 926 'nexe_destination_dir': 'nacl_test_data', |
975 'link_flags': [ | 927 'link_flags': [ |
976 '-lppapi', | 928 '-lppapi', |
977 '-lppapi_test_lib', | 929 '-lppapi_test_lib', |
978 '-lplatform', | 930 '-lplatform', |
979 '-lgio', | 931 '-lgio', |
980 # The "_private" variant of the library calls the syscalls | 932 # The "_private" variant of the library calls the syscalls |
981 # directly, which allows us to test the syscalls directly, | 933 # directly, which allows us to test the syscalls directly, |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1021 ], | 973 ], |
1022 'test_files': [ | 974 'test_files': [ |
1023 'ppapi/ppb_core/ppapi_ppb_core.html', | 975 'ppapi/ppb_core/ppapi_ppb_core.html', |
1024 ], | 976 ], |
1025 }, | 977 }, |
1026 'dependencies': [ | 978 'dependencies': [ |
1027 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 979 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
1028 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 980 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
1029 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 981 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
1030 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 982 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
1031 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
1032 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 983 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
1033 'ppapi_test_lib', | 984 'ppapi_test_lib', |
1034 ], | 985 ], |
1035 }, | 986 }, |
1036 { | 987 { |
1037 'target_name': 'ppapi_ppb_instance', | 988 'target_name': 'ppapi_ppb_instance', |
1038 'type': 'none', | 989 'type': 'none', |
1039 'variables': { | 990 'variables': { |
1040 'nexe_target': 'ppapi_ppb_instance', | 991 'nexe_target': 'ppapi_ppb_instance', |
1041 'build_newlib': 1, | 992 'build_newlib': 1, |
(...skipping 11 matching lines...) Expand all Loading... |
1053 ], | 1004 ], |
1054 'test_files': [ | 1005 'test_files': [ |
1055 'ppapi/ppb_instance/ppapi_ppb_instance.html', | 1006 'ppapi/ppb_instance/ppapi_ppb_instance.html', |
1056 ], | 1007 ], |
1057 }, | 1008 }, |
1058 'dependencies': [ | 1009 'dependencies': [ |
1059 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 1010 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
1060 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 1011 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
1061 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 1012 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
1062 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 1013 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
1063 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
1064 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 1014 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
1065 'ppapi_test_lib', | 1015 'ppapi_test_lib', |
1066 ], | 1016 ], |
1067 }, | 1017 }, |
1068 { | 1018 { |
1069 'target_name': 'ppapi_ppp_instance', | 1019 'target_name': 'ppapi_ppp_instance', |
1070 'type': 'none', | 1020 'type': 'none', |
1071 'variables': { | 1021 'variables': { |
1072 'nexe_target': 'ppapi_ppp_instance', | 1022 'nexe_target': 'ppapi_ppp_instance', |
1073 'build_newlib': 1, | 1023 'build_newlib': 1, |
(...skipping 12 matching lines...) Expand all Loading... |
1086 'test_files': [ | 1036 'test_files': [ |
1087 'ppapi/ppp_instance/ppapi_ppp_instance.html', | 1037 'ppapi/ppp_instance/ppapi_ppp_instance.html', |
1088 'ppapi/ppp_instance/ppapi_ppp_instance.js', | 1038 'ppapi/ppp_instance/ppapi_ppp_instance.js', |
1089 ], | 1039 ], |
1090 }, | 1040 }, |
1091 'dependencies': [ | 1041 'dependencies': [ |
1092 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 1042 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
1093 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 1043 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
1094 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 1044 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
1095 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 1045 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
1096 '<(DEPTH)/ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shi
m.gyp:aot', | |
1097 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 1046 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
1098 'ppapi_test_lib', | 1047 'ppapi_test_lib', |
1099 ], | 1048 ], |
1100 }, | 1049 }, |
1101 ], | 1050 ], |
1102 'conditions': [ | 1051 'conditions': [ |
1103 ['target_arch!="arm"', { | 1052 ['target_arch!="arm"', { |
1104 # Source file does not have asm for ARM. | 1053 # Source file does not have asm for ARM. |
1105 'targets': [ | 1054 'targets': [ |
1106 { | 1055 { |
(...skipping 147 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1254 'files': [ | 1203 'files': [ |
1255 '>@(test_files)', | 1204 '>@(test_files)', |
1256 ], | 1205 ], |
1257 }, | 1206 }, |
1258 ], | 1207 ], |
1259 }, | 1208 }, |
1260 ], | 1209 ], |
1261 }], | 1210 }], |
1262 ], | 1211 ], |
1263 } | 1212 } |
OLD | NEW |