Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / gpu / BUILD.gn
blobd1f844897d8f331e4ed77efe76e57073fd0064bd
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("//build/config/ui.gni")
6 import("//content/content.gni")
8 source_set("gpu") {
9   visibility = [ "//content/*" ]
11   sources = [
12     "gpu_main.cc",
13     "gpu_process.cc",
14     "gpu_process.h",
15     "gpu_child_thread.cc",
16     "gpu_child_thread.h",
17     "gpu_watchdog_thread.cc",
18     "gpu_watchdog_thread.h",
19     "in_process_gpu_thread.cc",
20     "in_process_gpu_thread.h",
21   ]
23   configs += [ "//content:content_implementation" ]
25   deps = [
26     "//base",
27     "//content:export",
28     "//mojo/public/interfaces/application",
29     "//skia",
30     "//ui/gl",
31   ]
33   if (is_win) {
34     configs += [
35       "//third_party/khronos:khronos_headers",
36       "//third_party/wtl:wtl_includes",
37     ]
38     libs = [ "setupapi.lib" ]
39     deps += [
40       "//third_party/angle:libEGL",
41       "//third_party/angle:libGLESv2",
42     ]
43   }
45   if (is_chromeos && cpu_arch != "arm") {
46     configs += [ "//third_party/libva:libva_config" ]
47   }
49   if (use_x11) {
50     deps += [ "//ui/events/platform/x11" ]
51   }