We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents dc829d6 + e7f5f2f commit 4e1e221Copy full SHA for 4e1e221
2 files changed
libs/binder/ndk/stability.cpp
@@ -23,7 +23,7 @@
23
24
using ::android::internal::Stability;
25
26
-#ifdef __ANDROID_VNDK__
+#if defined(__ANDROID_VNDK__) && !defined(__TRUSTY__)
27
#error libbinder_ndk should only be built in a system context
28
#endif
29
libs/binder/trusty/ndk/rules.mk
@@ -23,6 +23,7 @@ MODULE_SRCS := \
$(LIBBINDER_NDK_DIR)/ibinder.cpp \
$(LIBBINDER_NDK_DIR)/libbinder.cpp \
$(LIBBINDER_NDK_DIR)/parcel.cpp \
+ $(LIBBINDER_NDK_DIR)/stability.cpp \
$(LIBBINDER_NDK_DIR)/status.cpp \
MODULE_EXPORT_INCLUDES += \
0 commit comments