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

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 18 matching lines...) Expand all
29 "//build/config/compiler:no_size_t_to_int_warning", 29 "//build/config/compiler:no_size_t_to_int_warning",
30 ] 30 ]
31 31
32 public_deps = [ 32 public_deps = [
33 ":mojo_bindings", 33 ":mojo_bindings",
34 "//gpu/command_buffer/common", 34 "//gpu/command_buffer/common",
35 "//ipc", 35 "//ipc",
36 "//third_party/WebKit/public:blink_headers", 36 "//third_party/WebKit/public:blink_headers",
37 ] 37 ]
38 deps = [ 38 deps = [
39 # This looks needless as we have :mojo_bindings in public_deps, but it's
40 # needed because of allow_circular_includes_from.
41 ":mojo_bindings_cpp_sources",
39 "//base", 42 "//base",
40 "//base/third_party/dynamic_annotations", 43 "//base/third_party/dynamic_annotations",
41 "//build/util:webkit_version", 44 "//build/util:webkit_version",
42 "//cc", 45 "//cc",
43 "//cc/ipc", 46 "//cc/ipc",
44 "//cc/surfaces", 47 "//cc/surfaces",
45 "//components/tracing", 48 "//components/tracing",
46 "//components/tracing:startup_tracing", 49 "//components/tracing:startup_tracing",
47 "//content:resources", 50 "//content:resources",
48 "//content/app/resources", 51 "//content/app/resources",
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 "//ui/shell_dialogs", 98 "//ui/shell_dialogs",
96 "//url", 99 "//url",
97 "//url/ipc:url_ipc", 100 "//url/ipc:url_ipc",
98 ] 101 ]
99 102
100 defines = [] 103 defines = []
101 include_dirs = [] 104 include_dirs = []
102 libs = [] 105 libs = []
103 ldflags = [] 106 ldflags = []
104 107
108 allow_circular_includes_from = [ ":mojo_bindings_cpp_sources" ]
109
105 if (is_android && use_seccomp_bpf) { 110 if (is_android && use_seccomp_bpf) {
106 set_sources_assignment_filter([]) 111 set_sources_assignment_filter([])
107 sources += [ 112 sources += [
108 "sandbox_linux/sandbox_bpf_base_policy_linux.cc", 113 "sandbox_linux/sandbox_bpf_base_policy_linux.cc",
109 "sandbox_linux/sandbox_bpf_base_policy_linux.h", 114 "sandbox_linux/sandbox_bpf_base_policy_linux.h",
110 ] 115 ]
111 set_sources_assignment_filter(sources_assignment_filter) 116 set_sources_assignment_filter(sources_assignment_filter)
112 } 117 }
113 118
114 if (is_mac) { 119 if (is_mac) {
(...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after
239 visibility = [ "//content/*" ] 244 visibility = [ "//content/*" ]
240 245
241 sources = [ 246 sources = [
242 "frame.mojom", 247 "frame.mojom",
243 "image_downloader/image_downloader.mojom", 248 "image_downloader/image_downloader.mojom",
244 "leveldb_wrapper.mojom", 249 "leveldb_wrapper.mojom",
245 "process_control.mojom", 250 "process_control.mojom",
246 "render_widget_window_tree_client_factory.mojom", 251 "render_widget_window_tree_client_factory.mojom",
247 "service_worker/embedded_worker_setup.mojom", 252 "service_worker/embedded_worker_setup.mojom",
248 "storage_partition_service.mojom", 253 "storage_partition_service.mojom",
254 "url_loader.mojom",
255 "url_loader_factory.mojom",
249 ] 256 ]
250 257
251 import_dirs = [ "//mojo/services" ] 258 import_dirs = [ "//mojo/services" ]
252 259
253 public_deps = [ 260 public_deps = [
254 "//components/leveldb/public/interfaces", 261 "//components/leveldb/public/interfaces",
255 "//device/sensors/public/interfaces", 262 "//device/sensors/public/interfaces",
256 "//services/shell/public/interfaces", 263 "//services/shell/public/interfaces",
257 "//services/ui/public/interfaces", 264 "//services/ui/public/interfaces",
258 "//skia/public/interfaces", 265 "//skia/public/interfaces",
259 "//third_party/WebKit/public:mojo_bindings", 266 "//third_party/WebKit/public:mojo_bindings",
260 "//ui/gfx/geometry/mojo", 267 "//ui/gfx/geometry/mojo",
261 "//url/mojo:url_mojom_gurl", 268 "//url/mojo:url_mojom_gurl",
262 "//url/mojo:url_mojom_origin", 269 "//url/mojo:url_mojom_origin",
263 ] 270 ]
264 } 271 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698