aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2017-10-03 08:13:29 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2017-10-03 08:13:29 +0000
commit0e205e11a6ebbc6eac90b1e7022f279946b71a6e (patch)
tree598753e3856253062d073ec4da99be2085962612
parent1fc74a3e9b55217719024c511512a2e7d572ae0e (diff)
parentf8fc91dcc372c69c0667c73405ff57dc51982431 (diff)
downloadplatform_build_kati-0e205e11a6ebbc6eac90b1e7022f279946b71a6e.tar.gz
platform_build_kati-0e205e11a6ebbc6eac90b1e7022f279946b71a6e.tar.bz2
platform_build_kati-0e205e11a6ebbc6eac90b1e7022f279946b71a6e.zip
Snap for 4373608 from f8fc91dcc372c69c0667c73405ff57dc51982431 to pi-release
Change-Id: Ie33639f1f0b5586f7f2c0831b4e718740c51d49a
-rw-r--r--Android.bp5
-rw-r--r--exec.cc1
-rwxr-xr-xruntest.rb2
3 files changed, 3 insertions, 5 deletions
diff --git a/Android.bp b/Android.bp
index 8dbb9cb..ab91582 100644
--- a/Android.bp
+++ b/Android.bp
@@ -20,11 +20,6 @@ cc_defaults {
"-Werror",
"-DNOLOG",
],
- target: {
- linux: {
- host_ldlibs: ["-lrt", "-lpthread"],
- },
- },
tidy_checks: [
"-google-global-names-in-headers",
"-google-build-using-namespace",
diff --git a/exec.cc b/exec.cc
index 1569519..fa534d5 100644
--- a/exec.cc
+++ b/exec.cc
@@ -18,6 +18,7 @@
#include <stdio.h>
#include <stdlib.h>
+#include <sys/wait.h>
#include <memory>
#include <unordered_map>
diff --git a/runtest.rb b/runtest.rb
index 190c11f..7bc552d 100755
--- a/runtest.rb
+++ b/runtest.rb
@@ -177,6 +177,8 @@ def normalize_kati_log(output)
# Normalization for "include foo" with Go kati.
output.gsub!(/(: )open (\S+): n(o such file or directory)\nNOTE:.*/,
"\\1\\2: N\\3")
+ # Bionic libc has different error messages than glibc
+ output.gsub!(/Too many symbolic links encountered/, 'Too many levels of symbolic links')
output
end