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 | |
182 test("gles2_conform_test") { | 173 test("gles2_conform_test") { |
183 sources = [ | 174 sources = [ |
184 "gles2_conform_test.cc", | 175 "gles2_conform_test.cc", |
185 ] | 176 ] |
186 deps = [ | 177 deps = [ |
187 "//base", | 178 "//base", |
188 "//base/test:test_support", | 179 "//base/test:test_support", |
189 "//gpu/config", | 180 "//gpu/config", |
190 "//testing/gtest", | 181 "//testing/gtest", |
191 ] | 182 ] |
192 | 183 |
193 data = [ | 184 data = [ |
194 "gles2_conform_test_expectations.txt", | 185 "gles2_conform_test_expectations.txt", |
195 ] | 186 ] |
196 | 187 |
197 if (internal_gles2_conform_tests) { | 188 if (internal_gles2_conform_tests) { |
198 data_deps = [ | 189 data_deps = [ |
199 ":gles2_conform_test_windowless", | 190 ":gles2_conform_test_windowless", |
200 ] | 191 ] |
201 deps += [ ":generate_gles2_conform_tests" ] | 192 deps += [ ":generate_gles2_conform_tests" ] |
202 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] | 193 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] |
203 data += [ "//third_party/gles2_conform/GTF_ES/" ] | 194 data += [ "//third_party/gles2_conform/GTF_ES/" ] |
204 | 195 |
205 # TODO: Make these tests pull in the correct data dependencies once they | 196 # TODO: Make these tests pull in the correct data dependencies once they |
206 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/ | 197 # are exported in GN. Maybe from //third_party/gles2_conform/GTF_ES/ |
207 } | 198 } |
208 } | 199 } |
OLD | NEW |