summaryrefslogtreecommitdiff
path: root/chromium/components/viz/frame_sinks/BUILD.gn
blob: 386ec2f6ef864ba59a9999c9d98084e615919847 (plain)
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
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

component("frame_sinks") {
  defines = [ "VIZ_IMPLEMENTATION" ]

  sources = [
    "display_provider.h",
    "frame_eviction_manager.cc",
    "frame_eviction_manager.h",
    "frame_evictor.cc",
    "frame_evictor.h",
    "gpu_compositor_frame_sink.cc",
    "gpu_compositor_frame_sink.h",
    "gpu_compositor_frame_sink_delegate.h",
    "gpu_root_compositor_frame_sink.cc",
    "gpu_root_compositor_frame_sink.h",
    "mojo_frame_sink_manager.cc",
    "mojo_frame_sink_manager.h",
  ]

  deps = [
    "//base",
    "//cc",
    "//cc/ipc:interfaces",
    "//cc/surfaces",
    "//components/viz/display_compositor",
    "//gpu/ipc:command_buffer",
  ]

  if (is_win) {
    cflags = [ "/wd4267" ]  # conversion from 'size_t' to 'int' on x64 (crbug.com/633312)
  }
}