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

Side by Side Diff: ppapi/ppapi.gyp

Issue 5717003: Added a stub driver implementation for Mesa EGL. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years 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/lib/gl/include/KHR/khrplatform.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'includes': [
7 '../third_party/mesa/mesa.gypi',
8 ],
6 'variables': { 9 'variables': {
7 'chromium_code': 1, # Use higher warning level. 10 'chromium_code': 1, # Use higher warning level.
8 }, 11 },
9 'target_defaults': { 12 'target_defaults': {
10 'conditions': [ 13 'conditions': [
11 # Linux shared libraries should always be built -fPIC. 14 # Linux shared libraries should always be built -fPIC.
12 # 15 #
13 # TODO(ajwong): For internal pepper plugins, which are statically linked 16 # TODO(ajwong): For internal pepper plugins, which are statically linked
14 # into chrome, do we want to build w/o -fPIC? If so, how can we express 17 # into chrome, do we want to build w/o -fPIC? If so, how can we express
15 # that in the build system? 18 # that in the build system?
(...skipping 232 matching lines...) Expand 10 before | Expand all | Expand 10 after
248 'cflags': ['-Wextra', '-pedantic'], 251 'cflags': ['-Wextra', '-pedantic'],
249 }], 252 }],
250 ['OS=="mac"', { 253 ['OS=="mac"', {
251 'xcode_settings': { 254 'xcode_settings': {
252 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], 255 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
253 }, 256 },
254 }] 257 }]
255 ], 258 ],
256 }, 259 },
257 { 260 {
261 'target_name': 'ppapi_egl',
262 'type': 'static_library',
263 'dependencies': [
264 'ppapi_c',
265 ],
266 'include_dirs': [
267 'lib/gl/include',
268 ],
269 'defines': [
270 # Do not export internal Mesa funcations. Exporting them is not
271 # required becuase we are compiling both - API dispatcher and driver
272 # into a single library.
273 'PUBLIC=',
274 # Define a new PPAPI platform.
275 '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS',
276 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI',
277 ],
278 'conditions': [
279 ['OS=="win"', {
280 'defines': [
281 '_EGL_OS_WINDOWS',
282 ],
283 }],
284 ['OS=="mac"', {
285 # TODO(alokp): Make this compile on mac.
286 'suppress_wildcard': 1,
287 }],
288 ],
289 'sources': [
290 # Mesa EGL API dispatcher sources.
291 '<@(mesa_egl_sources)',
292 # PPAPI EGL driver sources.
293 'lib/gl/egl/egldriver.c',
294 'lib/gl/egl/egldriver_ppapi.c',
295 ],
296 },
297 {
258 'target_name': 'ppapi_example', 298 'target_name': 'ppapi_example',
259 'dependencies': [ 299 'dependencies': [
260 'ppapi_cpp' 300 'ppapi_cpp'
261 ], 301 ],
262 'xcode_settings': { 302 'xcode_settings': {
263 'INFOPLIST_FILE': 'example/Info.plist', 303 'INFOPLIST_FILE': 'example/Info.plist',
264 }, 304 },
265 'sources': [ 305 'sources': [
266 'example/example.cc', 306 'example/example.cc',
267 ], 307 ],
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after
615 ['OS=="win"', { 655 ['OS=="win"', {
616 }], 656 }],
617 ['OS=="linux"', { 657 ['OS=="linux"', {
618 }], 658 }],
619 ['OS=="mac"', { 659 ['OS=="mac"', {
620 }] 660 }]
621 ], 661 ],
622 }, 662 },
623 ], 663 ],
624 } 664 }
OLDNEW
« no previous file with comments | « ppapi/lib/gl/include/KHR/khrplatform.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698