Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: content/common/BUILD.gn

Issue 1970693002: Use mojo for Chrome Loading, Part 1 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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("//build/config/ui.gni") 6 import("//build/config/ui.gni")
7 import("//content/common/common.gni") 7 import("//content/common/common.gni")
8 import("//media/media_options.gni") 8 import("//media/media_options.gni")
9 import("//mojo/public/tools/bindings/mojom.gni") 9 import("//mojo/public/tools/bindings/mojom.gni")
10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni") 10 import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
(...skipping 19 matching lines...) Expand all
30 "//media/gpu:gpu_config", 30 "//media/gpu:gpu_config",
31 ] 31 ]
32 32
33 public_deps = [ 33 public_deps = [
34 ":mojo_bindings", 34 ":mojo_bindings",
35 "//gpu/command_buffer/common", 35 "//gpu/command_buffer/common",
36 "//ipc", 36 "//ipc",
37 "//third_party/WebKit/public:blink_headers", 37 "//third_party/WebKit/public:blink_headers",
38 ] 38 ]
39 deps = [ 39 deps = [
40 # This looks needless as we have :mojo_bindings in public_deps, but it's
41 # needed because of allow_circular_includes_from.
42 ":mojo_bindings_cpp_sources",
40 "//base", 43 "//base",
41 "//base/third_party/dynamic_annotations", 44 "//base/third_party/dynamic_annotations",
42 "//build/util:webkit_version", 45 "//build/util:webkit_version",
43 "//cc", 46 "//cc",
44 "//cc/ipc", 47 "//cc/ipc",
45 "//cc/surfaces", 48 "//cc/surfaces",
46 "//components/tracing", 49 "//components/tracing",
47 "//components/tracing:startup_tracing", 50 "//components/tracing:startup_tracing",
48 "//content:resources", 51 "//content:resources",
49 "//content/app/resources", 52 "//content/app/resources",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
96 "//ui/shell_dialogs", 99 "//ui/shell_dialogs",
97 "//url", 100 "//url",
98 "//url/ipc:url_ipc", 101 "//url/ipc:url_ipc",
99 ] 102 ]
100 103
101 defines = [] 104 defines = []
102 include_dirs = [] 105 include_dirs = []
103 libs = [] 106 libs = []
104 ldflags = [] 107 ldflags = []
105 108
109 allow_circular_includes_from = [ ":mojo_bindings_cpp_sources" ]
110
106 if (is_android && use_seccomp_bpf) { 111 if (is_android && use_seccomp_bpf) {
107 set_sources_assignment_filter([]) 112 set_sources_assignment_filter([])
108 sources += [ 113 sources += [
109 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", 114 "sandbox_linux/sandbox_bpf_base_policy_linux.cc",
110 "sandbox_linux/sandbox_bpf_base_policy_linux.h", 115 "sandbox_linux/sandbox_bpf_base_policy_linux.h",
111 ] 116 ]
112 set_sources_assignment_filter(sources_assignment_filter) 117 set_sources_assignment_filter(sources_assignment_filter)
113 } 118 }
114 119
115 if (is_mac) { 120 if (is_mac) {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
240 visibility = [ "//content/*" ] 245 visibility = [ "//content/*" ]
241 246
242 sources = [ 247 sources = [
243 "frame.mojom", 248 "frame.mojom",
244 "image_downloader/image_downloader.mojom", 249 "image_downloader/image_downloader.mojom",
245 "leveldb_wrapper.mojom", 250 "leveldb_wrapper.mojom",
246 "process_control.mojom", 251 "process_control.mojom",
247 "render_widget_window_tree_client_factory.mojom", 252 "render_widget_window_tree_client_factory.mojom",
248 "service_worker/embedded_worker_setup.mojom", 253 "service_worker/embedded_worker_setup.mojom",
249 "storage_partition_service.mojom", 254 "storage_partition_service.mojom",
255 "url_loader.mojom",
256 "url_loader_factory.mojom",
250 ] 257 ]
251 258
252 import_dirs = [ "//mojo/services" ] 259 import_dirs = [ "//mojo/services" ]
253 260
254 public_deps = [ 261 public_deps = [
255 "//components/leveldb/public/interfaces", 262 "//components/leveldb/public/interfaces",
256 "//device/sensors/public/interfaces", 263 "//device/sensors/public/interfaces",
257 "//services/shell/public/interfaces", 264 "//services/shell/public/interfaces",
258 "//services/ui/public/interfaces", 265 "//services/ui/public/interfaces",
259 "//skia/public/interfaces", 266 "//skia/public/interfaces",
260 "//third_party/WebKit/public:mojo_bindings", 267 "//third_party/WebKit/public:mojo_bindings",
261 "//ui/gfx/geometry/mojo", 268 "//ui/gfx/geometry/mojo",
262 "//url/mojo:url_mojom_gurl", 269 "//url/mojo:url_mojom_gurl",
263 "//url/mojo:url_mojom_origin", 270 "//url/mojo:url_mojom_origin",
264 ] 271 ]
265 } 272 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698