Change the WebCrypto behavior when exporting EC private keys that were imported witho...
[chromium-blink-merge.git] / content / gpu / BUILD.gn
blob5c826511d14e7ec1165b7c7f51bac71fc49bcab0
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     "//content/public/child:child_sources",
29     "//mojo/public/interfaces/application",
30     "//skia",
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 && cpu_arch != "arm") {
47     configs += [ "//third_party/libva:libva_config" ]
48   }
50   if (use_x11) {
51     deps += [ "//ui/events/platform/x11" ]
52   }