| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 group("common") { | 7 group("common") { |
| 8 if (is_component_build) { | 8 if (is_component_build) { |
| 9 public_deps = [ | 9 public_deps = [ |
| 10 "//gpu", | 10 "//gpu", |
| (...skipping 28 matching lines...) Expand all Loading... |
| 39 "gpu_command_buffer_traits.h", | 39 "gpu_command_buffer_traits.h", |
| 40 "gpu_command_buffer_traits_multi.h", | 40 "gpu_command_buffer_traits_multi.h", |
| 41 "id_type_traits.h", | 41 "id_type_traits.h", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 configs += [ | 44 configs += [ |
| 45 "//gpu:gpu_implementation", | 45 "//gpu:gpu_implementation", |
| 46 "//third_party/khronos:khronos_headers", | 46 "//third_party/khronos:khronos_headers", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 public_deps = [ |
| 50 "//gpu/command_buffer/common:common_sources", |
| 51 "//ipc", |
| 52 ] |
| 53 |
| 49 deps = [ | 54 deps = [ |
| 50 "//base", | 55 "//base", |
| 51 "//gpu/command_buffer/common:common_sources", | |
| 52 "//ipc", | |
| 53 ] | 56 ] |
| 54 } | 57 } |
| 55 | 58 |
| 56 source_set("ipc_common_sources") { | 59 source_set("ipc_common_sources") { |
| 57 # External code should depend on this via //gpu/ipc/common above rather than | 60 # External code should depend on this via //gpu/ipc/common above rather than |
| 58 # depending on this directly or the component build will break. | 61 # depending on this directly or the component build will break. |
| 59 visibility = [ "//gpu/*" ] | 62 visibility = [ "//gpu/*" ] |
| 60 | 63 |
| 61 sources = [ | 64 sources = [ |
| 62 "gpu_memory_buffer_support.cc", | 65 "gpu_memory_buffer_support.cc", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 73 "gpu_surface_lookup.h", | 76 "gpu_surface_lookup.h", |
| 74 "memory_stats.cc", | 77 "memory_stats.cc", |
| 75 "memory_stats.h", | 78 "memory_stats.h", |
| 76 ] | 79 ] |
| 77 | 80 |
| 78 configs += [ | 81 configs += [ |
| 79 "//gpu:gpu_implementation", | 82 "//gpu:gpu_implementation", |
| 80 "//third_party/khronos:khronos_headers", | 83 "//third_party/khronos:khronos_headers", |
| 81 ] | 84 ] |
| 82 | 85 |
| 86 public_deps = [ |
| 87 ":command_buffer_traits_sources", |
| 88 ] |
| 89 |
| 83 deps = [ | 90 deps = [ |
| 84 ":command_buffer_traits_sources", | |
| 85 "//base", | 91 "//base", |
| 86 "//gpu/command_buffer/common:common_sources", | 92 "//gpu/command_buffer/common:common_sources", |
| 87 "//gpu/config:config_sources", | 93 "//gpu/config:config_sources", |
| 88 "//ipc", | 94 "//ipc", |
| 89 "//ui/events/ipc", | 95 "//ui/events/ipc", |
| 90 "//ui/gfx/ipc", | 96 "//ui/gfx/ipc", |
| 91 "//ui/gl", | 97 "//ui/gl", |
| 92 "//url/ipc:url_ipc", | 98 "//url/ipc:url_ipc", |
| 93 ] | 99 ] |
| 94 | 100 |
| 95 if (is_android) { | 101 if (is_android) { |
| 96 sources += [ | 102 sources += [ |
| 97 "android/surface_texture_manager.cc", | 103 "android/surface_texture_manager.cc", |
| 98 "android/surface_texture_manager.h", | 104 "android/surface_texture_manager.h", |
| 99 "android/surface_texture_peer.cc", | 105 "android/surface_texture_peer.cc", |
| 100 "android/surface_texture_peer.h", | 106 "android/surface_texture_peer.h", |
| 101 ] | 107 ] |
| 102 } | 108 } |
| 103 | 109 |
| 104 if (use_ozone) { | 110 if (use_ozone) { |
| 105 deps += [ "//ui/ozone" ] | 111 deps += [ "//ui/ozone" ] |
| 106 } | 112 } |
| 107 } | 113 } |
| OLD | NEW |