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 |
11 config("gles2_use_mojo") { | 11 config("gles2_use_mojo") { |
12 defines = [ "GLES2_USE_MOJO" ] | 12 defines = [ "GLES2_USE_MOJO" ] |
13 } | 13 } |
14 | 14 |
15 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl | 15 # GYP version: mojo/mojo_base.gyp:mojo_gles2_impl |
16 component("gles2") { | 16 component("gles2") { |
17 output_name = "mojo_gles2_impl" | 17 output_name = "mojo_gles2_impl" |
18 | 18 |
19 deps = [ | 19 deps = [ |
20 "//base", | 20 "//base", |
21 "//base/third_party/dynamic_annotations", | 21 "//base/third_party/dynamic_annotations", |
22 "//gpu/command_buffer/client", | 22 "//gpu/command_buffer/client", |
| 23 "//gpu/command_buffer/client:gles2_cmd_helper", |
23 "//gpu/command_buffer/client:gles2_implementation", | 24 "//gpu/command_buffer/client:gles2_implementation", |
24 "//gpu/command_buffer/client:gles2_interface", | 25 "//gpu/command_buffer/client:gles2_interface", |
25 "//gpu/command_buffer/common", | 26 "//gpu/command_buffer/common", |
26 "//mojo/environment:chromium", | 27 "//mojo/environment:chromium", |
27 "//mojo/public/c/system:for_component", | 28 "//mojo/public/c/system:for_component", |
28 "//mojo/services/gles2:lib", | 29 "//mojo/services/gles2:lib", |
29 "//mojo/services/public/interfaces/gpu", | 30 "//mojo/services/public/interfaces/gpu", |
30 ] | 31 ] |
31 | 32 |
32 defines = [ | 33 defines = [ |
(...skipping 11 matching lines...) Expand all Loading... |
44 | 45 |
45 sources = [ | 46 sources = [ |
46 "command_buffer_client_impl.cc", | 47 "command_buffer_client_impl.cc", |
47 "command_buffer_client_impl.h", | 48 "command_buffer_client_impl.h", |
48 "gles2_impl_export.h", | 49 "gles2_impl_export.h", |
49 "gles2_impl.cc", | 50 "gles2_impl.cc", |
50 "gles2_context.cc", | 51 "gles2_context.cc", |
51 "gles2_context.h", | 52 "gles2_context.h", |
52 ] | 53 ] |
53 } | 54 } |
OLD | NEW |