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/public/tools/bindings/mojom.gni") | 5 import("//mojo/public/tools/bindings/mojom.gni") |
6 | 6 |
7 config("mojo_use_gles2") { | 7 config("mojo_use_gles2") { |
8 defines = [ "MOJO_USE_GLES2_IMPL" ] | 8 defines = [ "MOJO_USE_GLES2_IMPL" ] |
9 } | 9 } |
10 | 10 |
(...skipping 21 matching lines...) Expand all Loading... |
32 defines = [ | 32 defines = [ |
33 "GL_GLEXT_PROTOTYPES", | 33 "GL_GLEXT_PROTOTYPES", |
34 "MOJO_GLES2_IMPL_IMPLEMENTATION", | 34 "MOJO_GLES2_IMPL_IMPLEMENTATION", |
35 "MOJO_GLES2_IMPLEMENTATION", | 35 "MOJO_GLES2_IMPLEMENTATION", |
36 ] | 36 ] |
37 | 37 |
38 configs += [ | 38 configs += [ |
39 ":gles2_use_mojo", | 39 ":gles2_use_mojo", |
40 ":mojo_use_gles2", | 40 ":mojo_use_gles2", |
41 ] | 41 ] |
42 direct_dependent_configs = [ ":gles2_use_mojo" ] | 42 public_configs = [ ":gles2_use_mojo" ] |
43 all_dependent_configs = [ ":mojo_use_gles2" ] | 43 all_dependent_configs = [ ":mojo_use_gles2" ] |
44 | 44 |
45 sources = [ | 45 sources = [ |
46 "command_buffer_client_impl.cc", | 46 "command_buffer_client_impl.cc", |
47 "command_buffer_client_impl.h", | 47 "command_buffer_client_impl.h", |
48 "gles2_impl_export.h", | 48 "gles2_impl_export.h", |
49 "gles2_impl.cc", | 49 "gles2_impl.cc", |
50 "gles2_context.cc", | 50 "gles2_context.cc", |
51 "gles2_context.h", | 51 "gles2_context.h", |
52 ] | 52 ] |
53 } | 53 } |
OLD | NEW |