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

Unified Diff: content/common/BUILD.gn

Issue 2867693004: Snapshot of all changes to get jumbo in blink and content.
Patch Set: Exclude certain files from jumbo because of a Windows problem Created 3 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: content/common/BUILD.gn
diff --git a/content/common/BUILD.gn b/content/common/BUILD.gn
index b61879a757beca64bd66327dcb8e0279c23119f1..c5c41fcc2db34e339a1b17900c9bb248cf0a2ee1 100644
--- a/content/common/BUILD.gn
+++ b/content/common/BUILD.gn
@@ -11,6 +11,7 @@ import("//mojo/public/tools/bindings/mojom.gni")
import("//ppapi/features/features.gni")
import("//sandbox/features.gni")
import("//tools/ipc_fuzzer/ipc_fuzzer.gni")
+import("//content/content.gni")
if (is_mac) {
import("//build/config/mac/mac_sdk.gni")
}
@@ -26,7 +27,7 @@ buildflag_header("features") {
]
}
-source_set("common") {
+content_source_set("common") {
# Targets external to content should always link to the public API.
# In addition, targets outside of the content component (shell and tests)
# must not link to this because it will duplicate the code in the component
@@ -356,6 +357,25 @@ source_set("common") {
"zygote_commands_linux.h",
]
+ jumbo_excluded_sources = [
+ # IPC Headers. Nothing more to say.
+ "content_message_generator.cc",
+ "input/input_param_traits.cc", # IPC stuff
+ "input/input_event_struct_traits.cc", # IPC stuff
+ "input/touch_action_optional_struct_traits.cc", # IPC stuff
+ "media/media_devices_param_traits.cc", # IPC stuff
+ "resource_messages.cc", # IPC stuff
+ "swapped_out_messages.cc", # IPC stuff
+ "content_ipc_logging.cc",
+ ]
+
+ if (is_linux) {
+ jumbo_excluded_sources += [
+ # Conflicts with bpf_cros_arm_gpu_policy_linux.cc
+ "sandbox_linux/sandbox_seccomp_bpf_linux.cc",
+ ]
+ }
+
configs += [
"//content:content_implementation",
"//build/config:precompiled_headers",
@@ -551,6 +571,12 @@ source_set("common") {
"sandbox_linux/sandbox_bpf_base_policy_linux.cc",
"sandbox_linux/sandbox_bpf_base_policy_linux.h",
]
+
+ jumbo_excluded_sources -= [
+ # Conflicts with bpf_cros_arm_gpu_policy_linux.cc
+ "sandbox_linux/sandbox_seccomp_bpf_linux.cc",
+ ]
+
}
}
« no previous file with comments | « content/child/service_worker/web_service_worker_impl.cc ('k') | content/common/cursors/webcursor_aurax11.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698