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 config("gles2_config") { | 5 config("gles2_config") { |
6 defines = [ "GLES2_USE_MOJO" ] | 6 defines = [ "GLES2_USE_MOJO" ] |
7 } | 7 } |
8 | 8 |
9 group("gles2") { | 9 group("gles2") { |
10 public_configs = [ "//third_party/khronos:khronos_headers" ] | 10 public_configs = [ "//third_party/khronos:khronos_headers" ] |
11 public_deps = [ ":headers" ] | 11 public_deps = [ |
12 deps = [ "//mojo/public/platform/native:gles2_thunks" ] | 12 ":headers", |
| 13 ] |
| 14 deps = [ |
| 15 "//mojo/public/platform/native:gles2_thunks", |
| 16 ] |
13 } | 17 } |
14 | 18 |
15 source_set("headers") { | 19 source_set("headers") { |
16 sources = [ | 20 sources = [ |
17 "gles2.h", | 21 "gles2.h", |
18 "gles2_export.h", | 22 "gles2_export.h", |
19 ] | 23 ] |
20 | 24 |
21 public_configs = [ ":gles2_config" ] | 25 public_configs = [ ":gles2_config" ] |
22 | 26 |
23 public_deps = [ | 27 public_deps = [ |
24 "//mojo/public/c/environment", | 28 "//mojo/public/c/environment", |
25 "//mojo/public/c/system", | 29 "//mojo/public/c/system", |
26 ] | 30 ] |
27 } | 31 } |
OLD | NEW |