Add ICU message format support
[chromium-blink-merge.git] / content / gpu / BUILD.gn
blob2f5d1133244fd8fda557203b4e4c91dd9b5a0c47
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 # See //content/BUILD.gn for how this works.
9 group("gpu") {
10   visibility = [ "//content/*" ]
12   if (is_component_build) {
13     public_deps = [
14       "//content",
15     ]
16   } else {
17     public_deps = [
18       ":gpu_sources",
19     ]
20   }
23 source_set("gpu_sources") {
24   visibility = [ "//content/*" ]
26   sources = [
27     "gpu_child_thread.cc",
28     "gpu_child_thread.h",
29     "gpu_main.cc",
30     "gpu_process.cc",
31     "gpu_process.h",
32     "gpu_watchdog_thread.cc",
33     "gpu_watchdog_thread.h",
34     "in_process_gpu_thread.cc",
35     "in_process_gpu_thread.h",
36   ]
38   configs += [ "//content:content_implementation" ]
40   deps = [
41     "//base",
42     "//content:export",
43     "//content/public/child:child_sources",
44     "//mojo/application/public/interfaces",
45     "//skia",
46     "//ui/gl",
47   ]
49   if (is_win) {
50     configs += [
51       "//third_party/khronos:khronos_headers",
52       "//third_party/wtl:wtl_includes",
53     ]
54     libs = [ "setupapi.lib" ]
55     deps += [
56       "//third_party/angle:libEGL",
57       "//third_party/angle:libGLESv2",
58     ]
59   }
61   if (is_chromeos && current_cpu != "arm") {
62     configs += [ "//third_party/libva:libva_config" ]
63   }
65   if (use_x11) {
66     deps += [ "//ui/events/platform/x11" ]
67   }