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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « ppapi/ppapi_cpp.gypi ('k') | ppapi/ppapi_shared_proxy.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
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.
4
5
6 # This file was split off from ppapi.gyp to prevent PPAPI users from
7 # needing to DEPS in ~10K files due to mesa.
8 {
9 'includes': [
10 '../third_party/mesa/mesa.gypi',
11 ],
12 'targets': [
13 {
14 'target_name': 'ppapi_egl',
15 'type': 'static_library',
16 'dependencies': [
17 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c',
18 ],
19 'include_dirs': [
20 'lib/gl/include',
21 ],
22 'defines': [
23 # Do not export internal Mesa funcations. Exporting them is not
24 # required because we are compiling both - API dispatcher and driver
25 # into a single library.
26 'PUBLIC=',
27 # Define a new PPAPI platform.
28 '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS',
29 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI',
30 ],
31 'conditions': [
32 ['OS=="win"', {
33 'defines': [
34 '_EGL_OS_WINDOWS',
35 ],
36 }],
37 ['OS=="mac"', {
38 # TODO(alokp): Make this compile on mac.
39 'suppress_wildcard': 1,
40 }],
41 ],
42 'sources': [
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',
48 ],
49 },
50 {
51 'target_name': 'ppapi_gles2',
52 'type': 'static_library',
53 'dependencies': [
54 'ppapi_c',
55 ],
56 'include_dirs': [
57 'lib/gl/include',
58 ],
59 'sources': [
60 'lib/gl/gles2/gl2ext_ppapi.c',
61 'lib/gl/gles2/gl2ext_ppapi.h',
62 'lib/gl/gles2/gles2.c',
63 ],
64 },
65 ],
66 }
OLDNEW
« 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