aboutsummaryrefslogtreecommitdiffstats
path: root/Android.bp
diff options
context:
space:
mode:
authorDan Willemsen <dwillemsen@google.com>2016-11-17 01:02:25 -0800
committerDan Willemsen <dwillemsen@google.com>2016-11-17 01:50:43 -0800
commit2e47b34435de8cfe3f1533c553fe546217c98b3c (patch)
treebe009e1af663c782465c0bd9cf2545926eea367d /Android.bp
parent967c6a9b87eb4eca13449498183e3f191843c9cd (diff)
downloadbuild_soong-2e47b34435de8cfe3f1533c553fe546217c98b3c.tar.gz
build_soong-2e47b34435de8cfe3f1533c553fe546217c98b3c.tar.bz2
build_soong-2e47b34435de8cfe3f1533c553fe546217c98b3c.zip
Add Toolchain.Bionic()
Move some cc ctx.Host() / ctx.Device() checks over to using ctx.toolchain().Bionic(). There will be more changes, these are just the obvious ones dealing with host_ldlibs / crt / system libraries. Bug: 31559095 Test: out/soong/build.ninja is identical Change-Id: Ibba60483b4ab0e01f6996eb7d883120e4acc1830
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp3
1 files changed, 3 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 66702b1e..a941ca49 100644
--- a/Android.bp
+++ b/Android.bp
@@ -209,6 +209,7 @@ cc_defaults {
toolchain_library {
name: "libatomic",
+ defaults: ["linux_bionic_supported"],
arch: {
arm: {
instruction_set: "arm",
@@ -218,6 +219,7 @@ toolchain_library {
toolchain_library {
name: "libgcc",
+ defaults: ["linux_bionic_supported"],
arch: {
arm: {
instruction_set: "arm",
@@ -227,6 +229,7 @@ toolchain_library {
toolchain_library {
name: "libgcov",
+ defaults: ["linux_bionic_supported"],
arch: {
arm: {
instruction_set: "arm",