| OLD | NEW |
| 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 { |
| 11 'target_name': 'ppapi_egl', | 11 'target_name': 'ppapi_egl<(nacl_ppapi_library_suffix)', |
| 12 'type': 'static_library', | 12 'type': 'static_library', |
| 13 'dependencies': [ | 13 'dependencies': [ |
| 14 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c', | 14 '<(DEPTH)/ppapi/ppapi.gyp:ppapi_c<(nacl_ppapi_library_suffix)', |
| 15 ], | 15 ], |
| 16 'include_dirs': [ | 16 'include_dirs': [ |
| 17 'lib/gl/include', | 17 'lib/gl/include', |
| 18 ], | 18 ], |
| 19 'defines': [ | 19 'defines': [ |
| 20 # Do not export internal Mesa funcations. Exporting them is not | 20 # Do not export internal Mesa funcations. Exporting them is not |
| 21 # required because we are compiling both - API dispatcher and driver | 21 # required because we are compiling both - API dispatcher and driver |
| 22 # into a single library. | 22 # into a single library. |
| 23 'PUBLIC=', | 23 'PUBLIC=', |
| 24 # Define a new PPAPI platform. | 24 # Define a new PPAPI platform. |
| (...skipping 13 matching lines...) Expand all Loading... |
| 38 ], | 38 ], |
| 39 'sources': [ | 39 'sources': [ |
| 40 # Mesa EGL API dispatcher sources. | 40 # Mesa EGL API dispatcher sources. |
| 41 '<@(mesa_egl_sources)', | 41 '<@(mesa_egl_sources)', |
| 42 # PPAPI EGL driver sources. | 42 # PPAPI EGL driver sources. |
| 43 'lib/gl/egl/egldriver.c', | 43 'lib/gl/egl/egldriver.c', |
| 44 'lib/gl/egl/egldriver_ppapi.c', | 44 'lib/gl/egl/egldriver_ppapi.c', |
| 45 ], | 45 ], |
| 46 }, | 46 }, |
| 47 { | 47 { |
| 48 'target_name': 'ppapi_gles2', | 48 'target_name': 'ppapi_gles2<(nacl_ppapi_library_suffix)', |
| 49 'type': 'static_library', | 49 'type': 'static_library', |
| 50 'dependencies': [ | 50 'dependencies': [ |
| 51 'ppapi_c', | 51 'ppapi_c<(nacl_ppapi_library_suffix)', |
| 52 ], | 52 ], |
| 53 'include_dirs': [ | 53 'include_dirs': [ |
| 54 'lib/gl/include', | 54 'lib/gl/include', |
| 55 ], | 55 ], |
| 56 'sources': [ | 56 'sources': [ |
| 57 'lib/gl/gles2/gl2ext_ppapi.c', | 57 'lib/gl/gles2/gl2ext_ppapi.c', |
| 58 'lib/gl/gles2/gl2ext_ppapi.h', | 58 'lib/gl/gles2/gl2ext_ppapi.h', |
| 59 'lib/gl/gles2/gles2.c', | 59 'lib/gl/gles2/gles2.c', |
| 60 ], | 60 ], |
| 61 }, | 61 }, |
| 62 ], | 62 ], |
| 63 } | 63 } |
| OLD | NEW |