aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2017-10-02 19:42:37 -0700
committerDan Willemsen <dwillemsen@google.com>2017-10-02 19:42:37 -0700
commitd120bfe21325e56229c01e07d0ac5aef7c94c778 (patch)
tree598753e3856253062d073ec4da99be2085962612
parentd18d5bb2122043a37570d8fcaf2f212ec505ff3f (diff)
parenta71d591065bb4e0b058c7f9efa4e708dbc6c13c9 (diff)
downloadplatform_build_kati-d120bfe21325e56229c01e07d0ac5aef7c94c778.tar.gz
platform_build_kati-d120bfe21325e56229c01e07d0ac5aef7c94c778.tar.bz2
platform_build_kati-d120bfe21325e56229c01e07d0ac5aef7c94c778.zip
Merge remote-tracking branch 'aosp/upstream'
* aosp/upstream: Fix build and test using bionic as a libc Remove default libs Test: m ckati Change-Id: Id07d6e42aec9f4efdc0ac9fe85fc9c90d1724dc5
-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