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

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

Issue 1307883004: Use C OpenGL interface in mojo::GLContext (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 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
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 import("../../mojo_sdk.gni") 5 import("../../mojo_sdk.gni")
6 6
7 config("gles2_config") { 7 config("gles2_config") {
8 defines = [ "GLES2_USE_MOJO" ] 8 defines = [ "GLES2_USE_MOJO" ]
9 } 9 }
10 10
11 group("gles2") { 11 group("gles2") {
12 public_configs = [ "//third_party/khronos:khronos_headers" ] 12 public_configs = [ "//third_party/khronos:khronos_headers" ]
13 public_deps = [ 13 public_deps = [
14 ":headers", 14 ":headers",
15 ] 15 ]
16 deps = [ 16 deps = [
17 "../../platform/native:gles2", 17 "../../platform/native:gles2",
18 ] 18 ]
19 } 19 }
20 20
21 mojo_sdk_source_set("headers") { 21 mojo_sdk_source_set("headers") {
22 sources = [ 22 sources = [
23 "chromium_bind_uniform_location.h", 23 "chromium_bind_uniform_location.h",
24 "chromium_copy_texture.h", 24 "chromium_copy_texture.h",
25 "chromium_image.h", 25 "chromium_image.h",
26 "chromium_map_sub.h",
26 "chromium_miscellaneous.h", 27 "chromium_miscellaneous.h",
27 "chromium_pixel_transfer_buffer_object.h", 28 "chromium_pixel_transfer_buffer_object.h",
28 "chromium_resize.h", 29 "chromium_resize.h",
29 "chromium_sub_image.h",
30 "chromium_sync_point.h", 30 "chromium_sync_point.h",
31 "chromium_texture_mailbox.h", 31 "chromium_texture_mailbox.h",
32 "ext_debug_marker.h", 32 "ext_debug_marker.h",
33 "gles2.h", 33 "gles2.h",
34 "gles2_call_visitor_autogen.h", 34 "gles2_call_visitor_autogen.h",
35 "gles2_call_visitor_chromium_copy_texture_autogen.h", 35 "gles2_call_visitor_chromium_copy_texture_autogen.h",
36 "gles2_call_visitor_chromium_image_autogen.h", 36 "gles2_call_visitor_chromium_image_autogen.h",
37 "gles2_call_visitor_chromium_map_sub_autogen.h",
37 "gles2_call_visitor_chromium_miscellaneous_autogen.h", 38 "gles2_call_visitor_chromium_miscellaneous_autogen.h",
38 "gles2_call_visitor_chromium_pixel_transfer_buffer_object_autogen.h", 39 "gles2_call_visitor_chromium_pixel_transfer_buffer_object_autogen.h",
39 "gles2_call_visitor_chromium_resize_autogen.h", 40 "gles2_call_visitor_chromium_resize_autogen.h",
40 "gles2_call_visitor_chromium_sub_image_autogen.h",
41 "gles2_call_visitor_chromium_sync_point_autogen.h", 41 "gles2_call_visitor_chromium_sync_point_autogen.h",
42 "gles2_call_visitor_chromium_texture_mailbox_autogen.h", 42 "gles2_call_visitor_chromium_texture_mailbox_autogen.h",
43 "gles2_call_visitor_ext_debug_marker_autogen.h", 43 "gles2_call_visitor_ext_debug_marker_autogen.h",
44 "gles2_call_visitor_occlusion_query_ext_autogen.h", 44 "gles2_call_visitor_occlusion_query_ext_autogen.h",
45 "gles2_call_visitor_oes_vertex_array_object_autogen.h", 45 "gles2_call_visitor_oes_vertex_array_object_autogen.h",
46 "gles2_export.h", 46 "gles2_export.h",
47 "gles2_types.h", 47 "gles2_types.h",
48 "occlusion_query_ext.h", 48 "occlusion_query_ext.h",
49 "oes_vertex_array_object.h", 49 "oes_vertex_array_object.h",
50 ] 50 ]
51 51
52 public_configs = [ ":gles2_config" ] 52 public_configs = [ ":gles2_config" ]
53 53
54 mojo_sdk_public_deps = [ 54 mojo_sdk_public_deps = [
55 "mojo/public/c/environment", 55 "mojo/public/c/environment",
56 "mojo/public/c/system", 56 "mojo/public/c/system",
57 ] 57 ]
58 } 58 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698