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', | |
|
Mark Seaborn
2014/04/25 22:51:34
Nit about ordering: Putting this in the middle of
Junichi Uekawa
2014/04/25 23:11:25
Done.
| |
| 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 'build_pnacl_newlib': 1, | |
| 379 'nonsfi_destination_dir': '<(PRODUCT_DIR)/>(nexe_destination_dir)/nonsfi ', | |
| 380 # Workaround because generate_nmf doesn't work yet for NonSFI, | |
| 381 # explicitly specify the destination directory for NonSFI so | |
| 382 # that we don't have to move it around. | |
| 383 'out_pnacl_newlib_x86_32_nonsfi_nexe': '>(nonsfi_destination_dir)/irt_ex ception_test_pnacl_newlib_x32_nonsfi.nexe', | |
| 384 'link_flags': [ | |
| 385 '-lppapi', | |
| 386 '-lppapi_test_lib', | |
| 387 '-lplatform', | |
| 388 '-lgio', | |
| 389 '-lnacl_exception', | |
| 390 ], | |
| 391 'sources': [ | |
| 392 'irt_exception/irt_exception_test.cc', | |
| 393 ], | |
| 394 'test_files': [ | |
| 395 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
| 396 # converted. | |
| 397 'irt_exception/irt_exception_test.html', | |
| 398 ], | |
| 399 }, | |
| 400 'dependencies': [ | |
| 401 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', | |
| 402 '<(DEPTH)/native_client/src/shared/platform/platform.gyp:platform_lib', | |
| 403 '<(DEPTH)/native_client/src/shared/gio/gio.gyp:gio_lib', | |
| 404 '<(DEPTH)/native_client/src/untrusted/nacl/nacl.gyp:nacl_exception_lib', | |
| 405 '<(DEPTH)/ppapi/native_client/native_client.gyp:ppapi_lib', | |
| 406 '<(DEPTH)/ppapi/ppapi_nacl.gyp:ppapi_cpp_lib', | |
| 407 'ppapi_test_lib', | |
| 408 ], | |
| 409 'conditions': [ | |
| 410 ['disable_pnacl==0 and target_arch=="ia32" and OS=="linux"', { | |
| 411 'variables': { | |
| 412 'enable_x86_32_nonsfi': 1, | |
| 413 # Files specifically for NonSFI NaCl. nmf file is | |
| 414 # hand-crafted until generate_nmf learns about NonSFI | |
| 415 # case, and generate_nmf is the one who usually copies | |
| 416 # those files. | |
| 417 'nonsfi_test_files': [ | |
| 418 # TODO(ncbray) move into chrome/test/data/nacl when all tests are | |
| 419 # converted. | |
| 420 '<(DEPTH)/ppapi/native_client/tools/browser_tester/browserdata/nac ltest.js', | |
| 421 'irt_exception/irt_exception_test.html', | |
| 422 'irt_exception/irt_exception_test.nmf', | |
| 423 ], | |
| 424 }, | |
| 425 'copies': [ | |
| 426 { | |
| 427 'destination': '>(nonsfi_destination_dir)', | |
| 428 'files': [ | |
| 429 '>@(nonsfi_test_files)', | |
| 430 ], | |
| 431 }, | |
| 432 ], | |
| 433 }], | |
| 434 ], | |
| 435 }, | |
| 436 { | |
| 371 'target_name': 'ppapi_crash_in_callback', | 437 'target_name': 'ppapi_crash_in_callback', |
| 372 'type': 'none', | 438 'type': 'none', |
| 373 'variables': { | 439 'variables': { |
| 374 'nexe_target': 'ppapi_crash_in_callback', | 440 'nexe_target': 'ppapi_crash_in_callback', |
| 375 'build_newlib': 1, | 441 'build_newlib': 1, |
| 376 'build_glibc': 1, | 442 'build_glibc': 1, |
| 377 'build_pnacl_newlib': 1, | 443 'build_pnacl_newlib': 1, |
| 378 'nexe_destination_dir': 'nacl_test_data', | 444 'nexe_destination_dir': 'nacl_test_data', |
| 379 'link_flags': [ | 445 'link_flags': [ |
| 380 '-lppapi', | 446 '-lppapi', |
| (...skipping 720 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1101 'files': [ | 1167 'files': [ |
| 1102 '>@(test_files)', | 1168 '>@(test_files)', |
| 1103 ], | 1169 ], |
| 1104 }, | 1170 }, |
| 1105 ], | 1171 ], |
| 1106 }, | 1172 }, |
| 1107 ], | 1173 ], |
| 1108 }], | 1174 }], |
| 1109 ], | 1175 ], |
| 1110 } | 1176 } |
| OLD | NEW |