libbinder_ndk: separate libbinder plat headers
binder_ibinder_platform.h is a better name for platform extensions, and
we don't need specific headers like binder_context.h. Fixing the
motivating problem for splitting these (that binder_ibinder_platform.h
contains references to libbinder C++) by putting that in its own file.
This is cleaner because we expect many platform extensions to
libbinder_ndk, to support Rust, or to avoid using libbinder, so the
conversion functions can be split off instead.
Bug: N/A
Test: build
Change-Id: Idb00abd10326b3d7346e8e2f99e2186b32513af7
diff --git a/libs/binder/ndk/ibinder.cpp b/libs/binder/ndk/ibinder.cpp
index 4610ba9..d35debc 100644
--- a/libs/binder/ndk/ibinder.cpp
+++ b/libs/binder/ndk/ibinder.cpp
@@ -14,9 +14,9 @@
* limitations under the License.
*/
-#include <android/binder_context.h>
#include <android/binder_ibinder.h>
#include <android/binder_ibinder_platform.h>
+#include <android/binder_libbinder.h>
#include "ibinder_internal.h"
#include <android/binder_stability.h>