Skip to content

Commit 4e1e221

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "libbinder: Include stability.cpp in the Trusty NDK library" into main
2 parents dc829d6 + e7f5f2f commit 4e1e221

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

libs/binder/ndk/stability.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323

2424
using ::android::internal::Stability;
2525

26-
#ifdef __ANDROID_VNDK__
26+
#if defined(__ANDROID_VNDK__) && !defined(__TRUSTY__)
2727
#error libbinder_ndk should only be built in a system context
2828
#endif
2929

libs/binder/trusty/ndk/rules.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ MODULE_SRCS := \
2323
$(LIBBINDER_NDK_DIR)/ibinder.cpp \
2424
$(LIBBINDER_NDK_DIR)/libbinder.cpp \
2525
$(LIBBINDER_NDK_DIR)/parcel.cpp \
26+
$(LIBBINDER_NDK_DIR)/stability.cpp \
2627
$(LIBBINDER_NDK_DIR)/status.cpp \
2728

2829
MODULE_EXPORT_INCLUDES += \

0 commit comments

Comments
 (0)