1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29
   30
   31
   32
   33
   34
   35
   36
   37
   38
   39
   40
   41
   42
   43
   44
   45
   46
   47

gpu / ipc / client / BUILD.gn [blame]

# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//build/config/ui.gni")

group("client") {
  if (is_component_build) {
    public_deps = [ "//gpu" ]
  } else {
    public_deps = [ ":ipc_client_sources" ]
  }
}

source_set("ipc_client_sources") {
  sources = [
    "client_shared_image_interface.cc",
    "client_shared_image_interface.h",
    "command_buffer_proxy_impl.cc",
    "command_buffer_proxy_impl.h",
    "gpu_channel_host.cc",
    "gpu_channel_host.h",
    "gpu_channel_observer.h",
    "image_decode_accelerator_proxy.cc",
    "image_decode_accelerator_proxy.h",
    "shared_image_interface_proxy.cc",
    "shared_image_interface_proxy.h",
  ]
  configs += [ "//gpu:gpu_implementation" ]
  deps = [
    "//base",
    "//cc/paint",
    "//components/viz/common:shared_image_format",
    "//gpu/command_buffer/client:client_sources",
    "//gpu/command_buffer/common:common_sources",
    "//gpu/config:config_sources",
    "//mojo/public/cpp/bindings",
    "//mojo/public/cpp/system",
    "//ui/gfx:color_space",
    "//ui/gfx/geometry",
    "//ui/gl",
  ]
  public_deps = [
    "//gpu/ipc/common:ipc_common_sources",
    "//ipc",
  ]
}