Depend on the more specific ndk timestamp.

There are now two NDK sysroot timestamp files: ndk_base which depends
on the headers and stub libraries, and ndk which depends on ndk_base
and the static libraries. For building modules that need the NDK, we
only need to depend on the base sysroot.

Test: make native
Bug: None
Change-Id: I803032eda125a632d780c9cde10f47270491d0d2
This commit is contained in:
Dan Albert
2017-12-14 13:52:04 -08:00
parent 973301af79
commit 248b832d44

View File

@@ -88,7 +88,7 @@ ifneq ($(LOCAL_SDK_VERSION),)
endif
# Make sure we've built the NDK.
my_additional_dependencies += $(SOONG_OUT_DIR)/ndk.timestamp
my_additional_dependencies += $(SOONG_OUT_DIR)/ndk_base.timestamp
# mips32r6 is not supported by the NDK. No released NDK contains these
# libraries, but the r10 in prebuilts/ndk had a local hack to add them :(