Revert of Change the callsites of InterfacePtr<> methods which directly deal with...
[chromium-blink-merge.git] / content / public / common / BUILD.gn
blob51772e359125dad5a37059c6065fb90df6e6a48f
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")
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
9 # See //content/BUILD.gn for how this works.
10 group("common") {
11   if (is_component_build) {
12     public_deps = [
13       "//content",
14     ]
15   } else {
16     public_deps = [
17       ":common_sources",
18     ]
19   }
22 source_set("common_sources") {
23   visibility = [ "//content/*" ]
25   sources = rebase_path(content_common_gypi_values.public_common_sources,
26                         ".",
27                         "//content")
29   configs += [ "//content:content_implementation" ]
31   public_deps = [
32     "//content/common",
33     "//third_party/mojo/src/mojo/public/cpp/bindings",
34   ]
35   deps = [
36     "//net",
37     "//skia",
38     "//third_party/WebKit/public:blink_headers",
39     "//third_party/icu",
40     "//ui/base",
41     "//ui/gfx",
42   ]
44   if (!enable_plugins) {
45     sources -= [
46       "pepper_plugin_info.cc",
47       "pepper_plugin_info.h",
48     ]
49   }
52 mojom("mojo_bindings") {
53   sources = [
54     "background_sync.mojom",
55     "mojo_geoposition.mojom",
56     "permission_status.mojom",
57   ]