Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / content / gpu / BUILD.gn
blobd43bb8205447c06abdd970572b7bc81b3f649321
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_child_thread.cc",
13     "gpu_child_thread.h",
14     "gpu_main.cc",
15     "gpu_process.cc",
16     "gpu_process.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     "//content/public/child:child_sources",
29     "//skia",
30     "//third_party/mojo/src/mojo/public/interfaces/application",
31     "//ui/gl",
32   ]
34   if (is_win) {
35     configs += [
36       "//third_party/khronos:khronos_headers",
37       "//third_party/wtl:wtl_includes",
38     ]
39     libs = [ "setupapi.lib" ]
40     deps += [
41       "//third_party/angle:libEGL",
42       "//third_party/angle:libGLESv2",
43     ]
44   }
46   if (is_chromeos && current_cpu != "arm") {
47     configs += [ "//third_party/libva:libva_config" ]
48   }
50   if (use_x11) {
51     deps += [ "//ui/events/platform/x11" ]
52   }