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 'conditions': [ | |
| 405 ['disable_pnacl==0 and target_arch=="ia32" and OS=="linux"', { | |
|
Mark Seaborn
2014/04/25 15:42:02
Only the "enable_x86_32_nonsfi" part should be con
Junichi Uekawa
2014/04/25 22:13:53
The things here are only necessary for nonsfi, bec
| |
| 406 'variables': { | |
|
Mark Seaborn
2014/04/25 15:42:02
This block should be indented by 2 more spaces rel
Junichi Uekawa
2014/04/25 22:13:53
Done.
| |
| 407 'build_pnacl_newlib': 1, | |
| 408 'enable_x86_32_nonsfi': 1, | |
| 409 'destination_dir': '<(PRODUCT_DIR)/>(nexe_destination_dir)/nonsfi', | |
|
Mark Seaborn
2014/04/25 15:42:02
Can you omit this destination_dir setting for cons
Junichi Uekawa
2014/04/25 22:13:53
I can call it something else, but we need this for
| |
| 410 'out_pnacl_newlib_x86_32_nonsfi_nexe': '>(destination_dir)/irt_excepti on_test_pnacl_newlib_x32_nonsfi.nexe', | |
| 411 # Files specifically for NonSFI NaCl. nmf file is hand-crafted | |
| 412 # until generate_nmf learns about NonSFI case. | |
| 413 'nonsfi_test_files': [ | |
|
Mark Seaborn
2014/04/25 15:42:02
Does it work to just set "test_files", for consist
Junichi Uekawa
2014/04/25 22:13:53
test_files is already set and used and confuses th
| |
| 414 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
| 415 # converted. | |
| 416 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/naclt est.js', | |
| 417 'irt_exception/irt_exception_test.html', | |
| 418 'irt_exception/irt_exception_test.nmf', | |
| 419 ], | |
| 420 }, | |
| 421 'copies': [ | |
|
Mark Seaborn
2014/04/25 15:42:02
ppapi_nacl.gyp doesn't have a "copies" step so I t
Junichi Uekawa
2014/04/25 22:13:53
ppapi_nacl.gyp dumps files under out/Debug
here w
| |
| 422 { | |
| 423 'destination': '>(destination_dir)', | |
| 424 'files': [ | |
| 425 '>@(nonsfi_test_files)', | |
| 426 ], | |
| 427 }, | |
| 428 ], | |
| 429 }], | |
| 430 ], | |
| 431 }, | |
| 432 { | |
| 371 'target_name': 'ppapi_crash_in_callback', | 433 'target_name': 'ppapi_crash_in_callback', |
| 372 'type': 'none', | 434 'type': 'none', |
| 373 'variables': { | 435 'variables': { |
| 374 'nexe_target': 'ppapi_crash_in_callback', | 436 'nexe_target': 'ppapi_crash_in_callback', |
| 375 'build_newlib': 1, | 437 'build_newlib': 1, |
| 376 'build_glibc': 1, | 438 'build_glibc': 1, |
| 377 'build_pnacl_newlib': 1, | 439 'build_pnacl_newlib': 1, |
| 378 'nexe_destination_dir': 'nacl_test_data', | 440 'nexe_destination_dir': 'nacl_test_data', |
| 379 'link_flags': [ | 441 'link_flags': [ |
| 380 '-lppapi', | 442 '-lppapi', |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1101 'files': [ | 1163 'files': [ |
| 1102 '>@(test_files)', | 1164 '>@(test_files)', |
| 1103 ], | 1165 ], |
| 1104 }, | 1166 }, |
| 1105 ], | 1167 ], |
| 1106 }, | 1168 }, |
| 1107 ], | 1169 ], |
| 1108 }], | 1170 }], |
| 1109 ], | 1171 ], |
| 1110 } | 1172 } |
| OLD | NEW |