Fix Android build more.

Android doesn't have the Yama LSM, so this line isn't needed. (It doesn't
compile either.)

Original CL: https://breakpad.appspot.com/610002/
A=thakis@chromium.org
R=mark@chromium.org

Review URL: https://breakpad.appspot.com/611002

git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1198 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
thestig@chromium.org 2013-07-01 22:18:18 +00:00
parent 8965a51b2c
commit 7b5811eaac

View File

@ -69,7 +69,9 @@ class LinuxPtraceDumperChildTest : public testing::Test {
protected: protected:
virtual void SetUp() { virtual void SetUp() {
child_pid_ = fork(); child_pid_ = fork();
#ifndef __ANDROID__
prctl(PR_SET_PTRACER, child_pid_); prctl(PR_SET_PTRACER, child_pid_);
#endif
} }
/* Gtest is calling TestBody from this class, which sets up a child /* Gtest is calling TestBody from this class, which sets up a child