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.
7 '../third_party/mesa/mesa.gypi',
11 'target_name': 'ppapi_egl',
12 'type': 'static_library',
14 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c',
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 'suppress_wildcard': 1,
37 # Suppress warnings in third party mesa_egl code.
38 'WARNING_CFLAGS': ['-Wno-sign-compare']
43 # Mesa EGL API dispatcher sources.
44 '<@(mesa_egl_sources)',
45 # PPAPI EGL driver sources.
46 'lib/gl/egl/egldriver.c',
47 'lib/gl/egl/egldriver_ppapi.c',
51 'target_name': 'ppapi_gles2',
52 'type': 'static_library',
60 'lib/gl/gles2/gl2ext_ppapi.c',
61 'lib/gl/gles2/gl2ext_ppapi.h',
62 'lib/gl/gles2/gles2.c',