From 7b593eb9c9cc00b426e4ca0d527fd8111dcc3999 Mon Sep 17 00:00:00 2001 From: Pavlin Radoslavov Date: Thu, 25 Jan 2018 05:15:38 -0800 Subject: [PATCH] Disable host compilation on Darwin for net_test_btif_state_machine The net_test_btif_state_machine unit test depends on libosi, and that library itself is disabled for Darwin. Test: Code compilation on Linux Change-Id: I143015370988657e2903f86175244308c01d5162 (cherry picked from commit 8fb98a5350f8b5893b9fc160fa030fd7dbae06a9) --- btif/Android.bp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/btif/Android.bp b/btif/Android.bp index 88b3cfa04..e57c154b8 100644 --- a/btif/Android.bp +++ b/btif/Android.bp @@ -175,5 +175,10 @@ cc_test { "libbluetooth-types", "libosi", ], + target: { + darwin: { + enabled: false, + }, + }, cflags: ["-DBUILDCFG"], } -- 2.11.0