| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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("//testing/test.gni") | 5 import("//testing/test.gni") |
| 6 | 6 |
| 7 declare_args() { | 7 declare_args() { |
| 8 internal_khronos_glcts_tests = false | 8 internal_khronos_glcts_tests = false |
| 9 } | 9 } |
| 10 | 10 |
| (...skipping 522 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 533 configs += [ ":defaults_config" ] | 533 configs += [ ":defaults_config" ] |
| 534 configs -= [ "//build/config/compiler:chromium_code" ] | 534 configs -= [ "//build/config/compiler:chromium_code" ] |
| 535 configs += [ "//build/config/compiler:no_chromium_code" ] | 535 configs += [ "//build/config/compiler:no_chromium_code" ] |
| 536 | 536 |
| 537 if (is_linux) { | 537 if (is_linux) { |
| 538 configs -= [ "//build/config/gcc:no_exceptions" ] | 538 configs -= [ "//build/config/gcc:no_exceptions" ] |
| 539 } | 539 } |
| 540 } | 540 } |
| 541 } | 541 } |
| 542 | 542 |
| 543 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_te
st | 543 if (!is_android) { |
| 544 test("khronos_glcts_test") { | 544 # GYP version: gpu/khronos_glcts_support/khronos_glcts_test.gyp:khronos_glcts_
test |
| 545 sources = [ | 545 test("khronos_glcts_test") { |
| 546 "khronos_glcts_test.cc", | 546 sources = [ |
| 547 ] | 547 "khronos_glcts_test.cc", |
| 548 ] |
| 548 | 549 |
| 549 deps = [ | 550 deps = [ |
| 550 "//base", | 551 "//base", |
| 551 "//gpu", | 552 "//gpu", |
| 552 "//testing/gtest", | 553 "//testing/gtest", |
| 553 ] | 554 ] |
| 554 | 555 |
| 555 data = [ | 556 data = [ |
| 556 "khronos_glcts_test_expectations.txt", | 557 "khronos_glcts_test_expectations.txt", |
| 557 ] | 558 ] |
| 558 | 559 |
| 559 if (internal_khronos_glcts_tests) { | 560 if (internal_khronos_glcts_tests) { |
| 560 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] | 561 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] |
| 561 deps += [ | 562 deps += [ |
| 562 ":generate_khronos_glcts_tests", | 563 ":generate_khronos_glcts_tests", |
| 563 ":khronos_glcts_test_windowless", | 564 ":khronos_glcts_test_windowless", |
| 564 ] | 565 ] |
| 566 } |
| 565 } | 567 } |
| 566 } | 568 } |
| OLD | NEW |