| 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 15 matching lines...) Expand all Loading... |
| 26 ], | 26 ], |
| 27 }, | 27 }, |
| 28 'targets': [ | 28 'targets': [ |
| 29 { | 29 { |
| 30 'target_name': 'egl_native', | 30 'target_name': 'egl_native', |
| 31 'type': 'static_library', | 31 'type': 'static_library', |
| 32 'dependencies': [ | 32 'dependencies': [ |
| 33 '<(DEPTH)/base/base.gyp:base', | 33 '<(DEPTH)/base/base.gyp:base', |
| 34 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', | 34 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', |
| 35 ], | 35 ], |
| 36 'include_dirs': ['<(DEPTH)/third_party/khronos'], | 36 'include_dirs': ['egl/native'], |
| 37 'sources': [ | 37 'sources': [ |
| 38 'egl/config.cc', | 38 'egl/config.cc', |
| 39 'egl/config.h', | 39 'egl/config.h', |
| 40 'egl/display.cc', | 40 'egl/display.cc', |
| 41 'egl/display.h', | 41 'egl/display.h', |
| 42 'egl/egl.cc', | 42 'egl/egl.cc', |
| 43 'egl/surface.cc', | 43 'egl/surface.cc', |
| 44 'egl/surface.h', | 44 'egl/surface.h', |
| 45 ], | 45 ], |
| 46 'direct_dependent_settings': { | 46 'direct_dependent_settings': { |
| 47 'include_dirs': ['<(DEPTH)/third_party/khronos'], | 47 'include_dirs': ['egl/native'], |
| 48 }, | 48 }, |
| 49 'defines': [ | |
| 50 'EGLAPI=', | |
| 51 'EGLAPIENTRY=', | |
| 52 ], | |
| 53 }, | 49 }, |
| 54 { | 50 { |
| 55 'target_name': 'egl_main_native', | 51 'target_name': 'egl_main_native', |
| 56 'type': 'static_library', | 52 'type': 'static_library', |
| 57 'dependencies': [ | 53 'dependencies': [ |
| 58 'egl_native', | 54 'egl_native', |
| 59 ], | 55 ], |
| 60 'conditions': [ | 56 'conditions': [ |
| 61 ['toolkit_uses_gtk == 1', { | 57 ['toolkit_uses_gtk == 1', { |
| 62 'dependencies': ['../../build/linux/system.gyp:gtk'], | 58 'dependencies': ['../../build/linux/system.gyp:gtk'], |
| 63 }], | 59 }], |
| 64 ], | 60 ], |
| 65 'include_dirs': ['<(DEPTH)/third_party/khronos'], | 61 'include_dirs': ['egl/native'], |
| 66 'sources': [ | 62 'sources': [ |
| 67 '<@(bootstrap_sources_native)', | 63 '<@(bootstrap_sources_native)', |
| 68 ], | 64 ], |
| 69 'direct_dependent_settings': { | 65 'direct_dependent_settings': { |
| 70 'include_dirs': ['<(DEPTH)/third_party/khronos'], | 66 'include_dirs': ['egl/native'], |
| 71 }, | 67 }, |
| 72 'defines': [ | 68 'defines': ['GTF_GLES20'], |
| 73 'GTF_GLES20', | |
| 74 'EGLAPI=', | |
| 75 'EGLAPIENTRY=', | |
| 76 ], | |
| 77 }, | 69 }, |
| 78 { | 70 { |
| 79 'target_name': 'gles2_conform_support', | 71 'target_name': 'gles2_conform_support', |
| 80 'type': 'executable', | 72 'type': 'executable', |
| 81 'dependencies': [ | 73 'dependencies': [ |
| 82 'egl_native', | 74 'egl_native', |
| 83 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', | 75 '<(DEPTH)/base/third_party/dynamic_annotations/dynamic_annotations.gyp:d
ynamic_annotations', |
| 84 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck', | 76 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck', |
| 85 '<(DEPTH)/third_party/expat/expat.gyp:expat', | 77 '<(DEPTH)/third_party/expat/expat.gyp:expat', |
| 86 ], | 78 ], |
| 87 'conditions': [ | 79 'conditions': [ |
| 88 ['toolkit_uses_gtk == 1', { | 80 ['toolkit_uses_gtk == 1', { |
| 89 'dependencies': ['../../build/linux/system.gyp:gtk'], | 81 'dependencies': ['../../build/linux/system.gyp:gtk'], |
| 90 }], | 82 }], |
| 91 ], | 83 ], |
| 92 'defines': [ | 84 'defines': [ |
| 93 'GLES2_CONFORM_SUPPORT_ONLY', | 85 'GLES2_CONFORM_SUPPORT_ONLY', |
| 94 'GTF_GLES20', | 86 'GTF_GLES20', |
| 95 'EGLAPI=', | |
| 96 'EGLAPIENTRY=', | |
| 97 ], | 87 ], |
| 98 'sources': [ | 88 'sources': [ |
| 99 '<@(bootstrap_sources_native)', | 89 '<@(bootstrap_sources_native)', |
| 100 'gles2_conform_support.c' | 90 'gles2_conform_support.c' |
| 101 ], | 91 ], |
| 102 }, | 92 }, |
| 103 ], | 93 ], |
| 104 } | 94 } |
| OLD | NEW |