| 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.cc', |
| 17 'native/egl_native_aura.cc', | 18 'native/egl_native_aura.cc', |
| 18 'native/egl_native.cc', | |
| 19 'native/egl_native_x11.cc', | 19 'native/egl_native_x11.cc', |
| 20 ], | 20 ], |
| 21 }], | 21 }], |
| 22 ['OS=="win"', { | 22 ['OS=="win"', { |
| 23 'bootstrap_sources_native': [ | 23 'bootstrap_sources_native': [ |
| 24 'native/egl_native.cc', | 24 'native/egl_native.cc', |
| 25 'native/egl_native_win.cc', | 25 'native/egl_native_win.cc', |
| 26 ], | 26 ], |
| 27 }], | 27 }], |
| 28 ], | 28 ], |
| (...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 77 ], | 77 ], |
| 78 }, | 78 }, |
| 79 { | 79 { |
| 80 'target_name': 'egl_main_windowless', | 80 'target_name': 'egl_main_windowless', |
| 81 'type': 'static_library', | 81 'type': 'static_library', |
| 82 'dependencies': [ | 82 'dependencies': [ |
| 83 'egl_native', | 83 'egl_native', |
| 84 '../../third_party/khronos/khronos.gyp:khronos_headers', | 84 '../../third_party/khronos/khronos.gyp:khronos_headers', |
| 85 ], | 85 ], |
| 86 'sources': [ | 86 'sources': [ |
| 87 'native/main.cc', | |
| 88 'native/egl_native.cc', | 87 'native/egl_native.cc', |
| 89 'native/egl_native_windowless.cc', | 88 'native/egl_native_windowless.cc', |
| 89 'native/main.cc', |
| 90 '<@(bootstrap_sources_native)', | 90 '<@(bootstrap_sources_native)', |
| 91 ], | 91 ], |
| 92 'defines': [ | 92 'defines': [ |
| 93 'GLES2_CONFORM_SUPPORT_ONLY', | 93 'GLES2_CONFORM_SUPPORT_ONLY', |
| 94 'GTF_GLES20', | 94 'GTF_GLES20', |
| 95 'EGLAPI=', | 95 'EGLAPI=', |
| 96 'EGLAPIENTRY=', | 96 'EGLAPIENTRY=', |
| 97 ], | 97 ], |
| 98 }, | 98 }, |
| 99 { | 99 { |
| (...skipping 19 matching lines...) Expand all Loading... |
| 119 'EGLAPI=', | 119 'EGLAPI=', |
| 120 'EGLAPIENTRY=', | 120 'EGLAPIENTRY=', |
| 121 ], | 121 ], |
| 122 'sources': [ | 122 'sources': [ |
| 123 '<@(bootstrap_sources_native)', | 123 '<@(bootstrap_sources_native)', |
| 124 'gles2_conform_support.c' | 124 'gles2_conform_support.c' |
| 125 ], | 125 ], |
| 126 }, | 126 }, |
| 127 ], | 127 ], |
| 128 } | 128 } |
| OLD | NEW |