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

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

Merge "libbinder_ndk: clearer error on host misconfigured"

am: e07aecf7

Change-Id: Ib9a4a7643dd77966859bc04da72cbacfcde678ec
parents 5c4f6504 e07aecf7
Loading
Loading
Loading
Loading
+6 −0
Original line number Original line Diff line number Diff line
@@ -34,6 +34,12 @@
#include <android/binder_status.h>
#include <android/binder_status.h>


__BEGIN_DECLS
__BEGIN_DECLS

#ifndef __ANDROID_API__
#error Android builds must be compiled against a specific API. If this is an \
 android platform host build, you must use libbinder_ndk_host_user.
#endif

#if __ANDROID_API__ >= 29
#if __ANDROID_API__ >= 29


// Also see TF_* in kernel's binder.h
// Also see TF_* in kernel's binder.h