OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'chromium_code': 1, | 7 'chromium_code': 1, |
8 # These are defined here because we want to be able to compile them on | 8 # These are defined here because we want to be able to compile them on |
9 # the buildbots without needed the OpenGL ES 2.0 conformance tests | 9 # the buildbots without needed the OpenGL ES 2.0 conformance tests |
10 # which are not open source. | 10 # which are not open source. |
11 'bootstrap_sources_native': [ | 11 'bootstrap_sources_native': [ |
12 'native/main.cc', | 12 'native/main.cc', |
13 ], | 13 ], |
14 'conditions': [ | 14 'conditions': [ |
15 ['OS=="linux"', { | 15 ['OS=="linux" or OS=="win"', { |
16 'bootstrap_sources_native': [ | 16 'bootstrap_sources_native': [ |
17 'native/egl_native.cc', | 17 'native/egl_native.cc', |
18 'native/egl_native_aura.cc', | |
19 'native/egl_native_x11.cc', | |
20 ], | |
21 }], | |
22 ['OS=="win"', { | |
23 'bootstrap_sources_native': [ | |
24 'native/egl_native.cc', | |
25 'native/egl_native_win.cc', | |
26 ], | 18 ], |
27 }], | 19 }], |
28 ], | 20 ], |
29 | 21 |
30 }, | 22 }, |
31 'targets': [ | 23 'targets': [ |
32 { | 24 { |
33 # GN version: //gpu/gles2_conform_support/egl | 25 # GN version: //gpu/gles2_conform_support/egl |
34 'target_name': 'egl_native', | 26 'target_name': 'egl_native', |
35 'type': 'static_library', | 27 'type': 'static_library', |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 'EGLAPI=', | 114 'EGLAPI=', |
123 'EGLAPIENTRY=', | 115 'EGLAPIENTRY=', |
124 ], | 116 ], |
125 'sources': [ | 117 'sources': [ |
126 '<@(bootstrap_sources_native)', | 118 '<@(bootstrap_sources_native)', |
127 'gles2_conform_support.c' | 119 'gles2_conform_support.c' |
128 ], | 120 ], |
129 }, | 121 }, |
130 ], | 122 ], |
131 } | 123 } |
OLD | NEW |