| 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 26 matching lines...) Expand all Loading... |
| 37 } | 37 } |
| 38 } | 38 } |
| 39 | 39 |
| 40 import("//testing/test.gni") | 40 import("//testing/test.gni") |
| 41 | 41 |
| 42 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support | 42 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support |
| 43 executable("gles2_conform_support") { | 43 executable("gles2_conform_support") { |
| 44 sources = [ | 44 sources = [ |
| 45 "gles2_conform_support.c", | 45 "gles2_conform_support.c", |
| 46 "native/egl_native.cc", | 46 "native/egl_native.cc", |
| 47 "native/egl_native_win.cc", | |
| 48 "native/main.cc", | 47 "native/main.cc", |
| 49 ] | 48 ] |
| 50 defines = [ | 49 defines = [ |
| 51 "GLES2_CONFORM_SUPPORT_ONLY", | 50 "GLES2_CONFORM_SUPPORT_ONLY", |
| 52 "GTF_GLES20", | 51 "GTF_GLES20", |
| 53 "EGLAPI=", | 52 "EGLAPI=", |
| 54 "EGLAPIENTRY=", | 53 "EGLAPIENTRY=", |
| 55 ] | 54 ] |
| 56 deps = [ | 55 deps = [ |
| 57 "//base", | 56 "//base", |
| (...skipping 137 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 195 ":gles2_conform_test_windowless", | 194 ":gles2_conform_test_windowless", |
| 196 ] | 195 ] |
| 197 deps += [ ":generate_gles2_conform_tests" ] | 196 deps += [ ":generate_gles2_conform_tests" ] |
| 198 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] | 197 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] |
| 199 data += [ "//third_party/gles2_conform/GTF_ES/" ] | 198 data += [ "//third_party/gles2_conform/GTF_ES/" ] |
| 200 | 199 |
| 201 # 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 |
| 202 # 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/ |
| 203 } | 202 } |
| 204 } | 203 } |
| OLD | NEW |