| 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"', { |
| 16 'bootstrap_sources_native': [ | 16 'bootstrap_sources_native': [ |
| 17 'native/egl_native_aura.cc', | 17 'native/egl_native_aura.cc', |
| 18 'native/egl_native.cc', | 18 'native/egl_native.cc', |
| 19 'native/egl_native_gtk.cc', | |
| 20 'native/egl_native_x11.cc', | 19 'native/egl_native_x11.cc', |
| 21 ], | 20 ], |
| 22 }], | 21 }], |
| 23 ['OS=="win"', { | 22 ['OS=="win"', { |
| 24 'bootstrap_sources_native': [ | 23 'bootstrap_sources_native': [ |
| 25 'native/egl_native.cc', | 24 'native/egl_native.cc', |
| 26 'native/egl_native_win.cc', | 25 'native/egl_native_win.cc', |
| 27 ], | 26 ], |
| 28 }], | 27 }], |
| 29 ], | 28 ], |
| (...skipping 30 matching lines...) Expand all Loading... |
| 60 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. | 59 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. |
| 61 'msvs_disabled_warnings': [ 4267, ], | 60 'msvs_disabled_warnings': [ 4267, ], |
| 62 }, | 61 }, |
| 63 { | 62 { |
| 64 'target_name': 'egl_main_native', | 63 'target_name': 'egl_main_native', |
| 65 'type': 'static_library', | 64 'type': 'static_library', |
| 66 'dependencies': [ | 65 'dependencies': [ |
| 67 'egl_native', | 66 'egl_native', |
| 68 '../../third_party/khronos/khronos.gyp:khronos_headers', | 67 '../../third_party/khronos/khronos.gyp:khronos_headers', |
| 69 ], | 68 ], |
| 70 'conditions': [ | |
| 71 ['toolkit_uses_gtk == 1', { | |
| 72 'dependencies': ['../../build/linux/system.gyp:gtk'], | |
| 73 }], | |
| 74 ], | |
| 75 'sources': [ | 69 'sources': [ |
| 76 '<@(bootstrap_sources_native)', | 70 '<@(bootstrap_sources_native)', |
| 77 ], | 71 ], |
| 78 'defines': [ | 72 'defines': [ |
| 79 'GLES2_CONFORM_SUPPORT_ONLY', | 73 'GLES2_CONFORM_SUPPORT_ONLY', |
| 80 'GTF_GLES20', | 74 'GTF_GLES20', |
| 81 'EGLAPI=', | 75 'EGLAPI=', |
| 82 'EGLAPIENTRY=', | 76 'EGLAPIENTRY=', |
| 83 ], | 77 ], |
| 84 }, | 78 }, |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 134 'EGLAPI=', | 128 'EGLAPI=', |
| 135 'EGLAPIENTRY=', | 129 'EGLAPIENTRY=', |
| 136 ], | 130 ], |
| 137 'sources': [ | 131 'sources': [ |
| 138 '<@(bootstrap_sources_native)', | 132 '<@(bootstrap_sources_native)', |
| 139 'gles2_conform_support.c' | 133 'gles2_conform_support.c' |
| 140 ], | 134 ], |
| 141 }, | 135 }, |
| 142 ], | 136 ], |
| 143 } | 137 } |
| OLD | NEW |