Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(55)

Unified Diff: ppapi/ppapi_gl.gypi

Issue 6265022: Break ppapi.gyp into several gypi's to reduce contention and allow projects t... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ppapi/ppapi_cpp.gypi ('k') | ppapi/ppapi_shared_proxy.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ppapi/ppapi_gl.gypi
===================================================================
--- ppapi/ppapi_gl.gypi (revision 0)
+++ ppapi/ppapi_gl.gypi (revision 0)
@@ -0,0 +1,66 @@
+# Copyright (c) 2010 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+
+# This file was split off from ppapi.gyp to prevent PPAPI users from
+# needing to DEPS in ~10K files due to mesa.
+{
+ 'includes': [
+ '../third_party/mesa/mesa.gypi',
+ ],
+ 'targets': [
+ {
+ 'target_name': 'ppapi_egl',
+ 'type': 'static_library',
+ 'dependencies': [
+ '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c',
+ ],
+ 'include_dirs': [
+ 'lib/gl/include',
+ ],
+ 'defines': [
+ # Do not export internal Mesa funcations. Exporting them is not
+ # required because we are compiling both - API dispatcher and driver
+ # into a single library.
+ 'PUBLIC=',
+ # Define a new PPAPI platform.
+ '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS',
+ '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI',
+ ],
+ 'conditions': [
+ ['OS=="win"', {
+ 'defines': [
+ '_EGL_OS_WINDOWS',
+ ],
+ }],
+ ['OS=="mac"', {
+ # TODO(alokp): Make this compile on mac.
+ 'suppress_wildcard': 1,
+ }],
+ ],
+ 'sources': [
+ # Mesa EGL API dispatcher sources.
+ '<@(mesa_egl_sources)',
+ # PPAPI EGL driver sources.
+ 'lib/gl/egl/egldriver.c',
+ 'lib/gl/egl/egldriver_ppapi.c',
+ ],
+ },
+ {
+ 'target_name': 'ppapi_gles2',
+ 'type': 'static_library',
+ 'dependencies': [
+ 'ppapi_c',
+ ],
+ 'include_dirs': [
+ 'lib/gl/include',
+ ],
+ 'sources': [
+ 'lib/gl/gles2/gl2ext_ppapi.c',
+ 'lib/gl/gles2/gl2ext_ppapi.h',
+ 'lib/gl/gles2/gles2.c',
+ ],
+ },
+ ],
+}
Property changes on: ppapi/ppapi_gl.gypi
___________________________________________________________________
Added: svn:eol-style
+ LF
« no previous file with comments | « ppapi/ppapi_cpp.gypi ('k') | ppapi/ppapi_shared_proxy.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698