diff options
| author | 2019-11-19 16:03:30 -0800 | |
|---|---|---|
| committer | 2019-11-19 16:06:53 -0800 | |
| commit | dbf6dd5a3b59da9127eeb68cb74369d5f31bd18b (patch) | |
| tree | c9b7e50db1006af0bb19941d28a110509c557726 /libs/gui/BufferQueueThreadState.cpp | |
| parent | b5667012c116931ca0c4859f2e1e2a5da1fa30f0 (diff) | |
libbinder_ndk: clearer error on host misconfigured
libbinder_ndk uses defaults libbinder_ndk_host_user in order to work
on host w/o bionic. Currently, if you try to use libbinder_ndk on host
without libbinder_ndk, you'll get many errors like "use of undeclared
identifier". Now the first error will be:
In file included from frameworks/native/libs/binder/ndk/include_ndk/android/binder_auto_utils.h:29:
frameworks/native/libs/binder/ndk/include_ndk/android/binder_ibinder.h:39:2: 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.
#error Android builds must be compiled against a specific API. If this is an \
Bug: N/A
Test: above
Change-Id: I99de02858137ed3af149694fb7224fdf88c0df26
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions