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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 'dependencies': [ | 361 'dependencies': [ |
362 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | 362 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
363 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | 363 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
364 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | 364 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
365 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | 365 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
366 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | 366 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
367 'ppapi_test_lib', | 367 'ppapi_test_lib', |
368 ], | 368 ], |
369 }, | 369 }, |
370 { | 370 { |
| 371 'target_name': 'nonsfi_crash_via_signal_handler', |
| 372 'type': 'none', |
| 373 'variables': { |
| 374 'destination_dir': '<(PRODUCT_DIR)/>(nexe_destination_dir)/nonsfi', |
| 375 'nexe_target': 'nonsfi_crash_via_signal_handler', |
| 376 'out_pnacl_newlib_x86_32_nonsfi_nexe': '>(destination_dir)/nonsfi_crash_
via_signal_handler_pnacl_newlib_x32_nonsfi.nexe', |
| 377 'enable_x86_32': 0, |
| 378 'enable_x86_64': 0, |
| 379 # Build pexe with newlib and then convert to nexe. |
| 380 'enable_x86_32_nonsfi': 1, |
| 381 'build_pnacl_newlib': 1, |
| 382 # Use a pre-prepared nmf file. |
| 383 # create_nmf.py needs to be updated to support nonsfi target. |
| 384 'generate_nmf': 0, |
| 385 'nexe_destination_dir': 'nacl_test_data', |
| 386 'link_flags': [ |
| 387 '-lppapi', |
| 388 '-lppapi_test_lib', |
| 389 '-lplatform', |
| 390 '-lgio', |
| 391 '-lnacl_exception', |
| 392 ], |
| 393 'sources': [ |
| 394 'crash/nonsfi_crash_via_signal_handler.cc', |
| 395 ], |
| 396 # TODO(uekawa): test_files get |
| 397 # copied into nacl_test_data/pnacl/*, fix them. |
| 398 'nonsfi_test_files': [ |
| 399 # TODO(ncbray) move into chrome/test/data/nacl when all tests are |
| 400 # converted. |
| 401 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltes
t.js', |
| 402 'crash/nonsfi_crash_via_signal_handler.html', |
| 403 'crash/nonsfi_crash_via_signal_handler.nmf', |
| 404 ], |
| 405 }, |
| 406 'dependencies': [ |
| 407 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', |
| 408 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', |
| 409 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', |
| 410 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_exception_lib', |
| 411 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', |
| 412 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', |
| 413 'ppapi_test_lib', |
| 414 ], |
| 415 'copies': [ |
| 416 { |
| 417 'destination': '>(destination_dir)', |
| 418 'files': [ |
| 419 '>@(nonsfi_test_files)', |
| 420 ], |
| 421 }, |
| 422 ], |
| 423 }, |
| 424 { |
371 'target_name': 'ppapi_crash_in_callback', | 425 'target_name': 'ppapi_crash_in_callback', |
372 'type': 'none', | 426 'type': 'none', |
373 'variables': { | 427 'variables': { |
374 'nexe_target': 'ppapi_crash_in_callback', | 428 'nexe_target': 'ppapi_crash_in_callback', |
375 'build_newlib': 1, | 429 'build_newlib': 1, |
376 'build_glibc': 1, | 430 'build_glibc': 1, |
377 'build_pnacl_newlib': 1, | 431 'build_pnacl_newlib': 1, |
378 'nexe_destination_dir': 'nacl_test_data', | 432 'nexe_destination_dir': 'nacl_test_data', |
379 'link_flags': [ | 433 'link_flags': [ |
380 '-lppapi', | 434 '-lppapi', |
(...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1101 'files': [ | 1155 'files': [ |
1102 '>@(test_files)', | 1156 '>@(test_files)', |
1103 ], | 1157 ], |
1104 }, | 1158 }, |
1105 ], | 1159 ], |
1106 }, | 1160 }, |
1107 ], | 1161 ], |
1108 }], | 1162 }], |
1109 ], | 1163 ], |
1110 } | 1164 } |
OLD | NEW |