cygprofile: increase timeouts to allow showing web contents
[chromium-blink-merge.git] / ui / ozone / platform / egltest / BUILD.gn
blobdacb8edc3c60086a7fa333170cf926be6571ac9a
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
3 # found in the LICENSE file.
5 import("//tools/generate_library_loader/generate_library_loader.gni")
6 import("//ui/ozone/ozone.gni")
8 source_set("egltest") {
9   sources = [
10     "client_native_pixmap_factory_egltest.cc",
11     "client_native_pixmap_factory_egltest.h",
12     "ozone_platform_egltest.cc",
13     "ozone_platform_egltest.h",
14   ]
16   deps = [
17     ":eglplatform_shim",
18     "//base",
19     "//ui/events/devices",
20     "//ui/events/ozone:events_ozone_evdev",
21     "//ui/events/ozone:events_ozone_layout",
22     "//ui/events/platform",
23     "//ui/gfx",
24   ]
27 generate_library_loader("eglplatform_shim") {
28   name = "LibeglplatformShimLoader"
29   output_h = "libeglplatform_shim.h"
30   output_cc = "libeglplatform_shim_loader.cc"
31   header = "\"ui/ozone/platform/egltest/eglplatform_shim.h\""
33   functions = [
34     "ShimQueryString",
35     "ShimInitialize",
36     "ShimTerminate",
37     "ShimCreateWindow",
38     "ShimQueryWindow",
39     "ShimDestroyWindow",
40     "ShimGetNativeDisplay",
41     "ShimGetNativeWindow",
42     "ShimReleaseNativeWindow",
43   ]
46 # TODO(spang): eglplatform_shim_x11 should become a loadable_module once
47 # support lands: http://crbug.com/380327. Until then, it is not valid on
48 # platforms other than Linux.
50 # GYP version: "ui/ozone/platform/egltest/egltest.gypi:eglplatform_shim_x11"
51 if (is_linux && ozone_platform_ozonex) {
52   shared_library("eglplatform_shim_x11") {
53     output_name = "libeglplatform_shim"
55     output_extension = "so.1"
57     sources = [
58       "eglplatform_shim.h",
59       "eglplatform_shim_xeleven.cc",
60     ]
62     configs += [ "//build/config/linux:x11" ]
64     deps = [
65       "//build/config/sanitizers:deps",
66     ]
67   }