Index: sandbox/linux/BUILD.gn |
diff --git a/sandbox/linux/BUILD.gn b/sandbox/linux/BUILD.gn |
index 1107e0cf10b3564b83ff97d815806745429b2a14..6836a89b8a69b3567ab4eca4019f0b502af55ada 100644 |
--- a/sandbox/linux/BUILD.gn |
+++ b/sandbox/linux/BUILD.gn |
@@ -86,7 +86,10 @@ test("sandbox_linux_unittests") { |
"//testing/gtest", |
] |
- libs = [ "rt" ] |
+ if (is_linux) { |
+ # Don't use this on Android. |
+ libs = [ "rt" ] |
+ } |
if (compile_suid_client) { |
sources += [ |