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.
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.
11 ['component=="shared_library"', {
13 '<(DEPTH)/mojo/mojo.gyp:mojo_gles2_impl',
15 }, { # component!="shared_library"
17 'MOJO_GLES2_IMPLEMENTATION',
24 '<(DEPTH)/third_party/khronos/khronos.gyp:khronos_headers'
26 'direct_dependent_settings': {
34 'all_dependent_settings': {
36 # We need to be able to call the MojoSetGLES2Thunks() function in
40 '-Wl,--exclude-libs=ALL',
46 '<(DEPTH)/third_party/mojo/src/mojo/public/c/gles2/gles2.h',
47 '<(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',
49 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_thunks.h',
50 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_thunks.cc',
51 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_thunks.h',
52 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_texture_mailbox_thunks.cc',
53 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_texture_mailbox_thunks.h',
54 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.cc',
55 '<(DEPTH)/third_party/mojo/src/mojo/public/platform/native/gles2_impl_chromium_sync_point_thunks.h',