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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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/buildflag_header.gni")
6 import("//sandbox/features.gni")
7
5 # Meta-target that forwards to the proper platform one. 8 # Meta-target that forwards to the proper platform one.
6 group("sandbox") { 9 group("sandbox") {
7 if (is_win) { 10 if (is_win) {
8 public_deps = [ 11 public_deps = [
9 "//sandbox/win:sandbox", 12 "//sandbox/win:sandbox",
10 ] 13 ]
11 } else if (is_mac) { 14 } else if (is_mac) {
12 public_deps = [ 15 public_deps = [
13 "//sandbox/mac:sandbox", 16 "//sandbox/mac:sandbox",
14 "//sandbox/mac:seatbelt", 17 "//sandbox/mac:seatbelt",
15 ] 18 ]
16 } else if (is_linux || is_android) { 19 } else if (is_linux || is_android) {
17 public_deps = [ 20 public_deps = [
18 "//sandbox/linux:sandbox", 21 "//sandbox/linux:sandbox",
19 ] 22 ]
20 } 23 }
21 } 24 }
25
26 buildflag_header("sandbox_features") {
27 header = "sandbox_features.h"
28 flags = [ "USE_SECCOMP_BPF=$use_seccomp_bpf" ]
29 }
OLDNEW
« 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