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 declare_args() { | 5 declare_args() { |
6 # Set to true to compile with the OpenGL ES 2.0 conformance tests. | 6 # Set to true to compile with the OpenGL ES 2.0 conformance tests. |
7 internal_gles2_conform_tests = false | 7 internal_gles2_conform_tests = false |
8 } | 8 } |
9 | 9 |
10 config("gles2_conform_test_warnings") { | 10 config("gles2_conform_test_warnings") { |
(...skipping 452 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
463 # ], | 463 # ], |
464 # }], | 464 # }], |
465 # ], | 465 # ], |
466 # }, | 466 # }, |
467 } | 467 } |
468 } | 468 } |
469 | 469 |
470 test("gles2_conform_test") { | 470 test("gles2_conform_test") { |
471 sources = [ | 471 sources = [ |
472 "gles2_conform_test.cc", | 472 "gles2_conform_test.cc", |
| 473 "gles2_conform_test.h", |
473 ] | 474 ] |
474 deps = [ | 475 deps = [ |
475 "//base", | 476 "//base", |
476 "//base/test:test_support", | 477 "//base/test:test_support", |
477 "//gpu/config", | 478 "//gpu/config", |
478 "//testing/gtest", | 479 "//testing/gtest", |
479 ] | 480 ] |
480 | 481 |
481 data = [ | 482 data = [ |
482 "gles2_conform_test_expectations.txt", | 483 "gles2_conform_test_expectations.txt", |
483 ] | 484 ] |
484 | 485 |
485 if (internal_gles2_conform_tests) { | 486 if (internal_gles2_conform_tests) { |
486 data_deps = [ | 487 data_deps = [ |
487 ":gles2_conform_test_windowless", | 488 ":gles2_conform_test_windowless", |
488 ] | 489 ] |
489 deps += [ ":generate_gles2_conform_tests" ] | 490 deps += [ ":generate_gles2_conform_tests" ] |
490 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] | 491 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] |
491 data += [ "//third_party/gles2_conform/GTF_ES/" ] | 492 data += [ "//third_party/gles2_conform/GTF_ES/" ] |
492 } | 493 } |
493 } | 494 } |
OLD | NEW |