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 test("gles2_conform_test") { | |
tfarina
2015/03/27 00:11:38
ops, I forgot to add a newline above. will do in p
| |
41 sources = [ | |
42 "gles2_conform_test.cc", | |
43 ] | |
44 deps = [ | |
45 "//base", | |
46 "//gpu/config", | |
47 "//testing/gtest", | |
48 ] | |
49 } | |
tfarina
2015/03/27 00:11:38
small start, but at least it is something. The res
| |
OLD | NEW |