| 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 152 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 163 # '$(TargetPath)', | 163 # '$(TargetPath)', |
| 164 # '-noimagefileio', | 164 # '-noimagefileio', |
| 165 # '-run=<(DEPTH)/third_party/gles2_conform/GTF_ES/glsl/GTF/mustpas
s.run', | 165 # '-run=<(DEPTH)/third_party/gles2_conform/GTF_ES/glsl/GTF/mustpas
s.run', |
| 166 # ], | 166 # ], |
| 167 # }], | 167 # }], |
| 168 # ], | 168 # ], |
| 169 # }, | 169 # }, |
| 170 } | 170 } |
| 171 } | 171 } |
| 172 | 172 |
| 173 # TODO(GYP): Delete this after we've converted everything to GN. |
| 174 # The _run targets exist only for compatibility w/ GYP. |
| 175 group("gles2_conform_test_run") { |
| 176 testonly = true |
| 177 deps = [ |
| 178 ":gles2_conform_test", |
| 179 ] |
| 180 } |
| 181 |
| 173 test("gles2_conform_test") { | 182 test("gles2_conform_test") { |
| 174 sources = [ | 183 sources = [ |
| 175 "gles2_conform_test.cc", | 184 "gles2_conform_test.cc", |
| 176 ] | 185 ] |
| 177 deps = [ | 186 deps = [ |
| 178 "//base", | 187 "//base", |
| 179 "//base/test:test_support", | 188 "//base/test:test_support", |
| 180 "//gpu/config", | 189 "//gpu/config", |
| 181 "//testing/gtest", | 190 "//testing/gtest", |
| 182 ] | 191 ] |
| 183 | 192 |
| 184 data = [ | 193 data = [ |
| 185 "gles2_conform_test_expectations.txt", | 194 "gles2_conform_test_expectations.txt", |
| 186 ] | 195 ] |
| 187 | 196 |
| 188 if (internal_gles2_conform_tests) { | 197 if (internal_gles2_conform_tests) { |
| 189 data_deps = [ | 198 data_deps = [ |
| 190 ":gles2_conform_test_windowless", | 199 ":gles2_conform_test_windowless", |
| 191 ] | 200 ] |
| 192 deps += [ ":generate_gles2_conform_tests" ] | 201 deps += [ ":generate_gles2_conform_tests" ] |
| 193 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] | 202 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] |
| 194 data += [ "//third_party/gles2_conform/GTF_ES/" ] | 203 data += [ "//third_party/gles2_conform/GTF_ES/" ] |
| 195 | 204 |
| 196 # TODO: Make these tests pull in the correct data dependencies once they | 205 # TODO: Make these tests pull in the correct data dependencies once they |
| 197 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/ | 206 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/ |
| 198 } | 207 } |
| 199 } | 208 } |
| OLD | NEW |