OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 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 # In the non component build, the thunks need to be linked directly into the | 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 | 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 | 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. | 8 # the component build where no symbols need to be exported) a dependency. |
9 { | 9 { |
10 'conditions': [ | 10 'conditions': [ |
(...skipping 13 matching lines...) Expand all Loading... |
24 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers' | 24 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers' |
25 ], | 25 ], |
26 'direct_dependent_settings': { | 26 'direct_dependent_settings': { |
27 'include_dirs': [ | 27 'include_dirs': [ |
28 '<(DEPTH)', | 28 '<(DEPTH)', |
29 ], | 29 ], |
30 'defines': [ | 30 'defines': [ |
31 'GLES2_USE_MOJO', | 31 'GLES2_USE_MOJO', |
32 ], | 32 ], |
33 }, | 33 }, |
34 'all_dependent_settings': { | |
35 'conditions': [ | |
36 # We need to be able to call the MojoSetGLES2Thunks() function in | |
37 # gles2_thunks.cc | |
38 ['OS=="android"', { | |
39 'ldflags!': [ | |
40 '-Wl,--exclude-libs=ALL', | |
41 ], | |
42 }], | |
43 ], | |
44 }, | |
45 'sources': [ | 34 'sources': [ |
46 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2.h', | 35 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2.h', |
47 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2_export.h', | 36 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2_export.h', |
48 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.
cc', | 37 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.
cc', |
49 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.
h', | 38 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.
h', |
50 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_th
unks.cc', | 39 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_th
unks.cc', |
51 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_th
unks.h', | 40 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_th
unks.h', |
52 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_texture_mailbox_thunks.cc', | 41 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_texture_mailbox_thunks.cc', |
53 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_texture_mailbox_thunks.h', | 42 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_texture_mailbox_thunks.h', |
54 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_sync_point_thunks.cc', | 43 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_sync_point_thunks.cc', |
55 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_sync_point_thunks.h', | 44 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_ch
romium_sync_point_thunks.h', |
56 ], | 45 ], |
57 }] | 46 }] |
58 ] | 47 ] |
59 } | 48 } |
OLD | NEW |