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 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_nati
ve | 5 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_nati
ve |
6 source_set("native") { | 6 source_set("native") { |
7 output_name = "egl_main_native" | 7 output_name = "egl_main_native" |
8 sources = [ | 8 sources = [ |
9 "egl_native.cc", | 9 "egl_native.cc", |
| 10 "egl_native_win.cc", |
10 "main.cc", | 11 "main.cc", |
11 ] | 12 ] |
12 defines = [ | 13 defines = [ |
13 "GLES2_CONFORM_SUPPORT_ONLY", | 14 "GLES2_CONFORM_SUPPORT_ONLY", |
14 "GTF_GLES20", | 15 "GTF_GLES20", |
15 "EGLAPI=", | 16 "EGLAPI=", |
16 "EGLAPIENTRY=", | 17 "EGLAPIENTRY=", |
17 ] | 18 ] |
18 deps = [ | 19 deps = [ |
19 "//base", | 20 "//base", |
20 "//gpu/gles2_conform_support/egl", | 21 "//gpu/gles2_conform_support/egl", |
21 "//ui/gl", | 22 "//ui/gl", |
22 ] | 23 ] |
23 if (is_linux) { | 24 if (is_linux) { |
24 sources += [ | 25 sources += [ |
25 "egl_native_aura.cc", | 26 "egl_native_aura.cc", |
26 "egl_native_x11.cc", | 27 "egl_native_x11.cc", |
27 ] | 28 ] |
28 } | 29 } |
29 if (is_win) { | |
30 sources += [ "egl_native_win.cc" ] | |
31 } | |
32 } | 30 } |
33 | 31 |
34 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_wind
owless | 32 # GYP version: gpu/gles2_conform_support/gles2_conform_support.gyp:egl_main_wind
owless |
35 source_set("windowless") { | 33 source_set("windowless") { |
36 output_name = "egl_main_windowless" | 34 output_name = "egl_main_windowless" |
37 sources = [ | 35 sources = [ |
38 "egl_native.cc", | 36 "egl_native.cc", |
| 37 "egl_native_win.cc", |
39 "egl_native_windowless.cc", | 38 "egl_native_windowless.cc", |
40 "main.cc", | 39 "main.cc", |
41 ] | 40 ] |
42 defines = [ | 41 defines = [ |
43 "GLES2_CONFORM_SUPPORT_ONLY", | 42 "GLES2_CONFORM_SUPPORT_ONLY", |
44 "GTF_GLES20", | 43 "GTF_GLES20", |
45 "EGLAPI=", | 44 "EGLAPI=", |
46 "EGLAPIENTRY=", | 45 "EGLAPIENTRY=", |
47 ] | 46 ] |
48 deps = [ | 47 deps = [ |
49 "//base", | 48 "//base", |
50 "//gpu/gles2_conform_support/egl", | 49 "//gpu/gles2_conform_support/egl", |
51 "//ui/gl", | 50 "//ui/gl", |
52 ] | 51 ] |
53 if (is_linux) { | 52 if (is_linux) { |
54 sources += [ | 53 sources += [ |
55 "egl_native_aura.cc", | 54 "egl_native_aura.cc", |
56 "egl_native_x11.cc", | 55 "egl_native_x11.cc", |
57 ] | 56 ] |
58 } | 57 } |
59 if (is_win) { | |
60 sources += [ "egl_native_win.cc" ] | |
61 } | |
62 } | 58 } |
OLD | NEW |