summaryrefslogtreecommitdiffstats
path: root/ui/ozone/platform/egltest/BUILD.gn
blob: 8acf85b31ef7107051af80657615a66288bcff93 (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
# 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.

import("//tools/generate_library_loader/generate_library_loader.gni")

source_set("egltest") {
  sources = [
    "ozone_platform_egltest.cc",
    "ozone_platform_egltest.h",
  ]

  deps = [
    ":eglplatform_shim",
    "//base",
    "//ui/events/devices",
    "//ui/events/ozone:events_ozone_evdev",
    "//ui/events/ozone:events_ozone_layout",
    "//ui/events/platform",
    "//ui/gfx",
  ]
}

generate_library_loader("eglplatform_shim") {
  name = "LibeglplatformShimLoader"
  output_h = "libeglplatform_shim.h"
  output_cc = "libeglplatform_shim_loader.cc"
  header = "\"ui/ozone/platform/egltest/eglplatform_shim.h\""

  functions = [
    "ShimQueryString",
    "ShimInitialize",
    "ShimTerminate",
    "ShimCreateWindow",
    "ShimQueryWindow",
    "ShimDestroyWindow",
    "ShimGetNativeDisplay",
    "ShimGetNativeWindow",
    "ShimReleaseNativeWindow",
  ]
}
# TODO(spang): eglplatform_shim_x11 once support lands: http://crbug.com/380327