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

Side by Side Diff: ppapi/ppapi_gl.gypi

Issue 8551001: Enable building ppapi/examples on Mac. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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
« no previous file with comments | « no previous file | ppapi/ppapi_tests.gypi » ('j') | 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': [ 6 'includes': [
7 '../third_party/mesa/mesa.gypi', 7 '../third_party/mesa/mesa.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
(...skipping 14 matching lines...) Expand all
25 '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS', 25 '_EGL_PLATFORM_PPAPI=_EGL_NUM_PLATFORMS',
26 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI', 26 '_EGL_NATIVE_PLATFORM=_EGL_PLATFORM_PPAPI',
27 ], 27 ],
28 'conditions': [ 28 'conditions': [
29 ['OS=="win"', { 29 ['OS=="win"', {
30 'defines': [ 30 'defines': [
31 '_EGL_OS_WINDOWS', 31 '_EGL_OS_WINDOWS',
32 ], 32 ],
33 }], 33 }],
34 ['OS=="mac"', { 34 ['OS=="mac"', {
35 # TODO(alokp): Make this compile on mac.
36 'suppress_wildcard': 1, 35 'suppress_wildcard': 1,
36 'xcode_settings': {
37 # Suppress warnings in third party mesa_egl code.
38 'WARNING_CFLAGS': ['-Wno-sign-compare']
39 }
37 }], 40 }],
38 ], 41 ],
39 'sources': [ 42 'sources': [
40 # Mesa EGL API dispatcher sources. 43 # Mesa EGL API dispatcher sources.
41 '<@(mesa_egl_sources)', 44 '<@(mesa_egl_sources)',
42 # PPAPI EGL driver sources. 45 # PPAPI EGL driver sources.
43 'lib/gl/egl/egldriver.c', 46 'lib/gl/egl/egldriver.c',
44 'lib/gl/egl/egldriver_ppapi.c', 47 'lib/gl/egl/egldriver_ppapi.c',
45 ], 48 ],
46 }, 49 },
47 { 50 {
48 'target_name': 'ppapi_gles2', 51 'target_name': 'ppapi_gles2',
49 'type': 'static_library', 52 'type': 'static_library',
50 'dependencies': [ 53 'dependencies': [
51 'ppapi_c', 54 'ppapi_c',
52 ], 55 ],
53 'include_dirs': [ 56 'include_dirs': [
54 'lib/gl/include', 57 'lib/gl/include',
55 ], 58 ],
56 'sources': [ 59 'sources': [
57 'lib/gl/gles2/gl2ext_ppapi.c', 60 'lib/gl/gles2/gl2ext_ppapi.c',
58 'lib/gl/gles2/gl2ext_ppapi.h', 61 'lib/gl/gles2/gl2ext_ppapi.h',
59 'lib/gl/gles2/gles2.c', 62 'lib/gl/gles2/gles2.c',
60 ], 63 ],
61 }, 64 },
62 ], 65 ],
63 } 66 }
OLDNEW
« no previous file with comments | « no previous file | ppapi/ppapi_tests.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698