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 21 matching lines...) Expand all Loading... |
32 | 32 |
33 # There are some implicit conversions from "int" to "char" in | 33 # There are some implicit conversions from "int" to "char" in |
34 # GTFExtensionTestSurfacelessContext.c. | 34 # GTFExtensionTestSurfacelessContext.c. |
35 "-Wno-constant-conversion", | 35 "-Wno-constant-conversion", |
36 ] | 36 ] |
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 | |
43 executable("gles2_conform_support") { | 42 executable("gles2_conform_support") { |
44 sources = [ | 43 sources = [ |
45 "gles2_conform_support.c", | 44 "gles2_conform_support.c", |
46 "native/egl_native.cc", | 45 "native/egl_native.cc", |
47 "native/main.cc", | 46 "native/main.cc", |
48 ] | 47 ] |
49 defines = [ | 48 defines = [ |
50 "GLES2_CONFORM_SUPPORT_ONLY", | 49 "GLES2_CONFORM_SUPPORT_ONLY", |
51 "GTF_GLES20", | 50 "GTF_GLES20", |
52 "EGLAPI=", | 51 "EGLAPI=", |
(...skipping 432 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
485 | 484 |
486 if (internal_gles2_conform_tests) { | 485 if (internal_gles2_conform_tests) { |
487 data_deps = [ | 486 data_deps = [ |
488 ":gles2_conform_test_windowless", | 487 ":gles2_conform_test_windowless", |
489 ] | 488 ] |
490 deps += [ ":generate_gles2_conform_tests" ] | 489 deps += [ ":generate_gles2_conform_tests" ] |
491 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] | 490 sources += [ "$target_gen_dir/gles2_conform_test_autogen.cc" ] |
492 data += [ "//third_party/gles2_conform/GTF_ES/" ] | 491 data += [ "//third_party/gles2_conform/GTF_ES/" ] |
493 } | 492 } |
494 } | 493 } |
OLD | NEW |