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

Commit 6eec688e authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder_ndk: add __ANDROID_VENDOR__ error

__ANDROID_VNDK__ is not enough, or it never was

Bug: 295996418
Test: N/A
Change-Id: Id004d64f0be9cc459cb9dc8c4f05e3ff631f8133
parent 5bd4fecb
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_VENDOR__
#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