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 | 7 |
7 # 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 |
8 executable("gles2_conform_support") { | 9 executable("gles2_conform_support") { |
9 sources = [ | 10 sources = [ |
10 "gles2_conform_support.c", | 11 "gles2_conform_support.c", |
11 "native/egl_native.cc", | 12 "native/egl_native.cc", |
12 "native/egl_native_win.cc", | 13 "native/egl_native_win.cc", |
13 "native/main.cc", | 14 "native/main.cc", |
14 ] | 15 ] |
15 defines = [ | 16 defines = [ |
(...skipping 13 matching lines...) Expand all Loading... |
29 sources += [ | 30 sources += [ |
30 "native/egl_native_aura.cc", | 31 "native/egl_native_aura.cc", |
31 "native/egl_native_x11.cc", | 32 "native/egl_native_x11.cc", |
32 ] | 33 ] |
33 } | 34 } |
34 if (use_allocator != "none") { | 35 if (use_allocator != "none") { |
35 # See http://crbug.com/162998#c4 for why this is needed. | 36 # See http://crbug.com/162998#c4 for why this is needed. |
36 deps += [ "//base/allocator" ] | 37 deps += [ "//base/allocator" ] |
37 } | 38 } |
38 } | 39 } |
| 40 |
| 41 test("gles2_conform_test") { |
| 42 sources = [ |
| 43 "gles2_conform_test.cc", |
| 44 ] |
| 45 deps = [ |
| 46 "//base", |
| 47 "//gpu/config", |
| 48 "//testing/gtest", |
| 49 ] |
| 50 } |
OLD | NEW |