OLD | NEW |
| (Empty) |
1 # Copyright 2014 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 # In the non component build, the thunks need to be linked directly into the | |
6 # loadable module since they define symbols that should be exported from that | |
7 # library. So, this variable expands out to either list the sources directly (in | |
8 # the component build where no symbols need to be exported) a dependency. | |
9 { | |
10 'conditions': [ | |
11 ['component=="shared_library"', { | |
12 'dependencies': [ | |
13 '<(DEPTH)/mojo/mojo.gyp:mojo_gles2_impl', | |
14 ], | |
15 }, { # component!="shared_library" | |
16 'defines': [ | |
17 'MOJO_GLES2_IMPLEMENTATION', | |
18 'GLES2_USE_MOJO', | |
19 ], | |
20 'include_dirs': [ | |
21 '<(DEPTH)', | |
22 ], | |
23 'dependencies': [ | |
24 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers' | |
25 ], | |
26 'direct_dependent_settings': { | |
27 'include_dirs': [ | |
28 '<(DEPTH)', | |
29 ], | |
30 'defines': [ | |
31 'GLES2_USE_MOJO', | |
32 ], | |
33 }, | |
34 'sources': [ | |
35 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2.h', | |
36 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2_export.h', | |
37 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.
cc', | |
38 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.
h', | |
39 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_th
unks.cc', | |
40 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_th
unks.h', | |
41 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_texture_mailbox_thunks.cc', | |
42 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_texture_mailbox_thunks.h', | |
43 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_sync_point_thunks.cc', | |
44 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_sync_point_thunks.h', | |
45 ], | |
46 }] | |
47 ] | |
48 } | |
OLD | NEW |