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