Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit effc39f5 authored by Steven Moreland's avatar Steven Moreland Committed by android-build-merger
Browse files

Merge "libbinder_ndk: __ANDROID_NDK__ canary" am: 1bc89a26 am: ee4bf4c9

am: 13fdc3d6

Change-Id: I1a5297be11fb4b639dce2afe04fd53405a99a30a
parents b9664b8f 13fdc3d6
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -27,6 +27,10 @@ using ::android::internal::Stability;
#error libbinder_ndk should only be built in a system context
#endif

#ifdef __ANDROID_NDK__
#error libbinder_ndk should only be built in a system context
#endif

// explicit extern because symbol is only declared in header when __ANDROID_VNDK__
extern "C" void AIBinder_markVendorStability(AIBinder* binder) {
    Stability::markVndk(binder->getBinder().get());