| 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 # GYP version: mojo/mojo_public.gypi:mojo_gles2 | 9 # GYP version: mojo/mojo_public.gypi:mojo_gles2 |
| 10 static_library("gles2") { | 10 static_library("gles2") { |
| 11 defines = [ | 11 defines = [ |
| 12 "MOJO_GLES2_IMPLEMENTATION", | 12 "MOJO_GLES2_IMPLEMENTATION", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 configs += [ | 15 configs += [ |
| 16 ":gles2_config", | 16 ":gles2_config", |
| 17 "//third_party/khronos:khronos_headers", | 17 "//third_party/khronos:khronos_headers", |
| 18 ] | 18 ] |
| 19 direct_dependent_configs = [ | 19 public_configs = [ |
| 20 ":gles2_config", | 20 ":gles2_config", |
| 21 "//third_party/khronos:khronos_headers", | 21 "//third_party/khronos:khronos_headers", |
| 22 ] | 22 ] |
| 23 | 23 |
| 24 sources = [ | 24 sources = [ |
| 25 "../c/gles2/gles2.h", | 25 "../c/gles2/gles2.h", |
| 26 "../c/gles2/gles2_export.h", | 26 "../c/gles2/gles2_export.h", |
| 27 "../platform/native/gles2_thunks.cc", | 27 "../platform/native/gles2_thunks.cc", |
| 28 "../platform/native/gles2_thunks.h", | 28 "../platform/native/gles2_thunks.h", |
| 29 "../platform/native/gles2_impl_thunks.cc", | 29 "../platform/native/gles2_impl_thunks.cc", |
| (...skipping 30 matching lines...) Expand all Loading... |
| 60 } else { | 60 } else { |
| 61 deps = [ ":gles2" ] | 61 deps = [ ":gles2" ] |
| 62 } | 62 } |
| 63 } | 63 } |
| 64 | 64 |
| 65 group("for_component") { | 65 group("for_component") { |
| 66 if (is_component_build) { | 66 if (is_component_build) { |
| 67 deps = [ "//mojo/gles2" ] | 67 deps = [ "//mojo/gles2" ] |
| 68 } | 68 } |
| 69 } | 69 } |
| OLD | NEW |