1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/features.gni")
import("//content/common/common.gni")
import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni")
# See //content/BUILD.gn for how this works.
group("common") {
if (is_component_build) {
public_deps = [
"//content",
]
} else {
public_deps = [
":common_sources",
]
}
}
# This target allows other targets to depend on result_codes.h which is a
# header-only dependency, without bringing in all of content.
source_set("result_codes") {
sources = [
"result_codes.h",
]
}
source_set("common_sources") {
visibility = [ "//content/*" ]
sources = rebase_path(content_common_gypi_values.public_common_sources,
".",
"//content")
configs += [ "//content:content_implementation" ]
public_deps = [
"//content/common",
"//third_party/mojo/src/mojo/public/cpp/bindings",
]
deps = [
"//net",
"//skia",
"//third_party/WebKit/public:blink_headers",
"//third_party/icu",
"//ui/base",
"//ui/gfx",
]
if (!enable_plugins) {
sources -= [
"pepper_plugin_info.cc",
"pepper_plugin_info.h",
]
}
}
mojom("mojo_bindings") {
sources = [
"background_sync.mojom",
"mojo_geoposition.mojom",
"permission_status.mojom",
"service_worker_event_status.mojom",
]
}
|