diff options
author | 2023-10-26 19:34:08 +0000 | |
---|---|---|
committer | 2023-10-26 19:34:08 +0000 | |
commit | a35aa0fe1231d9f1e8f393a16b0231460ccc335c (patch) | |
tree | dc99da29d77073448f5ddb44f6dc28879eea7480 | |
parent | 373a25271ca7ad5f6b5884b0a36c26d24be245fd (diff) | |
parent | 6eec688e0b670a9ae1e19dce57a1933da1c8e300 (diff) |
Merge "libbinder_ndk: add __ANDROID_VENDOR__ error" into main
-rw-r--r-- | libs/binder/ndk/stability.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/binder/ndk/stability.cpp b/libs/binder/ndk/stability.cpp index 7eafb9c025..73eb863706 100644 --- a/libs/binder/ndk/stability.cpp +++ b/libs/binder/ndk/stability.cpp @@ -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 |