fallout of splitting rect.h out of libandroid.
- Main goal here: libandroid now links against
libarect and export its includes.
- Also fix some wrongful makefiles that included
headers without proper dependency list.
Test: built and booted device
Bug: 35164655
Change-Id: Iae17b966bba00fe53424486a75eebff468873787
diff --git a/native/android/Android.mk b/native/android/Android.mk
index f8405ef..69544f5 100644
--- a/native/android/Android.mk
+++ b/native/android/Android.mk
@@ -37,7 +37,8 @@
libnetd_client \
LOCAL_STATIC_LIBRARIES := \
- libstorage
+ libstorage \
+ libarect
LOCAL_C_INCLUDES += \
frameworks/base/native/include \
@@ -45,6 +46,8 @@
bionic/libc/dns/include \
system/netd/include \
+LOCAL_EXPORT_STATIC_LIBRARY_HEADERS := libarect
+
LOCAL_MODULE := libandroid
LOCAL_CFLAGS += $(common_cflags)