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

Unified Diff: sandbox/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
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_android.cc ('k') | sandbox/features.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/BUILD.gn
diff --git a/sandbox/BUILD.gn b/sandbox/BUILD.gn
index 8ca3574e182b3b1422ac4a67a8ffeabb2be196df..8c0405ed8ec9565863b7e813bf0686a46bc42340 100644
--- a/sandbox/BUILD.gn
+++ b/sandbox/BUILD.gn
@@ -2,6 +2,9 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/buildflag_header.gni")
+import("//sandbox/features.gni")
+
# Meta-target that forwards to the proper platform one.
group("sandbox") {
if (is_win) {
@@ -19,3 +22,8 @@ group("sandbox") {
]
}
}
+
+buildflag_header("sandbox_features") {
+ header = "sandbox_features.h"
+ flags = [ "USE_SECCOMP_BPF=$use_seccomp_bpf" ]
+}
« no previous file with comments | « content/renderer/renderer_main_platform_delegate_android.cc ('k') | sandbox/features.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698