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("mojo_use_gles2") { | 5 config("mojo_use_gles2") { |
6 defines = [ "MOJO_USE_GLES2_IMPL" ] | 6 defines = [ "MOJO_USE_GLES2_IMPL" ] |
7 } | 7 } |
8 | 8 |
9 config("gles2_use_mojo") { | 9 config("gles2_use_mojo") { |
10 defines = [ "GLES2_USE_MOJO" ] | 10 defines = [ "GLES2_USE_MOJO" ] |
11 } | 11 } |
12 | 12 |
13 source_set("headers") { | 13 source_set("headers") { |
14 sources = [ | 14 sources = [ |
15 "command_buffer_client_impl.h", | 15 "command_buffer_client_impl.h", |
16 "gles2_context.h", | 16 "gles2_context.h", |
17 ] | 17 ] |
18 | 18 |
19 public_deps = [ | 19 public_deps = [ |
20 "//base", | 20 "//base", |
21 "//components/view_manager/public/interfaces", | 21 "//components/mus/public/interfaces", |
22 "//gpu/command_buffer/client", | 22 "//gpu/command_buffer/client", |
23 "//gpu/command_buffer/client:gles2_implementation", | 23 "//gpu/command_buffer/client:gles2_implementation", |
24 "//gpu/command_buffer/common", | 24 "//gpu/command_buffer/common", |
25 "//third_party/mojo/src/mojo/public/c/gles2:headers", | 25 "//third_party/mojo/src/mojo/public/c/gles2:headers", |
26 "//third_party/mojo/src/mojo/public/cpp/bindings", | 26 "//third_party/mojo/src/mojo/public/cpp/bindings", |
27 ] | 27 ] |
28 } | 28 } |
29 | 29 |
30 source_set("gles2") { | 30 source_set("gles2") { |
31 sources = [ | 31 sources = [ |
(...skipping 12 matching lines...) Expand all Loading... |
44 configs += [ | 44 configs += [ |
45 ":gles2_use_mojo", | 45 ":gles2_use_mojo", |
46 ":mojo_use_gles2", | 46 ":mojo_use_gles2", |
47 ] | 47 ] |
48 public_configs = [ ":gles2_use_mojo" ] | 48 public_configs = [ ":gles2_use_mojo" ] |
49 all_dependent_configs = [ ":mojo_use_gles2" ] | 49 all_dependent_configs = [ ":mojo_use_gles2" ] |
50 | 50 |
51 deps = [ | 51 deps = [ |
52 "//base", | 52 "//base", |
53 "//base/third_party/dynamic_annotations", | 53 "//base/third_party/dynamic_annotations", |
54 "//components/view_manager/gles2:lib", | 54 "//components/mus/gles2:lib", |
55 "//components/view_manager/public/interfaces", | 55 "//components/mus/public/interfaces", |
56 "//gpu/command_buffer/client", | 56 "//gpu/command_buffer/client", |
57 "//gpu/command_buffer/client:gles2_cmd_helper", | 57 "//gpu/command_buffer/client:gles2_cmd_helper", |
58 "//gpu/command_buffer/client:gles2_implementation", | 58 "//gpu/command_buffer/client:gles2_implementation", |
59 "//gpu/command_buffer/client:gles2_interface", | 59 "//gpu/command_buffer/client:gles2_interface", |
60 "//gpu/command_buffer/service:service_sources", | 60 "//gpu/command_buffer/service:service_sources", |
61 "//gpu/command_buffer/common", | 61 "//gpu/command_buffer/common", |
62 "//mojo/environment:chromium", | 62 "//mojo/environment:chromium", |
63 "//mojo/platform_handle:defs", | 63 "//mojo/platform_handle:defs", |
64 "//third_party/mojo/src/mojo/public/c/gles2:headers", | 64 "//third_party/mojo/src/mojo/public/c/gles2:headers", |
65 "//third_party/mojo/src/mojo/public/c/system", | 65 "//third_party/mojo/src/mojo/public/c/system", |
66 "//third_party/mojo/src/mojo/public/cpp/bindings", | 66 "//third_party/mojo/src/mojo/public/cpp/bindings", |
67 "//third_party/mojo/src/mojo/public/cpp/system", | 67 "//third_party/mojo/src/mojo/public/cpp/system", |
68 ] | 68 ] |
69 | 69 |
70 include_dirs = [ ".." ] | 70 include_dirs = [ ".." ] |
71 } | 71 } |
OLD | NEW |