| 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. |
| (...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 93 '<@(bootstrap_sources_native)', | 93 '<@(bootstrap_sources_native)', |
| 94 ], | 94 ], |
| 95 'defines': [ | 95 'defines': [ |
| 96 'GLES2_CONFORM_SUPPORT_ONLY', | 96 'GLES2_CONFORM_SUPPORT_ONLY', |
| 97 'GTF_GLES20', | 97 'GTF_GLES20', |
| 98 'EGLAPI=', | 98 'EGLAPI=', |
| 99 'EGLAPIENTRY=', | 99 'EGLAPIENTRY=', |
| 100 ], | 100 ], |
| 101 }, | 101 }, |
| 102 { | 102 { |
| 103 # GN version: //gpu/gles2_conform_support |
| 103 'target_name': 'gles2_conform_support', | 104 'target_name': 'gles2_conform_support', |
| 104 'type': 'executable', | 105 'type': 'executable', |
| 105 'dependencies': [ | 106 'dependencies': [ |
| 106 'egl_native', | 107 'egl_native', |
| 107 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', | 108 '../../base/third_party/dynamic_annotations/dynamic_annotations.gyp:dyna
mic_annotations', |
| 108 '../../gpu/gpu.gyp:gles2_c_lib_nocheck', | 109 '../../gpu/gpu.gyp:gles2_c_lib_nocheck', |
| 109 '../../third_party/expat/expat.gyp:expat', | 110 '../../third_party/expat/expat.gyp:expat', |
| 110 ], | 111 ], |
| 111 'conditions': [ | 112 'conditions': [ |
| 112 # See http://crbug.com/162998#c4 for why this is needed. | 113 # See http://crbug.com/162998#c4 for why this is needed. |
| 113 ['OS=="linux" and use_allocator!="none"', { | 114 ['OS=="linux" and use_allocator!="none"', { |
| 114 'dependencies': [ | 115 'dependencies': [ |
| 115 '../../base/allocator/allocator.gyp:allocator', | 116 '../../base/allocator/allocator.gyp:allocator', |
| 116 ], | 117 ], |
| 117 }], | 118 }], |
| 118 ], | 119 ], |
| 119 'defines': [ | 120 'defines': [ |
| 120 'GLES2_CONFORM_SUPPORT_ONLY', | 121 'GLES2_CONFORM_SUPPORT_ONLY', |
| 121 'GTF_GLES20', | 122 'GTF_GLES20', |
| 122 'EGLAPI=', | 123 'EGLAPI=', |
| 123 'EGLAPIENTRY=', | 124 'EGLAPIENTRY=', |
| 124 ], | 125 ], |
| 125 'sources': [ | 126 'sources': [ |
| 126 '<@(bootstrap_sources_native)', | 127 '<@(bootstrap_sources_native)', |
| 127 'gles2_conform_support.c' | 128 'gles2_conform_support.c' |
| 128 ], | 129 ], |
| 129 }, | 130 }, |
| 130 ], | 131 ], |
| 131 } | 132 } |
| OLD | NEW |