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 config("gles2_config") {
6 defines = [ "GLES2_USE_MOJO" ]
9 # GYP version: mojo/mojo_public.gypi:mojo_gles2
10 static_library("gles2") {
12 "MOJO_GLES2_IMPLEMENTATION",
17 "//third_party/khronos:khronos_headers",
19 direct_dependent_configs = [
21 "//third_party/khronos:khronos_headers",
26 "../c/gles2/gles2_export.h",
27 "../platform/native/gles2_thunks.cc",
28 "../platform/native/gles2_thunks.h",
29 "../platform/native/gles2_impl_thunks.cc",
30 "../platform/native/gles2_impl_thunks.h",
31 "../platform/native/gles2_impl_chromium_texture_mailbox_thunks.cc",
32 "../platform/native/gles2_impl_chromium_texture_mailbox_thunks.h",
33 "../platform/native/gles2_impl_chromium_sync_point_thunks.cc",
34 "../platform/native/gles2_impl_chromium_sync_point_thunks.h",
39 # TODO(GYP): Make it a run-path dependent library.
40 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path',