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