aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-03 04:38:20 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-03 04:38:20 +0000
commitfded9df0282181e14e4ea2113b20a1469a2363b7 (patch)
tree598753e3856253062d073ec4da99be2085962612
parentc208eb5e4cea82ea995f7091e6f92c76fea41d95 (diff)
parent50e090d607949697ae050fb86666738b3d814c08 (diff)
downloadplatform_build_kati-fded9df0282181e14e4ea2113b20a1469a2363b7.tar.gz
platform_build_kati-fded9df0282181e14e4ea2113b20a1469a2363b7.tar.bz2
platform_build_kati-fded9df0282181e14e4ea2113b20a1469a2363b7.zip
Merge remote-tracking branch 'aosp/upstream' am: d120bfe213
am: 50e090d607 Change-Id: I70e935e3b19373b912f503be7eb9890fdb21b118
-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