| 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/mus/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", | 25 "//mojo/public/c/gles2", |
| 26 "//third_party/mojo/src/mojo/public/cpp/bindings", | 26 "//mojo/public/cpp/bindings", |
| 27 ] | 27 ] |
| 28 } | 28 } |
| 29 | 29 |
| 30 component("gles2") { | 30 component("gles2") { |
| 31 output_name = "mojo_gles2_impl" | 31 output_name = "mojo_gles2_impl" |
| 32 sources = [ | 32 sources = [ |
| 33 "command_buffer_client_impl.cc", | 33 "command_buffer_client_impl.cc", |
| 34 "command_buffer_client_impl.h", | 34 "command_buffer_client_impl.h", |
| 35 "gles2_context.cc", | 35 "gles2_context.cc", |
| 36 "gles2_context.h", | 36 "gles2_context.h", |
| (...skipping 17 matching lines...) Expand all Loading... |
| 54 "//base/third_party/dynamic_annotations", | 54 "//base/third_party/dynamic_annotations", |
| 55 "//components/mus/gles2:lib", | 55 "//components/mus/gles2:lib", |
| 56 "//components/mus/public/interfaces", | 56 "//components/mus/public/interfaces", |
| 57 "//gpu/command_buffer/client", | 57 "//gpu/command_buffer/client", |
| 58 "//gpu/command_buffer/client:gles2_cmd_helper", | 58 "//gpu/command_buffer/client:gles2_cmd_helper", |
| 59 "//gpu/command_buffer/client:gles2_implementation", | 59 "//gpu/command_buffer/client:gles2_implementation", |
| 60 "//gpu/command_buffer/client:gles2_interface", | 60 "//gpu/command_buffer/client:gles2_interface", |
| 61 "//gpu/command_buffer/common", | 61 "//gpu/command_buffer/common", |
| 62 "//mojo/environment:chromium", | 62 "//mojo/environment:chromium", |
| 63 "//mojo/platform_handle:for_component", | 63 "//mojo/platform_handle:for_component", |
| 64 "//third_party/mojo/src/mojo/public/c/gles2", | 64 "//mojo/public/c/gles2", |
| 65 "//third_party/mojo/src/mojo/public/c/system:for_component", | 65 "//mojo/public/c/system:for_component", |
| 66 "//third_party/mojo/src/mojo/public/cpp/bindings", | 66 "//mojo/public/cpp/bindings", |
| 67 "//third_party/mojo/src/mojo/public/cpp/system", | 67 "//mojo/public/cpp/system", |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 if (!is_component_build) { | 70 if (!is_component_build) { |
| 71 deps += [ "//gpu/command_buffer/service:service_sources" ] | 71 deps += [ "//gpu/command_buffer/service:service_sources" ] |
| 72 } | 72 } |
| 73 | 73 |
| 74 include_dirs = [ ".." ] | 74 include_dirs = [ ".." ] |
| 75 } | 75 } |
| OLD | NEW |