Pin Chrome's shortcut to the Win10 Start menu on install and OS upgrade.
[chromium-blink-merge.git] / ui / ozone / platform / egltest / BUILD.gn
blobc65a3ba0de2a5f15fe1156efaf1a3eef128462fd
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     "ozone_platform_egltest.cc",
11     "ozone_platform_egltest.h",
12   ]
14   deps = [
15     ":eglplatform_shim",
16     "//base",
17     "//ui/events/devices",
18     "//ui/events/ozone:events_ozone_evdev",
19     "//ui/events/ozone:events_ozone_layout",
20     "//ui/events/platform",
21     "//ui/gfx",
22   ]
25 generate_library_loader("eglplatform_shim") {
26   name = "LibeglplatformShimLoader"
27   output_h = "libeglplatform_shim.h"
28   output_cc = "libeglplatform_shim_loader.cc"
29   header = "\"ui/ozone/platform/egltest/eglplatform_shim.h\""
31   functions = [
32     "ShimQueryString",
33     "ShimInitialize",
34     "ShimTerminate",
35     "ShimCreateWindow",
36     "ShimQueryWindow",
37     "ShimDestroyWindow",
38     "ShimGetNativeDisplay",
39     "ShimGetNativeWindow",
40     "ShimReleaseNativeWindow",
41   ]
44 # TODO(spang): eglplatform_shim_x11 should become a loadable_module once
45 # support lands: http://crbug.com/380327. Until then, it is not valid on
46 # platforms other than Linux.
48 # GYP version: "ui/ozone/platform/egltest/egltest.gypi:eglplatform_shim_x11"
49 if (is_linux && ozone_platform_ozonex) {
50   shared_library("eglplatform_shim_x11") {
51     output_name = "libeglplatform_shim"
53     output_extension = "so.1"
55     sources = [
56       "eglplatform_shim.h",
57       "eglplatform_shim_xeleven.cc",
58     ]
60     configs += [ "//build/config/linux:x11" ]
61   }