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 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_miscellaneous.h", |
| 24 "chromium_sub_image.h", |
| 25 "chromium_sync_point.h", |
| 26 "chromium_texture_mailbox.h", |
23 "gles2.h", | 27 "gles2.h", |
| 28 "gles2_call_visitor_autogen.h", |
| 29 "gles2_call_visitor_chromium_miscellaneous_autogen.h", |
| 30 "gles2_call_visitor_chromium_sub_image_autogen.h", |
| 31 "gles2_call_visitor_chromium_sync_point_autogen.h", |
| 32 "gles2_call_visitor_chromium_texture_mailbox_autogen.h", |
| 33 "gles2_call_visitor_occlusion_query_ext_autogen.h", |
24 "gles2_export.h", | 34 "gles2_export.h", |
| 35 "gles2_types.h", |
| 36 "occlusion_query_ext.h", |
25 ] | 37 ] |
26 | 38 |
27 public_configs = [ ":gles2_config" ] | 39 public_configs = [ ":gles2_config" ] |
28 | 40 |
29 mojo_sdk_public_deps = [ | 41 mojo_sdk_public_deps = [ |
30 "mojo/public/c/environment", | 42 "mojo/public/c/environment", |
31 "mojo/public/c/system", | 43 "mojo/public/c/system", |
32 ] | 44 ] |
33 } | 45 } |
OLD | NEW |