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

Commit 95e58ab2 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...

Merge "libbinder_ndk: __ANDROID_NDK__ canary" am: 1bc89a26 am: ee4bf4c9 am: 13fdc3d6 am: effc39f5
am: 3a7359df

Change-Id: I9c7b5b4781e90cadd8664c17cc4f0429bf51edd1
parents d2984d04 3a7359df
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());