Removing uses of X11 native key events.
[chromium-blink-merge.git] / content / public / common / BUILD.gn
blobe9049e3b1cad1b8c6a4037911db02d2e0ace5d12
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/common/common.gni")
8 # See //content/BUILD.gn for how this works.
9 group("common") {
10   if (is_component_build) {
11     deps = [ "//content" ]
12   } else {
13     deps = [ ":common_sources" ]
14   }
15   forward_dependent_configs_from = deps
18 source_set("common_sources") {
19   visibility = [ "//content/*" ]
21   sources = rebase_path(content_common_gypi_values.public_common_sources,
22                         ".", "//content")
24   configs += [
25     "//content:content_implementation",
26   ]
28   deps = [
29     "//content/common",
30     "//net",
31     "//skia",
32     "//third_party/WebKit/public:blink_headers",
33     "//third_party/icu",
34     "//ui/base",
35     "//ui/gfx",
36   ]
38   forward_dependent_configs_from = [ "//content/common" ]
40   if (!enable_plugins) {
41     sources -= [
42       "pepper_plugin_info.cc",
43       "pepper_plugin_info.h",
44     ]
45   }