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 940 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
951 if (is_linux) { | 951 if (is_linux) { |
952 configs -= [ "//build/config/gcc:no_exceptions" ] | 952 configs -= [ "//build/config/gcc:no_exceptions" ] |
953 } | 953 } |
954 } | 954 } |
955 } | 955 } |
956 | 956 |
957 if (!is_android) { | 957 if (!is_android) { |
958 test("khronos_glcts_test") { | 958 test("khronos_glcts_test") { |
959 sources = [ | 959 sources = [ |
960 "khronos_glcts_test.cc", | 960 "khronos_glcts_test.cc", |
| 961 "khronos_glcts_test.h", |
961 ] | 962 ] |
962 | 963 |
963 deps = [ | 964 deps = [ |
964 "//base", | 965 "//base", |
965 "//gpu", | 966 "//gpu", |
966 "//testing/gtest", | 967 "//testing/gtest", |
967 ] | 968 ] |
968 | 969 |
969 data = [ | 970 data = [ |
970 "khronos_glcts_test_expectations.txt", | 971 "khronos_glcts_test_expectations.txt", |
971 ] | 972 ] |
972 | 973 |
973 if (internal_khronos_glcts_tests) { | 974 if (internal_khronos_glcts_tests) { |
974 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] | 975 sources += [ "$target_gen_dir/khronos_glcts_test_autogen.cc" ] |
975 deps += [ | 976 deps += [ |
976 ":generate_khronos_glcts_tests", | 977 ":generate_khronos_glcts_tests", |
977 ":khronos_glcts_test_windowless", | 978 ":khronos_glcts_test_windowless", |
978 ] | 979 ] |
979 } | 980 } |
980 } | 981 } |
981 } | 982 } |
OLD | NEW |