| 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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 46 "//third_party/khronos:khronos_headers", | 46 "//third_party/khronos:khronos_headers", |
| 47 ] | 47 ] |
| 48 | 48 |
| 49 public_deps = [ | 49 public_deps = [ |
| 50 "//gpu/command_buffer/common:common_sources", | 50 "//gpu/command_buffer/common:common_sources", |
| 51 "//ipc", | 51 "//ipc", |
| 52 ] | 52 ] |
| 53 | 53 |
| 54 deps = [ | 54 deps = [ |
| 55 "//base", | 55 "//base", |
| 56 "//ui/gfx/ipc", |
| 57 "//ui/gfx/ipc/geometry", |
| 56 ] | 58 ] |
| 57 } | 59 } |
| 58 | 60 |
| 59 source_set("ipc_common_sources") { | 61 source_set("ipc_common_sources") { |
| 60 # External code should depend on this via //gpu/ipc/common above rather than | 62 # External code should depend on this via //gpu/ipc/common above rather than |
| 61 # depending on this directly or the component build will break. | 63 # depending on this directly or the component build will break. |
| 62 visibility = [ "//gpu/*" ] | 64 visibility = [ "//gpu/*" ] |
| 63 | 65 |
| 64 sources = [ | 66 sources = [ |
| 65 "gpu_memory_buffer_support.cc", | 67 "gpu_memory_buffer_support.cc", |
| (...skipping 21 matching lines...) Expand all Loading... |
| 87 ":command_buffer_traits_sources", | 89 ":command_buffer_traits_sources", |
| 88 ] | 90 ] |
| 89 | 91 |
| 90 deps = [ | 92 deps = [ |
| 91 "//base", | 93 "//base", |
| 92 "//gpu/command_buffer/common:common_sources", | 94 "//gpu/command_buffer/common:common_sources", |
| 93 "//gpu/config:config_sources", | 95 "//gpu/config:config_sources", |
| 94 "//ipc", | 96 "//ipc", |
| 95 "//ui/events/ipc", | 97 "//ui/events/ipc", |
| 96 "//ui/gfx/ipc", | 98 "//ui/gfx/ipc", |
| 99 "//ui/gfx/ipc/geometry", |
| 97 "//ui/gl", | 100 "//ui/gl", |
| 98 "//url/ipc:url_ipc", | 101 "//url/ipc:url_ipc", |
| 99 ] | 102 ] |
| 100 | 103 |
| 101 if (is_android) { | 104 if (is_android) { |
| 102 sources += [ | 105 sources += [ |
| 103 "android/surface_texture_manager.cc", | 106 "android/surface_texture_manager.cc", |
| 104 "android/surface_texture_manager.h", | 107 "android/surface_texture_manager.h", |
| 105 "android/surface_texture_peer.cc", | 108 "android/surface_texture_peer.cc", |
| 106 "android/surface_texture_peer.h", | 109 "android/surface_texture_peer.h", |
| 107 ] | 110 ] |
| 108 } | 111 } |
| 109 | 112 |
| 110 if (use_ozone) { | 113 if (use_ozone) { |
| 111 deps += [ "//ui/ozone" ] | 114 deps += [ "//ui/ozone" ] |
| 112 } | 115 } |
| 113 } | 116 } |
| OLD | NEW |