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 import("//build/config/allocator.gni") | 5 import("//build/config/allocator.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support | 8 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:gles2_conform
_support |
9 executable("gles2_conform_support") { | 9 executable("gles2_conform_support") { |
10 sources = [ | 10 sources = [ |
(...skipping 20 matching lines...) Expand all Loading... |
31 "native/egl_native_aura.cc", | 31 "native/egl_native_aura.cc", |
32 "native/egl_native_x11.cc", | 32 "native/egl_native_x11.cc", |
33 ] | 33 ] |
34 } | 34 } |
35 if (use_allocator != "none") { | 35 if (use_allocator != "none") { |
36 # See http://crbug.com/162998#c4 for why this is needed. | 36 # See http://crbug.com/162998#c4 for why this is needed. |
37 deps += [ "//base/allocator" ] | 37 deps += [ "//base/allocator" ] |
38 } | 38 } |
39 } | 39 } |
40 | 40 |
| 41 if (internal_gles2_conform_tests) { |
| 42 action("generate_gles2_conform_embedded_files") { |
| 43 script = "generate_gles2_embedded_data.py" |
| 44 output = [ |
| 45 "$target_gen_dir/gles2_conform_test_embedded_data/FilesData.c", |
| 46 "$target_gen_dir/gles2_conform_test_embedded_data/FilesData.h", |
| 47 "$target_gen_dir/gles2_conform_test_embedded_data/FilesTOC.c", |
| 48 ] |
| 49 args = [ |
| 50 "../../third_party/gles2_conform/GTF_ES/glsl/GTF", |
| 51 "$target_gen_dir/gles2_conform_test_embedded_data", |
| 52 ] |
| 53 } |
| 54 } |
| 55 |
41 test("gles2_conform_test") { | 56 test("gles2_conform_test") { |
42 sources = [ | 57 sources = [ |
43 "gles2_conform_test.cc", | 58 "gles2_conform_test.cc", |
44 ] | 59 ] |
45 deps = [ | 60 deps = [ |
46 "//base", | 61 "//base", |
47 "//gpu/config", | 62 "//gpu/config", |
48 "//testing/gtest", | 63 "//testing/gtest", |
49 ] | 64 ] |
50 } | 65 } |
OLD | NEW |