remove dependencies related to the binding of android.
authorjiseob.jang <jiseob.jang@samsung.com>
Thu, 1 Feb 2018 06:20:16 +0000 (15:20 +0900)
committerjiseob.jang <jiseob.jang@samsung.com>
Tue, 20 Mar 2018 08:43:19 +0000 (17:43 +0900)
This dependency is not completely removed here for suppored other devices.
This binding feature must be replaced as d-bus of tizen and shared memory of tizen.

Signed-off-by: jiseob.jang <jiseob.jang@samsung.com>
experiments/android_nn/nn/depend/libc/kernel/uapi/linux/android/binder.h
experiments/android_nn/nn/depend/libhwbinder/IPCThreadState.cpp
experiments/android_nn/nn/depend/libhwbinder/Parcel.cpp
experiments/android_nn/nn/depend/libhwbinder/ProcessState.cpp
experiments/android_nn/nn/depend/libhwbinder/include/hwbinder/Parcel.h
experiments/android_nn/nn/depend/libhwbinder/include/hwbinder/binder_kernel.h

index 5a7929f..1e7f436 100644 (file)
@@ -105,7 +105,7 @@ struct binder_ptr_cookie {
 struct binder_handle_cookie {
   __u32 handle;
   binder_uintptr_t cookie;
-} __packed;
+};
 struct binder_pri_desc {
   __s32 priority;
   __u32 desc;
index dc4b0e1..295861e 100644 (file)
 #include <utils/Log.h>
 #include <utils/SystemClock.h>
 #include <utils/threads.h>
+#include <cutils/threads.h>
 
-#include <private/binder/binder_module.h>
+//#include <private/binder/binder_module.h>
+namespace android {
+#include <sys/ioctl.h>
+#include <linux/android/binder.h>
+};
 #include <hwbinder/Static.h>
 
 #include <errno.h>
index 59a4686..05306ef 100644 (file)
 #include <utils/String8.h>
 #include <utils/String16.h>
 
-#include <private/binder/binder_module.h>
+//#include <private/binder/binder_module.h>
+namespace android {
+#include <sys/ioctl.h>
+#include <linux/android/binder.h>
+};
 #include <hwbinder/Static.h>
 
 #ifndef INT32_MAX
index 16bbd4d..1bc9a59 100644 (file)
 #include <utils/String8.h>
 #include <utils/threads.h>
 
-#include <private/binder/binder_module.h>
-#include <hwbinder/Static.h>
+//#include <private/binder/binder_module.h>
+namespace android {
+#include <sys/ioctl.h>
+#include <linux/android/binder.h>
+};
 
+#include <hwbinder/Static.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <stdio.h>
index bf94a57..b3c9181 100644 (file)
@@ -17,7 +17,7 @@
 #ifndef ANDROID_HARDWARE_BINDER_KERNEL_H
 #define ANDROID_HARDWARE_BINDER_KERNEL_H
 
-#include <linux/android/binder.h>
+//#include <linux/android/binder.h>
 
 /**
  * This file exists because the uapi kernel headers in bionic are built