OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 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 | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 import("//build/config/features.gni") | 5 import("//build/config/features.gni") |
6 import("//content/common/common.gni") | 6 import("//content/common/common.gni") |
7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 7 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
8 | 8 |
9 # See //content/BUILD.gn for how this works. | 9 # See //content/BUILD.gn for how this works. |
10 group("common") { | 10 group("common") { |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 | 55 |
56 sources = rebase_path(content_common_gypi_values.public_common_sources, | 56 sources = rebase_path(content_common_gypi_values.public_common_sources, |
57 ".", | 57 ".", |
58 "//content") | 58 "//content") |
59 | 59 |
60 configs += [ | 60 configs += [ |
61 "//build/config:precompiled_headers", | 61 "//build/config:precompiled_headers", |
62 "//content:content_implementation", | 62 "//content:content_implementation", |
63 ] | 63 ] |
64 | 64 |
| 65 public_configs = [ "//v8:external_startup_data" ] |
| 66 |
65 public_deps = [ | 67 public_deps = [ |
66 "//content/common", | 68 "//content/common", |
67 "//third_party/mojo/src/mojo/public/cpp/bindings", | 69 "//third_party/mojo/src/mojo/public/cpp/bindings", |
68 ] | 70 ] |
69 deps = [ | 71 deps = [ |
70 "//net", | 72 "//net", |
71 "//skia", | 73 "//skia", |
72 "//third_party/WebKit/public:blink_headers", | 74 "//third_party/WebKit/public:blink_headers", |
73 "//third_party/icu", | 75 "//third_party/icu", |
74 "//ui/base", | 76 "//ui/base", |
75 "//ui/gfx", | 77 "//ui/gfx", |
76 ] | 78 ] |
77 | 79 |
78 if (!enable_plugins) { | 80 if (!enable_plugins) { |
79 sources -= [ | 81 sources -= [ |
80 "pepper_plugin_info.cc", | 82 "pepper_plugin_info.cc", |
81 "pepper_plugin_info.h", | 83 "pepper_plugin_info.h", |
82 ] | 84 ] |
83 } | 85 } |
84 } | 86 } |
85 | 87 |
86 mojom("mojo_bindings") { | 88 mojom("mojo_bindings") { |
87 sources = [ | 89 sources = [ |
88 "background_sync.mojom", | 90 "background_sync.mojom", |
89 "mojo_geoposition.mojom", | 91 "mojo_geoposition.mojom", |
90 "permission_status.mojom", | 92 "permission_status.mojom", |
91 "service_worker_event_status.mojom", | 93 "service_worker_event_status.mojom", |
92 ] | 94 ] |
93 } | 95 } |
OLD | NEW |