Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1)

Side by Side Diff: mojo/public/gles2/BUILD.gn

Issue 425193002: Revert of mojo: Convert gles2 to the new thunking system (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « mojo/public/c/gles2/gles2_export.h ('k') | mojo/public/gles2/gles2_private.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 config("gles2_config") { 5 config("gles2_config") {
6 defines = [ "GLES2_USE_MOJO" ] 6 defines = [ "GLES2_USE_MOJO" ]
7 } 7 }
8 8
9 shared_library("gles2") { 9 shared_library("gles2") {
10 output_name = "mojo_gles2" 10 output_name = "mojo_gles2"
11 11
12 defines = [ 12 defines = [
13 "MOJO_GLES2_IMPLEMENTATION", 13 "MOJO_GLES2_IMPLEMENTATION",
14 ] 14 ]
15 15
16 configs += [ 16 configs += [
17 ":gles2_config", 17 ":gles2_config",
18 "//third_party/khronos:khronos_headers", 18 "//third_party/khronos:khronos_headers",
19 ] 19 ]
20 direct_dependent_configs = [ ":gles2_config" ] 20 direct_dependent_configs = [ ":gles2_config" ]
21 21
22 sources = [ 22 sources = [
23 "../c/gles2/gles2.h", 23 "../c/gles2/gles2.h",
24 "../c/gles2/gles2_export.h", 24 "../c/gles2/gles2_export.h",
25 "../platform/native/gles2_thunks.cc", 25 "gles2_private.cc",
26 "../platform/native/gles2_thunks.h", 26 "gles2_private.h",
27 "gles2_interface.h",
28 ] 27 ]
29 28
30 if (is_mac) { 29 if (is_mac) {
31 # TODO(GYP): Make it a run-path dependent library. 30 # TODO(GYP): Make it a run-path dependent library.
32 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path', 31 # 'DYLIB_INSTALL_NAME_BASE': '@loader_path',
33 } 32 }
34 } 33 }
35 34
OLDNEW
« no previous file with comments | « mojo/public/c/gles2/gles2_export.h ('k') | mojo/public/gles2/gles2_private.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698