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 601 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
612 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 612 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
613 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 613 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
614 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_lib', | 614 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_lib', |
615 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', | 615 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', |
616 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib', | 616 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib', |
617 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.gyp:weak_ref_lib', | 617 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.gyp:weak_ref_lib', |
618 'nacl_ppapi_util', | 618 'nacl_ppapi_util', |
619 ], | 619 ], |
620 }, | 620 }, |
621 { | 621 { |
622 'target_name': 'irt_exception_test', | |
623 'type': 'none', | |
624 'variables': { | |
625 'nexe_target': 'irt_exception_test', | |
626 'build_newlib': 1, | |
627 'generate_nmf': 1, | |
628 'nexe_destination_dir': 'nacl_test_data', | |
629 'build_pnacl_newlib': 1, | |
630 'nonsfi_destination_dir': '<(PRODUCT_DIR)/>(nexe_destination_dir)/nonsfi
', | |
631 # Workaround because generate_nmf doesn't work yet for NonSFI, | |
632 # explicitly specify the destination directory for NonSFI so | |
633 # that we don't have to move it around. | |
634 'out_pnacl_newlib_x86_32_nonsfi_nexe': '>(nonsfi_destination_dir)/irt_ex
ception_test_pnacl_newlib_x32_nonsfi.nexe', | |
635 'link_flags': [ | |
636 '-lppapi', | |
637 '-lppapi_test_lib', | |
638 '-lplatform', | |
639 '-lgio', | |
640 '-lnacl_exception', | |
641 ], | |
642 'sources': [ | |
643 'irt_exception/irt_exception_test.cc', | |
644 ], | |
645 'test_files': [ | |
646 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
647 # converted. | |
648 'irt_exception/irt_exception_test.html', | |
649 ], | |
650 }, | |
651 'dependencies': [ | |
652 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
653 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | |
654 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | |
655 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_exception_lib', | |
656 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | |
657 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | |
658 'ppapi_test_lib', | |
659 ], | |
660 'conditions': [ | |
661 ['disable_pnacl==0 and target_arch=="ia32" and OS=="linux"', { | |
662 'variables': { | |
663 'enable_x86_32_nonsfi': 1, | |
664 # Files specifically for NonSFI NaCl. nmf file is | |
665 # hand-crafted until generate_nmf learns about NonSFI | |
666 # case, and generate_nmf is the one who usually copies | |
667 # those files. | |
668 'nonsfi_test_files': [ | |
669 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
670 # converted. | |
671 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nac
ltest.js', | |
672 'irt_exception/irt_exception_test.html', | |
673 'irt_exception/irt_exception_test.nmf', | |
674 ], | |
675 }, | |
676 'copies': [ | |
677 { | |
678 'destination': '>(nonsfi_destination_dir)', | |
679 'files': [ | |
680 '>@(nonsfi_test_files)', | |
681 ], | |
682 }, | |
683 ], | |
684 }], | |
685 ], | |
686 }, | |
687 { | |
688 'target_name': 'pm_nameservice_test', | 622 'target_name': 'pm_nameservice_test', |
689 'type': 'none', | 623 'type': 'none', |
690 'variables': { | 624 'variables': { |
691 'nexe_target': 'pm_nameservice_test', | 625 'nexe_target': 'pm_nameservice_test', |
692 'build_newlib': 1, | 626 'build_newlib': 1, |
693 'build_glibc': 1, | 627 'build_glibc': 1, |
694 'build_pnacl_newlib': 1, | 628 'build_pnacl_newlib': 1, |
695 'nexe_destination_dir': 'nacl_test_data', | 629 'nexe_destination_dir': 'nacl_test_data', |
696 'link_flags': [ | 630 'link_flags': [ |
697 '-lnacl_ppapi_util', | 631 '-lnacl_ppapi_util', |
(...skipping 469 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1167 'files': [ | 1101 'files': [ |
1168 '>@(test_files)', | 1102 '>@(test_files)', |
1169 ], | 1103 ], |
1170 }, | 1104 }, |
1171 ], | 1105 ], |
1172 }, | 1106 }, |
1173 ], | 1107 ], |
1174 }], | 1108 }], |
1175 ], | 1109 ], |
1176 } | 1110 } |
OLD | NEW |