1 # Copyright (c) 2010 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.
7 '../third_party/mesa/mesa.gypi',
11 'target_name': 'ppapi_egl<(nacl_ppapi_library_suffix)',
12 'type': 'static_library',
14 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c<(nacl_ppapi_library_suffix)',
20 # Do not export internal Mesa funcations. Exporting them is not
21 # required because we are compiling both - API dispatcher and driver
22 # into a single library.
24 # Define a new PPAPI platform.
25 '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS',
26 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI',
35 # TODO(alokp): Make this compile on mac.
36 'suppress_wildcard': 1,
40 # Mesa EGL API dispatcher sources.
41 '<@(mesa_egl_sources)',
42 # PPAPI EGL driver sources.
43 'lib/gl/egl/egldriver.c',
44 'lib/gl/egl/egldriver_ppapi.c',
48 'target_name': 'ppapi_gles2<(nacl_ppapi_library_suffix)',
49 'type': 'static_library',
51 'ppapi_c<(nacl_ppapi_library_suffix)',
57 'lib/gl/gles2/gl2ext_ppapi.c',
58 'lib/gl/gles2/gl2ext_ppapi.h',
59 'lib/gl/gles2/gles2.c',