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

Side by Side Diff: chrome/test/data/nacl/nacl_test_data.gyp

Issue 303683005: Add failure case for manifest file testing. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 months 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) 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 662 matching lines...) Expand 10 before | Expand all | Expand 10 after
673 # disabled, but building the binary should work. 673 # disabled, but building the binary should work.
674 # We cannot disable building, as enable_XXX variables are also used 674 # We cannot disable building, as enable_XXX variables are also used
675 # to build newlib linked nexes. 675 # to build newlib linked nexes.
676 'build_pnacl_newlib': 1, 676 'build_pnacl_newlib': 1,
677 'enable_x86_32_nonsfi': 1, 677 'enable_x86_32_nonsfi': 1,
678 }, 678 },
679 }], 679 }],
680 ], 680 ],
681 }, 681 },
682 { 682 {
683 'target_name': 'irt_manifest_file_fail',
684 'type': 'none',
685 'variables': {
686 'nexe_target': 'irt_manifest_file_fail',
687 'build_newlib': 1,
688 # Linking problems - can't find __nacl_irt_query.
689 'build_glibc': 0,
690 # TODO(ncbray) support file injection into PNaCl manifest.
691 'build_pnacl_newlib': 0,
692 'nexe_destination_dir': 'nacl_test_data',
693 'link_flags': [
694 '-lnacl_ppapi_util',
695 '-lppapi_cpp',
696 '-lppapi',
697 '-lsrpc',
698 '-lplatform',
699 '-lgio',
700 '-limc',
701 '-limc_syscalls',
702 '-lweak_ref',
703 '-lnacl',
704 ],
705 'sources': [
706 'manifest_file/irt_manifest_file_fail_test.cc',
707 ],
708 'test_files': [
709 'manifest_file/irt_manifest_file_fail_test.html',
710 ],
711 },
712 'dependencies': [
713 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
714 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib',
715 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
716 '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:srpc_lib',
717 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
718 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
719 '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_lib',
720 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
721 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
722 '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.gyp:weak_ref_lib',
723 'nacl_ppapi_util',
724 ],
725 'conditions': [
726 ['target_arch=="ia32" and OS=="linux"', {
727 # Enable nonsfi testing only on ia32-linux environment.
728 'variables': {
729 # This is needed to build a non-SFI nexe binary.
730 # Note that this triggers building nexe files for other
731 # architectures, such as x86-32 (based on enable_XXX variables).
732 # As described above, although the tests for pnacl are currently
733 # disabled, but building the binary should work.
734 # We cannot disable building, as enable_XXX variables are also used
735 # to build newlib linked nexes.
736 'build_pnacl_newlib': 1,
737 'enable_x86_32_nonsfi': 1,
738 },
739 }],
740 ],
741 },
742 {
683 'target_name': 'irt_exception_test', 743 'target_name': 'irt_exception_test',
684 'type': 'none', 744 'type': 'none',
685 'variables': { 745 'variables': {
686 'nexe_target': 'irt_exception_test', 746 'nexe_target': 'irt_exception_test',
687 'build_newlib': 1, 747 'build_newlib': 1,
688 'generate_nmf': 1, 748 'generate_nmf': 1,
689 'nexe_destination_dir': 'nacl_test_data', 749 'nexe_destination_dir': 'nacl_test_data',
690 'build_pnacl_newlib': 1, 750 'build_pnacl_newlib': 1,
691 'link_flags': [ 751 'link_flags': [
692 '-lppapi', 752 '-lppapi',
(...skipping 512 matching lines...) Expand 10 before | Expand all | Expand 10 after
1205 'files': [ 1265 'files': [
1206 '>@(test_files)', 1266 '>@(test_files)',
1207 ], 1267 ],
1208 }, 1268 },
1209 ], 1269 ],
1210 }, 1270 },
1211 ], 1271 ],
1212 }], 1272 }],
1213 ], 1273 ],
1214 } 1274 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698