Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / content / public / common / BUILD.gn
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.
4
5 import("//build/config/features.gni")
6 import("//content/common/common.gni")
7 import("//mojo/public/tools/bindings/mojom.gni")
8
9 # See //content/BUILD.gn for how this works.
10 group("common") {
11   if (is_component_build) {
12     public_deps = [ "//content" ]
13   } else {
14     public_deps = [ ":common_sources" ]
15   }
16 }
17
18 source_set("common_sources") {
19   visibility = [ "//content/*" ]
20
21   sources = rebase_path(content_common_gypi_values.public_common_sources,
22                         ".", "//content")
23
24   configs += [
25     "//content:content_implementation",
26   ]
27
28   public_deps = [
29     "//content/common",
30   ]
31   deps = [
32     "//net",
33     "//skia",
34     "//third_party/WebKit/public:blink_headers",
35     "//third_party/icu",
36     "//ui/base",
37     "//ui/gfx",
38   ]
39
40   if (!enable_plugins) {
41     sources -= [
42       "pepper_plugin_info.cc",
43       "pepper_plugin_info.h",
44     ]
45   }
46 }
47
48 mojom("mojo_bindings") {
49   sources = [
50     "mojo_geoposition.mojom",
51   ]
52 }