diff options
| author | 2023-10-26 20:05:18 +0000 | |
|---|---|---|
| committer | 2023-10-26 20:05:18 +0000 | |
| commit | d6060030dc8baa17fa27f1c15bc1cceda919c151 (patch) | |
| tree | 077ffc3479cf7b9f5f165e7a00eed99c379afec2 | |
| parent | 62ae666daf00ee9187b646202467254f5321d0a2 (diff) | |
| parent | a35aa0fe1231d9f1e8f393a16b0231460ccc335c (diff) | |
Merge "libbinder_ndk: add __ANDROID_VENDOR__ error" into main am: a35aa0fe12
Original change: https://android-review.googlesource.com/c/platform/frameworks/native/+/2802638
Change-Id: Ia834e71a3b59af1edff4297682480a3e81b5d2ce
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
| -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 |