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

Side by Side Diff: ppapi/ppapi.gyp

Issue 6342012: ppapi_egl target is currently unused as verified by using:... (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/lib/gl/gl.gyp ('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 ],
9 'variables': { 6 'variables': {
10 'chromium_code': 1, # Use higher warning level. 7 'chromium_code': 1, # Use higher warning level.
11 }, 8 },
12 'target_defaults': { 9 'target_defaults': {
13 'conditions': [ 10 'conditions': [
14 # Linux shared libraries should always be built -fPIC. 11 # Linux shared libraries should always be built -fPIC.
15 # 12 #
16 # TODO(ajwong): For internal pepper plugins, which are statically linked 13 # TODO(ajwong): For internal pepper plugins, which are statically linked
17 # into chrome, do we want to build w/o -fPIC? If so, how can we express 14 # into chrome, do we want to build w/o -fPIC? If so, how can we express
18 # that in the build system? 15 # that in the build system?
(...skipping 240 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 'cflags': ['-Wextra', '-pedantic'], 256 'cflags': ['-Wextra', '-pedantic'],
260 }], 257 }],
261 ['OS=="mac"', { 258 ['OS=="mac"', {
262 'xcode_settings': { 259 'xcode_settings': {
263 'WARNING_CFLAGS': ['-Wextra', '-pedantic'], 260 'WARNING_CFLAGS': ['-Wextra', '-pedantic'],
264 }, 261 },
265 }] 262 }]
266 ], 263 ],
267 }, 264 },
268 { 265 {
269 'target_name': 'ppapi_egl',
270 'type': 'static_library',
271 'dependencies': [
272 'ppapi_c',
273 ],
274 'include_dirs': [
275 'lib/gl/include',
276 ],
277 'defines': [
278 # Do not export internal Mesa funcations. Exporting them is not
279 # required because we are compiling both - API dispatcher and driver
280 # into a single library.
281 'PUBLIC=',
282 # Define a new PPAPI platform.
283 '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS',
284 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI',
285 ],
286 'conditions': [
287 ['OS=="win"', {
288 'defines': [
289 '_EGL_OS_WINDOWS',
290 ],
291 }],
292 ['OS=="mac"', {
293 # TODO(alokp): Make this compile on mac.
294 'suppress_wildcard': 1,
295 }],
296 ],
297 'sources': [
298 # Mesa EGL API dispatcher sources.
299 '<@(mesa_egl_sources)',
300 # PPAPI EGL driver sources.
301 'lib/gl/egl/egldriver.c',
302 'lib/gl/egl/egldriver_ppapi.c',
303 ],
304 },
305 {
306 'target_name': 'ppapi_gles2', 266 'target_name': 'ppapi_gles2',
307 'type': 'static_library', 267 'type': 'static_library',
308 'dependencies': [ 268 'dependencies': [
309 'ppapi_c', 269 'ppapi_c',
310 ], 270 ],
311 'include_dirs': [ 271 'include_dirs': [
312 'lib/gl/include', 272 'lib/gl/include',
313 ], 273 ],
314 'sources': [ 274 'sources': [
315 'lib/gl/gles2/gl2ext_ppapi.c', 275 'lib/gl/gles2/gl2ext_ppapi.c',
(...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after
680 ['OS=="win"', { 640 ['OS=="win"', {
681 }], 641 }],
682 ['OS=="linux"', { 642 ['OS=="linux"', {
683 }], 643 }],
684 ['OS=="mac"', { 644 ['OS=="mac"', {
685 }] 645 }]
686 ], 646 ],
687 }, 647 },
688 ], 648 ],
689 } 649 }
OLDNEW
« no previous file with comments | « ppapi/lib/gl/gl.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698