Index: sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc |
diff --git a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc |
index d631bb05e4f7359916767b07a1192d820f734737..7ea1cc2ff9ae286bcb97d5da8268353a45ce3b87 100644 |
--- a/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc |
+++ b/sandbox/linux/seccomp-bpf-helpers/syscall_parameters_restrictions_unittests.cc |
@@ -16,7 +16,10 @@ |
#include "sandbox/linux/seccomp-bpf/syscall.h" |
#include "sandbox/linux/services/linux_syscalls.h" |
#include "sandbox/linux/tests/unit_tests.h" |
+ |
+#if !defined(OS_ANDROID) |
#include "third_party/lss/linux_syscall_support.h" // for MAKE_PROCESS_CPUCLOCK |
+#endif |
namespace sandbox { |
@@ -117,6 +120,7 @@ BPF_DEATH_TEST_C(ParameterRestrictions, |
#endif // defined(OS_CHROMEOS) |
+#if !defined(OS_ANDROID) |
BPF_DEATH_TEST_C(ParameterRestrictions, |
clock_gettime_crash_cpu_clock, |
DEATH_SEGV_MESSAGE(sandbox::GetErrorMessageContentForTests()), |
@@ -130,6 +134,7 @@ BPF_DEATH_TEST_C(ParameterRestrictions, |
struct timespec ts; |
clock_gettime(kInitCPUClockID, &ts); |
} |
+#endif // !defined(OS_ANDROID) |
} // namespace |