| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
| 6 import("//build/config/nacl/config.gni") | 6 import("//build/config/nacl/config.gni") |
| 7 import("//build/config/nacl/rules.gni") | 7 import("//build/config/nacl/rules.gni") |
| 8 import("//ppapi/features/features.gni") | 8 import("//ppapi/features/features.gni") |
| 9 import("//testing/test.gni") | 9 import("//testing/test.gni") |
| 10 if (is_mac) { | 10 if (is_mac) { |
| (...skipping 422 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 433 | 433 |
| 434 if (is_nacl) { | 434 if (is_nacl) { |
| 435 nacl_test_data("ppapi_nacl_tests") { | 435 nacl_test_data("ppapi_nacl_tests") { |
| 436 include_dirs = [ "lib/gl/include" ] | 436 include_dirs = [ "lib/gl/include" ] |
| 437 sources = test_common_source_files | 437 sources = test_common_source_files |
| 438 | 438 |
| 439 sources += [ | 439 sources += [ |
| 440 "tests/test_nacl_irt_stack_alignment.cc", | 440 "tests/test_nacl_irt_stack_alignment.cc", |
| 441 "tests/test_nacl_irt_stack_alignment.h", | 441 "tests/test_nacl_irt_stack_alignment.h", |
| 442 "tests/test_tcp_server_socket_private_disallowed.cc", | 442 "tests/test_tcp_server_socket_private_disallowed.cc", |
| 443 "tests/test_tcp_server_socket_private_disallowed.h", |
| 443 "tests/test_tcp_socket_private_disallowed.cc", | 444 "tests/test_tcp_socket_private_disallowed.cc", |
| 445 "tests/test_tcp_socket_private_disallowed.h", |
| 444 "tests/test_udp_socket_private_disallowed.cc", | 446 "tests/test_udp_socket_private_disallowed.cc", |
| 447 "tests/test_udp_socket_private_disallowed.h", |
| 445 ] | 448 ] |
| 446 | 449 |
| 447 defines = [ | 450 defines = [ |
| 448 "GL_GLEXT_PROTOTYPES", | 451 "GL_GLEXT_PROTOTYPES", |
| 449 "PPAPI_TEST_IMPLEMENTATION", | 452 "PPAPI_TEST_IMPLEMENTATION", |
| 450 ] | 453 ] |
| 451 deps = [ | 454 deps = [ |
| 452 "//ppapi/cpp", | 455 "//ppapi/cpp", |
| 453 ] | 456 ] |
| 454 if (current_cpu == "pnacl") { | 457 if (current_cpu == "pnacl") { |
| (...skipping 13 matching lines...) Expand all Loading... |
| 468 data_deps += | 471 data_deps += |
| 469 [ ":ppapi_nacl_tests(//build/toolchain/nacl:glibc_${target_cpu})" ] | 472 [ ":ppapi_nacl_tests(//build/toolchain/nacl:glibc_${target_cpu})" ] |
| 470 } | 473 } |
| 471 | 474 |
| 472 if (is_linux && enable_nacl_nonsfi) { | 475 if (is_linux && enable_nacl_nonsfi) { |
| 473 data_deps += | 476 data_deps += |
| 474 [ ":ppapi_nacl_tests(//build/toolchain/nacl:newlib_pnacl_nonsfi)" ] | 477 [ ":ppapi_nacl_tests(//build/toolchain/nacl:newlib_pnacl_nonsfi)" ] |
| 475 } | 478 } |
| 476 } | 479 } |
| 477 } | 480 } |
| OLD | NEW |