From e06e4c1efbeaf61c813dc25e60d4e43005c3817f Mon Sep 17 00:00:00 2001
From: Jeff Vander Stoep <jeffv@google.com>
Date: Wed, 4 Oct 2017 18:15:44 -0700
Subject: [PATCH] Fix typo and Mac build

FAILED:
out/target/product/sailfish/obj/ETC/treble_sepolicy_tests_intermediates/treble_sepolicy_tests
Error: library-path out/host/darwin-x86/lib64/libsepolwrap.so
does not exist

Note, fixing here instead of reverting to avoid reverting
changes in CTS.

Test: ctate testing on Mac
Change-Id: I95f483b152d9bece1a16267cbc49eedb1f902990
---
 Android.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Android.mk b/Android.mk
index 173b9838e..11a693ddd 100644
--- a/Android.mk
+++ b/Android.mk
@@ -177,7 +177,7 @@ ifneq (,$(filter address,$(SANITIZE_TARGET)))
 endif
 
 # Library extension for host-side tests
-ifeq ($(HOSTOS),darwin)
+ifeq ($(HOST_OS),darwin)
 SHAREDLIB_EXT=dylib
 else
 SHAREDLIB_EXT=so
-- 
GitLab