Chromium Code Reviews| 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': 'irt_exception_test', | |
| 372 'type': 'none', | |
| 373 'variables': { | |
| 374 'nexe_target': 'irt_exception_test', | |
| 375 'build_newlib': 1, | |
| 376 'generate_nmf': 1, | |
| 377 'nexe_destination_dir': 'nacl_test_data', | |
| 378 'link_flags': [ | |
| 379 '-lppapi', | |
| 380 '-lppapi_test_lib', | |
| 381 '-lplatform', | |
| 382 '-lgio', | |
| 383 '-lnacl_exception', | |
| 384 ], | |
| 385 'sources': [ | |
| 386 'irt_exception/irt_exception_test.cc', | |
| 387 ], | |
| 388 'test_files': [ | |
| 389 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
| 390 # converted. | |
| 391 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltes t.js', | |
| 392 'irt_exception/irt_exception_test.html', | |
| 393 ], | |
| 394 }, | |
| 395 'dependencies': [ | |
| 396 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
| 397 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | |
| 398 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | |
| 399 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_exception_lib', | |
| 400 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | |
| 401 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | |
| 402 'ppapi_test_lib', | |
| 403 ], | |
| 404 }, | |
| 405 { | |
| 406 # TODO(uekawa): Because of nmf file, NonSFI and SFI gyp configs don't mix, or do they? | |
|
Mark Seaborn
2014/04/24 23:39:28
I think they can be mixed.
Have a look at Hidehik
Junichi Uekawa
2014/04/25 01:06:10
Done.
| |
| 407 'target_name': 'irt_exception_test_nonsfi', | |
| 408 'type': 'none', | |
| 409 'variables': { | |
| 410 'destination_dir': '<(PRODUCT_DIR)/>(nexe_destination_dir)/nonsfi', | |
| 411 'nexe_target': 'irt_exception_test', | |
| 412 'out_pnacl_newlib_x86_32_nonsfi_nexe': '>(destination_dir)/irt_exception _test_pnacl_newlib_x32_nonsfi.nexe', | |
| 413 'enable_x86_32': 0, | |
| 414 'enable_x86_64': 0, | |
| 415 # Build pexe with newlib and then convert to nexe. | |
| 416 'enable_x86_32_nonsfi': 1, | |
|
Mark Seaborn
2014/04/24 23:39:28
This should ideally be conditionalised as in https
Junichi Uekawa
2014/04/25 01:06:10
Done.
| |
| 417 'build_pnacl_newlib': 1, | |
| 418 # Use a pre-prepared nmf file. | |
| 419 # create_nmf.py needs to be updated to support nonsfi target. | |
| 420 'generate_nmf': 0, | |
| 421 'nexe_destination_dir': 'nacl_test_data', | |
| 422 'link_flags': [ | |
| 423 '-lppapi', | |
| 424 '-lppapi_test_lib', | |
| 425 '-lplatform', | |
| 426 '-lgio', | |
| 427 '-lnacl_exception', | |
| 428 ], | |
| 429 'sources': [ | |
| 430 'irt_exception/irt_exception_test.cc', | |
| 431 ], | |
| 432 # TODO(uekawa): test_files get | |
| 433 # copied into nacl_test_data/pnacl/*, fix them. | |
| 434 'nonsfi_test_files': [ | |
| 435 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
| 436 # converted. | |
| 437 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nacltes t.js', | |
| 438 'irt_exception/irt_exception_test.html', | |
| 439 'irt_exception/irt_exception_test.nmf', | |
| 440 ], | |
| 441 }, | |
| 442 'dependencies': [ | |
| 443 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
| 444 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | |
| 445 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | |
| 446 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_exception_lib', | |
| 447 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | |
| 448 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | |
| 449 'ppapi_test_lib', | |
| 450 ], | |
| 451 'copies': [ | |
| 452 { | |
| 453 'destination': '>(destination_dir)', | |
| 454 'files': [ | |
| 455 '>@(nonsfi_test_files)', | |
| 456 ], | |
| 457 }, | |
| 458 ], | |
| 459 }, | |
| 460 { | |
| 371 'target_name': 'ppapi_crash_in_callback', | 461 'target_name': 'ppapi_crash_in_callback', |
| 372 'type': 'none', | 462 'type': 'none', |
| 373 'variables': { | 463 'variables': { |
| 374 'nexe_target': 'ppapi_crash_in_callback', | 464 'nexe_target': 'ppapi_crash_in_callback', |
| 375 'build_newlib': 1, | 465 'build_newlib': 1, |
| 376 'build_glibc': 1, | 466 'build_glibc': 1, |
| 377 'build_pnacl_newlib': 1, | 467 'build_pnacl_newlib': 1, |
| 378 'nexe_destination_dir': 'nacl_test_data', | 468 'nexe_destination_dir': 'nacl_test_data', |
| 379 'link_flags': [ | 469 'link_flags': [ |
| 380 '-lppapi', | 470 '-lppapi', |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1101 'files': [ | 1191 'files': [ |
| 1102 '>@(test_files)', | 1192 '>@(test_files)', |
| 1103 ], | 1193 ], |
| 1104 }, | 1194 }, |
| 1105 ], | 1195 ], |
| 1106 }, | 1196 }, |
| 1107 ], | 1197 ], |
| 1108 }], | 1198 }], |
| 1109 ], | 1199 ], |
| 1110 } | 1200 } |
| OLD | NEW |