| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 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 | |
| 9 # which are not open source. | |
| 10 'bootstrap_sources_native': [ | |
| 11 'native/main.cc', | |
| 12 ], | |
| 13 'conditions': [ | |
| 14 ['OS=="linux"', { | |
| 15 'bootstrap_sources_native': [ | |
| 16 'native/egl_native.cc', | |
| 17 'native/egl_native_linux.cc', | |
| 18 ], | |
| 19 }], | |
| 20 ['OS=="win"', { | |
| 21 'bootstrap_sources_native': [ | |
| 22 'native/egl_native.cc', | |
| 23 'native/egl_native_win.cc', | |
| 24 ], | |
| 25 }], | |
| 26 ], | |
| 27 }, | |
| 28 'targets': [ | |
| 29 { | |
| 30 'target_name': 'egl_native', | |
| 31 'type': 'static_library', | |
| 32 'dependencies': [ | |
| 33 '<(DEPTH)/gpu/gpu.gyp:command_buffer_service', | |
| 34 ], | |
| 35 'include_dirs': ['egl/native'], | |
| 36 'sources': [ | |
| 37 'egl/config.cc', | |
| 38 'egl/config.h', | |
| 39 'egl/display.cc', | |
| 40 'egl/display.h', | |
| 41 'egl/egl.cc', | |
| 42 'egl/surface.cc', | |
| 43 'egl/surface.h', | |
| 44 ], | |
| 45 'direct_dependent_settings': { | |
| 46 'include_dirs': ['egl/native'], | |
| 47 }, | |
| 48 }, | |
| 49 { | |
| 50 'target_name': 'egl_main_native', | |
| 51 'type': 'static_library', | |
| 52 'dependencies': [ | |
| 53 'egl_native', | |
| 54 ], | |
| 55 'conditions': [ | |
| 56 ['OS=="linux"', { | |
| 57 'dependencies': ['../../build/linux/system.gyp:gtk'], | |
| 58 }], | |
| 59 ], | |
| 60 'include_dirs': ['egl/native'], | |
| 61 'sources': [ | |
| 62 '<@(bootstrap_sources_native)', | |
| 63 ], | |
| 64 'direct_dependent_settings': { | |
| 65 'include_dirs': ['egl/native'], | |
| 66 }, | |
| 67 'defines': ['GTF_GLES20'], | |
| 68 }, | |
| 69 { | |
| 70 'target_name': 'gles2_conform_support', | |
| 71 'type': 'executable', | |
| 72 'dependencies': [ | |
| 73 'egl_native', | |
| 74 '<(DEPTH)/gpu/gpu.gyp:gles2_c_lib_nocheck', | |
| 75 '<(DEPTH)/third_party/expat/expat.gyp:expat', | |
| 76 ], | |
| 77 'conditions': [ | |
| 78 ['OS=="linux"', { | |
| 79 'dependencies': ['../../build/linux/system.gyp:gtk'], | |
| 80 }], | |
| 81 ], | |
| 82 'defines': [ | |
| 83 'GLES2_CONFORM_SUPPORT_ONLY', | |
| 84 'GTF_GLES20', | |
| 85 ], | |
| 86 'sources': [ | |
| 87 '<@(bootstrap_sources_native)', | |
| 88 'gles2_conform_support.c' | |
| 89 ], | |
| 90 }, | |
| 91 ], | |
| 92 } | |
| 93 | |
| 94 | |
| 95 # Local Variables: | |
| 96 # tab-width:2 | |
| 97 # indent-tabs-mode:nil | |
| 98 # End: | |
| 99 # vim: set expandtab tabstop=2 shiftwidth=2: | |
| OLD | NEW |