Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(462)

Side by Side Diff: content/common/BUILD.gn

Issue 1134993003: ozone: Implement zero/one-copy texture for Ozone GBM. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: not-leak USE_OZONE_GBM, GetSupportedGpuMemoryBufferConfigurations from ozone, return handle Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 import("//build/config/features.gni") 5 import("//build/config/features.gni")
6 import("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//build/config/linux/pkg_config.gni")
7 import("//content/common/common.gni") 8 import("//content/common/common.gni")
8 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") 9 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 10
10 if (is_chromeos && current_cpu != "arm") { 11 if (is_chromeos && current_cpu != "arm") {
11 action("libva_generate_stubs") { 12 action("libva_generate_stubs") {
12 extra_header = "gpu/media/va_stub_header.fragment" 13 extra_header = "gpu/media/va_stub_header.fragment"
13 14
14 script = "../../tools/generate_stubs/generate_stubs.py" 15 script = "../../tools/generate_stubs/generate_stubs.py"
15 sources = [ 16 sources = [
16 "gpu/media/va.sigs", 17 "gpu/media/va.sigs",
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 sources -= [ "user_agent.cc" ] 259 sources -= [ "user_agent.cc" ]
259 assert(false, "Need to add lots of conditions here") 260 assert(false, "Need to add lots of conditions here")
260 } 261 }
261 262
262 if (use_ozone) { 263 if (use_ozone) {
263 deps += [ 264 deps += [
264 "//ui/ozone:ozone", 265 "//ui/ozone:ozone",
265 "//ui/ozone:ozone_base", 266 "//ui/ozone:ozone_base",
266 "//ui/ozone/gpu", 267 "//ui/ozone/gpu",
267 ] 268 ]
269 pkg_config("libdrm") {
270 packages = [ "libdrm" ]
271 }
272 public_configs = [ ":libdrm" ]
268 } else { 273 } else {
269 sources -= [ 274 sources -= [
270 "cursors/webcursor_ozone.cc", 275 "cursors/webcursor_ozone.cc",
271 "font_list_ozone.cc", 276 "font_list_ozone.cc",
272 "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc", 277 "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.cc",
273 "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h", 278 "gpu/client/gpu_memory_buffer_impl_ozone_native_buffer.h",
274 "gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc", 279 "gpu/gpu_memory_buffer_factory_ozone_native_buffer.cc",
275 "gpu/gpu_memory_buffer_factory_ozone_native_buffer.h", 280 "gpu/gpu_memory_buffer_factory_ozone_native_buffer.h",
276 ] 281 ]
277 } 282 }
(...skipping 209 matching lines...) Expand 10 before | Expand all | Expand 10 after
487 "permission_service.mojom", 492 "permission_service.mojom",
488 "presentation/presentation_service.mojom", 493 "presentation/presentation_service.mojom",
489 "render_frame_setup.mojom", 494 "render_frame_setup.mojom",
490 ] 495 ]
491 496
492 deps = [ 497 deps = [
493 "//content/public/common:mojo_bindings", 498 "//content/public/common:mojo_bindings",
494 "//third_party/mojo/src/mojo/public/interfaces/application:application", 499 "//third_party/mojo/src/mojo/public/interfaces/application:application",
495 ] 500 ]
496 } 501 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698