aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan Willemsen <dan@danw.org>2017-09-29 20:08:35 -0700
committerGitHub <noreply@github.com>2017-09-29 20:08:35 -0700
commita71d591065bb4e0b058c7f9efa4e708dbc6c13c9 (patch)
tree851992830a1538f1db88a0a6c7d02377d6a7c5e8
parentbd56cbed65d42b8473523600fceab94639ee6eec (diff)
parente6ede25f35cc5c15c1914146c2e93b0088cf0ab8 (diff)
downloadandroid_build_kati-a71d591065bb4e0b058c7f9efa4e708dbc6c13c9.tar.gz
android_build_kati-a71d591065bb4e0b058c7f9efa4e708dbc6c13c9.tar.bz2
android_build_kati-a71d591065bb4e0b058c7f9efa4e708dbc6c13c9.zip
Merge pull request #124 from danw/bionic
Bionic support and build system updates
-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