| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 # These are defined here because we want to be able to compile them on | 7 # These are defined here because we want to be able to compile them on |
| 8 # the buildbots without needed the OpenGL ES 2.0 conformance tests | 8 # the buildbots without needed the OpenGL ES 2.0 conformance tests |
| 9 # which are not open source. | 9 # which are not open source. |
| 10 'bootstrap_sources_native': [ | 10 'bootstrap_sources_native': [ |
| (...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 47 'include_dirs': ['egl/native'], | 47 'include_dirs': ['egl/native'], |
| 48 }, | 48 }, |
| 49 }, | 49 }, |
| 50 { | 50 { |
| 51 'target_name': 'egl_main_native', | 51 'target_name': 'egl_main_native', |
| 52 'type': 'static_library', | 52 'type': 'static_library', |
| 53 'dependencies': [ | 53 'dependencies': [ |
| 54 'egl_native', | 54 'egl_native', |
| 55 ], | 55 ], |
| 56 'conditions': [ | 56 'conditions': [ |
| 57 ['OS=="linux"', { | 57 ['toolkit_uses_gtk == 1', { |
| 58 'dependencies': ['../../build/linux/system.gyp:gtk'], | 58 'dependencies': ['../../build/linux/system.gyp:gtk'], |
| 59 }], | 59 }], |
| 60 ], | 60 ], |
| 61 'include_dirs': ['egl/native'], | 61 'include_dirs': ['egl/native'], |
| 62 'sources': [ | 62 'sources': [ |
| 63 '<@(bootstrap_sources_native)', | 63 '<@(bootstrap_sources_native)', |
| 64 ], | 64 ], |
| 65 'direct_dependent_settings': { | 65 'direct_dependent_settings': { |
| 66 'include_dirs': ['egl/native'], | 66 'include_dirs': ['egl/native'], |
| 67 }, | 67 }, |
| 68 'defines': ['GTF_GLES20'], | 68 'defines': ['GTF_GLES20'], |
| 69 }, | 69 }, |
| 70 { | 70 { |
| 71 'target_name': 'gles2_conform_support', | 71 'target_name': 'gles2_conform_support', |
| 72 'type': 'executable', | 72 'type': 'executable', |
| 73 'dependencies': [ | 73 'dependencies': [ |
| 74 'egl_native', | 74 'egl_native', |
| 75 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck', | 75 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck', |
| 76 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 76 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
| 77 ], | 77 ], |
| 78 'conditions': [ | 78 'conditions': [ |
| 79 ['OS=="linux"', { | 79 ['toolkit_uses_gtk == 1', { |
| 80 'dependencies': ['../../build/linux/system.gyp:gtk'], | 80 'dependencies': ['../../build/linux/system.gyp:gtk'], |
| 81 }], | 81 }], |
| 82 ], | 82 ], |
| 83 'defines': [ | 83 'defines': [ |
| 84 'GLES2_CONFORM_SUPPORT_ONLY', | 84 'GLES2_CONFORM_SUPPORT_ONLY', |
| 85 'GTF_GLES20', | 85 'GTF_GLES20', |
| 86 ], | 86 ], |
| 87 'sources': [ | 87 'sources': [ |
| 88 '<@(bootstrap_sources_native)', | 88 '<@(bootstrap_sources_native)', |
| 89 'gles2_conform_support.c' | 89 'gles2_conform_support.c' |
| 90 ], | 90 ], |
| 91 }, | 91 }, |
| 92 ], | 92 ], |
| 93 } | 93 } |
| 94 | 94 |
| 95 | 95 |
| 96 # Local Variables: | 96 # Local Variables: |
| 97 # tab-width:2 | 97 # tab-width:2 |
| 98 # indent-tabs-mode:nil | 98 # indent-tabs-mode:nil |
| 99 # End: | 99 # End: |
| 100 # vim: set expandtab tabstop=2 shiftwidth=2: | 100 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |