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 source_set("control_thunks") { | 15 source_set("control_thunks") { |
16 sources = [ | 16 sources = [ |
17 "command_buffer_client_impl.cc", | 17 "command_buffer_client_impl.cc", |
18 "command_buffer_client_impl.h", | 18 "command_buffer_client_impl.h", |
19 "control_thunks_impl.cc", | 19 "control_thunks_impl.cc", |
20 "control_thunks_impl.h", | 20 "control_thunks_impl.h", |
21 "gles2_context.cc", | 21 "gles2_context.cc", |
22 "gles2_context.h", | 22 "gles2_context.h", |
23 ] | 23 ] |
24 | 24 |
25 deps = [ | 25 deps = [ |
26 "//base", | 26 "//base", |
27 "//mojo/public/c/system", | 27 "//mojo/public/c/system", |
28 "//gpu/command_buffer/client", | 28 "//gpu/command_buffer/client", |
| 29 "//gpu/command_buffer/client:gles2_c_lib", |
29 "//gpu/command_buffer/client:gles2_cmd_helper", | 30 "//gpu/command_buffer/client:gles2_cmd_helper", |
30 "//gpu/command_buffer/client:gles2_implementation", | 31 "//gpu/command_buffer/client:gles2_implementation", |
31 "//gpu/command_buffer/common", | 32 "//gpu/command_buffer/common", |
32 "//mojo/public/c/gpu:MGL", | 33 "//mojo/public/c/gpu:MGL", |
33 "//mojo/public/c/gpu:MGL_onscreen", | 34 "//mojo/public/c/gpu:MGL_onscreen", |
34 "//mojo/public/c/gpu:MGL_signal_sync_point", | 35 "//mojo/public/c/gpu:MGL_signal_sync_point", |
35 "//mojo/public/cpp/bindings", | 36 "//mojo/public/cpp/bindings", |
36 "//mojo/public/cpp/system", | 37 "//mojo/public/cpp/system", |
37 "//services/gles2:lib", | 38 "//services/gles2:lib", |
38 "//mojo/services/gpu/public/interfaces", | 39 "//mojo/services/gpu/public/interfaces", |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
72 configs += [ ":gles2_use_mojo" ] | 73 configs += [ ":gles2_use_mojo" ] |
73 | 74 |
74 deps = [ | 75 deps = [ |
75 ":control_thunks", | 76 ":control_thunks", |
76 ":gles2", | 77 ":gles2", |
77 "//mojo/public/c/gpu:MGL", | 78 "//mojo/public/c/gpu:MGL", |
78 "//mojo/public/c/gpu:MGL_onscreen", | 79 "//mojo/public/c/gpu:MGL_onscreen", |
79 "//mojo/public/cpp/system", | 80 "//mojo/public/cpp/system", |
80 ] | 81 ] |
81 } | 82 } |
OLD | NEW |