summaryrefslogtreecommitdiffstats
path: root/ui/accelerated_widget_mac/BUILD.gn
blob: 02faaf67323c0811f9bd20df508f8cb1b73f9946 (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
36
37
38
39
40
41
42
43
# Copyright 2014 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.

# GYP version: ui/accelerated_widget_mac/accelerated_widget_mac.gyp:accelerated_widget_mac
component("accelerated_widget_mac") {
  sources = [
    "accelerated_widget_mac.h",
    "accelerated_widget_mac.mm",
    "accelerated_widget_mac_export.h",
    "display_link_mac.cc",
    "display_link_mac.h",
    "io_surface_context.h",
    "io_surface_context.mm",
    "io_surface_layer.h",
    "io_surface_layer.mm",
    "io_surface_texture.h",
    "io_surface_texture.mm",
    "software_layer.h",
    "software_layer.mm",
    "surface_handle_types.cc",
    "surface_handle_types.h",
  ]

  defines = [ "ACCELERATED_WIDGET_MAC_IMPLEMENTATION" ]

  deps = [
    "//base",
    "//skia",
    "//ui/base",
    "//ui/events",
    "//ui/events:events_base",
    "//ui/gfx/geometry",
    "//ui/gl",
  ]

  libs = [
    # Required by io_surface_texture.mm.
    "IOSurface.framework",
    "OpenGL.framework",
    "QuartzCore.framework",
  ]
}