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

Unified Diff: sandbox/linux/seccomp-bpf/bpf_tests.h

Issue 108013002: Revert of Add build_config_functions.h to avoid #ifdef (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « build/build_config_functions.h ('k') | sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sandbox/linux/seccomp-bpf/bpf_tests.h
diff --git a/sandbox/linux/seccomp-bpf/bpf_tests.h b/sandbox/linux/seccomp-bpf/bpf_tests.h
index a1984d654ee6dd1499778d97a23c7b36bcdfdb43..13ccf7d61acd401cd4a1a162d8ee15767f361a29 100644
--- a/sandbox/linux/seccomp-bpf/bpf_tests.h
+++ b/sandbox/linux/seccomp-bpf/bpf_tests.h
@@ -10,7 +10,6 @@
#include <sys/types.h>
#include "build/build_config.h"
-#include "build/build_config_functions.h"
#include "sandbox/linux/tests/unit_tests.h"
#include "sandbox/linux/seccomp-bpf/sandbox_bpf.h"
@@ -93,8 +92,7 @@
// Android, ARM and Valgrind are the three only configurations where we
// accept not having kernel BPF support.
// TODO(jln): remote ARM from this list when possible (crbug.com/243478).
- if (!build::IsAndroid() && !IsRunningOnValgrind() &&
- !build::IsArchitectureARM()) {
+ if (!IsAndroid() && !IsRunningOnValgrind() && !IsArchitectureArm()) {
const bool seccomp_bpf_is_supported = false;
BPF_ASSERT(seccomp_bpf_is_supported);
}
« no previous file with comments | « build/build_config_functions.h ('k') | sandbox/linux/seccomp-bpf/sandbox_bpf_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698