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

Unified Diff: content/renderer/BUILD.gn

Issue 2523253002: Convert use_seccomp_bpf to the BUILDFLAG system. (Closed)
Patch Set: Rebase Created 4 years 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/renderer/BUILD.gn
diff --git a/content/renderer/BUILD.gn b/content/renderer/BUILD.gn
index c2f85ca8ddd2c96cd741b40d7c25fb74bea6e23d..f86bc6a36a7a6660a79256cd37e9d5d4e1544945 100644
--- a/content/renderer/BUILD.gn
+++ b/content/renderer/BUILD.gn
@@ -893,8 +893,8 @@ target(link_target_type, "renderer") {
]
}
- if (use_seccomp_bpf) {
- defines += [ "USE_SECCOMP_BPF" ]
+ if (is_linux || is_android) {
+ deps += [ "//sandbox:sandbox_features" ]
}
if (use_ozone) {
« no previous file with comments | « content/common/sandbox_linux/sandbox_seccomp_bpf_linux.cc ('k') | content/renderer/renderer_main_platform_delegate_android.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698