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

Unified 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, 7 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 side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/nacl/nacl_test_data.gyp
diff --git a/chrome/test/data/nacl/nacl_test_data.gyp b/chrome/test/data/nacl/nacl_test_data.gyp
index 8ee3033731797edbddd97d604c7260186138d242..c8dc78e0b1703bf451e510919d52a51a98cce0b0 100644
--- a/chrome/test/data/nacl/nacl_test_data.gyp
+++ b/chrome/test/data/nacl/nacl_test_data.gyp
@@ -680,6 +680,66 @@
],
},
{
+ 'target_name': 'irt_manifest_file_fail',
+ 'type': 'none',
+ 'variables': {
+ 'nexe_target': 'irt_manifest_file_fail',
+ 'build_newlib': 1,
+ # Linking problems - can't find __nacl_irt_query.
+ 'build_glibc': 0,
+ # TODO(ncbray) support file injection into PNaCl manifest.
+ 'build_pnacl_newlib': 0,
+ 'nexe_destination_dir': 'nacl_test_data',
+ 'link_flags': [
+ '-lnacl_ppapi_util',
+ '-lppapi_cpp',
+ '-lppapi',
+ '-lsrpc',
+ '-lplatform',
+ '-lgio',
+ '-limc',
+ '-limc_syscalls',
+ '-lweak_ref',
+ '-lnacl',
+ ],
+ 'sources': [
+ 'manifest_file/irt_manifest_file_fail_test.cc',
+ ],
+ 'test_files': [
+ 'manifest_file/irt_manifest_file_fail_test.html',
+ ],
+ },
+ 'dependencies': [
+ '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
+ '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib',
+ '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib',
+ '<(DEPTH)/native_client/src/shared/srpc/srpc.gyp:srpc_lib',
+ '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib',
+ '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib',
+ '<(DEPTH)/native_client/src/shared/imc/imc.gyp:imc_lib',
+ '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
+ '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_lib',
+ '<(DEPTH)/native_client/src/trusted/weak_ref/weak_ref.gyp:weak_ref_lib',
+ 'nacl_ppapi_util',
+ ],
+ 'conditions': [
+ ['target_arch=="ia32" and OS=="linux"', {
+ # Enable nonsfi testing only on ia32-linux environment.
+ 'variables': {
+ # This is needed to build a non-SFI nexe binary.
+ # Note that this triggers building nexe files for other
+ # architectures, such as x86-32 (based on enable_XXX variables).
+ # As described above, although the tests for pnacl are currently
+ # disabled, but building the binary should work.
+ # We cannot disable building, as enable_XXX variables are also used
+ # to build newlib linked nexes.
+ 'build_pnacl_newlib': 1,
+ 'enable_x86_32_nonsfi': 1,
+ },
+ }],
+ ],
+ },
+ {
'target_name': 'irt_exception_test',
'type': 'none',
'variables': {

Powered by Google App Engine
This is Rietveld 408576698