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

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: rebase Created 4 years, 4 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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
97 "//ui/shell_dialogs", 100 "//ui/shell_dialogs",
98 "//url", 101 "//url",
99 "//url/ipc:url_ipc", 102 "//url/ipc:url_ipc",
100 ] 103 ]
101 104
102 defines = [] 105 defines = []
103 include_dirs = [] 106 include_dirs = []
104 libs = [] 107 libs = []
105 ldflags = [] 108 ldflags = []
106 109
110 allow_circular_includes_from = [ ":mojo_bindings_cpp_sources" ]
111
107 if (is_android && use_seccomp_bpf) { 112 if (is_android && use_seccomp_bpf) {
108 set_sources_assignment_filter([]) 113 set_sources_assignment_filter([])
109 sources += [ 114 sources += [
110 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", 115 "sandbox_linux/sandbox_bpf_base_policy_linux.cc",
111 "sandbox_linux/sandbox_bpf_base_policy_linux.h", 116 "sandbox_linux/sandbox_bpf_base_policy_linux.h",
112 ] 117 ]
113 set_sources_assignment_filter(sources_assignment_filter) 118 set_sources_assignment_filter(sources_assignment_filter)
114 } 119 }
115 120
116 if (is_mac) { 121 if (is_mac) {
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
242 247
243 sources = [ 248 sources = [
244 "frame.mojom", 249 "frame.mojom",
245 "image_downloader/image_downloader.mojom", 250 "image_downloader/image_downloader.mojom",
246 "leveldb_wrapper.mojom", 251 "leveldb_wrapper.mojom",
247 "process_control.mojom", 252 "process_control.mojom",
248 "render_frame_message_filter.mojom", 253 "render_frame_message_filter.mojom",
249 "render_widget_window_tree_client_factory.mojom", 254 "render_widget_window_tree_client_factory.mojom",
250 "service_worker/embedded_worker_setup.mojom", 255 "service_worker/embedded_worker_setup.mojom",
251 "storage_partition_service.mojom", 256 "storage_partition_service.mojom",
257 "url_loader.mojom",
258 "url_loader_factory.mojom",
252 ] 259 ]
253 260
254 import_dirs = [ "//mojo/services" ] 261 import_dirs = [ "//mojo/services" ]
255 262
256 public_deps = [ 263 public_deps = [
257 "//components/leveldb/public/interfaces", 264 "//components/leveldb/public/interfaces",
258 "//device/sensors/public/interfaces", 265 "//device/sensors/public/interfaces",
259 "//services/shell/public/interfaces", 266 "//services/shell/public/interfaces",
260 "//services/ui/public/interfaces", 267 "//services/ui/public/interfaces",
261 "//skia/public/interfaces", 268 "//skia/public/interfaces",
262 "//third_party/WebKit/public:mojo_bindings", 269 "//third_party/WebKit/public:mojo_bindings",
263 "//ui/gfx/geometry/mojo", 270 "//ui/gfx/geometry/mojo",
264 "//url/mojo:url_mojom_gurl", 271 "//url/mojo:url_mojom_gurl",
265 "//url/mojo:url_mojom_origin", 272 "//url/mojo:url_mojom_origin",
266 ] 273 ]
267 274
268 use_new_wrapper_types = false 275 use_new_wrapper_types = false
269 } 276 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698