| 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 import("//mojo/public/tools/bindings/mojom.gni") | 6 import("//mojo/public/tools/bindings/mojom.gni") |
| 7 | 7 |
| 8 group("common") { | 8 group("common") { |
| 9 if (is_component_build) { | 9 if (is_component_build) { |
| 10 public_deps = [ | 10 public_deps = [ |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 168 ] | 168 ] |
| 169 deps = [ | 169 deps = [ |
| 170 ":interfaces_shared_cpp_sources", | 170 ":interfaces_shared_cpp_sources", |
| 171 ":surface_handle_type", | 171 ":surface_handle_type", |
| 172 "//gpu/command_buffer/common", | 172 "//gpu/command_buffer/common", |
| 173 "//mojo/public/cpp/bindings:bindings", | 173 "//mojo/public/cpp/bindings:bindings", |
| 174 ] | 174 ] |
| 175 } | 175 } |
| 176 | 176 |
| 177 if (is_mac || is_android) { | 177 if (is_mac || is_android) { |
| 178 source_set("gpu_surface_tracker") { | 178 component("gpu_surface_tracker") { |
| 179 sources = [ | 179 sources = [ |
| 180 "gpu_surface_tracker.cc", | 180 "gpu_surface_tracker.cc", |
| 181 "gpu_surface_tracker.h", | 181 "gpu_surface_tracker.h", |
| 182 ] | 182 ] |
| 183 | 183 |
| 184 deps = [ | 184 deps = [ |
| 185 "//gpu/ipc/common", | 185 "//gpu/ipc/common", |
| 186 "//ui/gl", | 186 "//ui/gl", |
| 187 ] | 187 ] |
| 188 | 188 |
| 189 configs += [ "//gpu:gpu_implementation" ] |
| 190 |
| 189 if (is_android) { | 191 if (is_android) { |
| 190 libs = [ "android" ] | 192 libs = [ "android" ] |
| 191 } | 193 } |
| 192 } | 194 } |
| 193 } | 195 } |
| OLD | NEW |