Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / public / renderer / BUILD.gn
blob5d34977ead4be0066f55bfd82a498e9716cdae26
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/features.gni")
6 import("//content/renderer/renderer.gni")
8 # See //content/BUILD.gn for how this works.
9 group("renderer") {
10   if (is_component_build) {
11     deps = [ "//content" ]
12   } else {
13     deps = [ ":renderer_sources" ]
14   }
15   forward_dependent_configs_from = deps
18 source_set("renderer_sources") {
19   visibility = [ "//content/*" ]
21   sources = rebase_path(content_renderer_gypi_values.public_renderer_sources,
22                         ".", "//content")
24   configs += [
25     "//content:content_implementation",
26   ]
28   deps = [
29     "//content/public/common:common_sources",
30     "//content/renderer",
31     "//skia",
32     "//third_party/libjingle",
33     "//third_party/WebKit/public:blink_headers",
34     "//third_party/widevine/cdm:version_h",
35     "//ui/gfx",
36     "//v8",
37   ]
39   allow_circular_includes_from = [
40     # This target is a pair with content/renderer. They always go together and
41     # include headers from each other.
42     "//content/renderer",
43   ]
45   if (enable_webrtc) {
46     sources += rebase_path(
47         content_renderer_gypi_values.public_renderer_webrtc_sources,
48         ".", "//content")
49   }