Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6ba5a259 authored by Steven Moreland's avatar Steven Moreland
Browse files

libbinder: stop exporting private headers

Having a 'private' include directory for a library is somewhat of an
artifact. There is no need to export these (or once include_dirs is
eliminated, make them available at any capacity). We want libbinder to
completely encapsulate the kernel API.

Bug: N/A
Test: binderLibTest
Change-Id: If84ff928a186f3397150660c2cc1faadb46b796c
parent 67d502d8
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -29,8 +29,6 @@
#include <utils/SystemClock.h>
#include <utils/threads.h>

#include <private/binder/binder_module.h>

#include <atomic>
#include <errno.h>
#include <inttypes.h>
@@ -43,6 +41,7 @@
#include <unistd.h>

#include "Static.h"
#include "binder_module.h"

#if LOG_NDEBUG

+1 −1
Original line number Diff line number Diff line
@@ -48,10 +48,10 @@
#include <utils/String8.h>
#include <utils/misc.h>

#include <private/binder/binder_module.h>
#include "RpcState.h"
#include "Static.h"
#include "Utils.h"
#include "binder_module.h"

#define LOG_REFS(...)
//#define LOG_REFS(...) ALOG(LOG_DEBUG, LOG_TAG, __VA_ARGS__)
+1 −1
Original line number Diff line number Diff line
@@ -27,8 +27,8 @@
#include <utils/String8.h>
#include <utils/threads.h>

#include <private/binder/binder_module.h>
#include "Static.h"
#include "binder_module.h"

#include <errno.h>
#include <fcntl.h>
+13 −13
Original line number Diff line number Diff line
@@ -29,8 +29,8 @@
#undef B_PACK_CHARS
#endif

#include <sys/ioctl.h>
#include <linux/android/binder.h>
#include <sys/ioctl.h>

#ifndef BR_FROZEN_REPLY
// Temporary definition of BR_FROZEN_REPLY. For production
+1 −1
Original line number Diff line number Diff line
@@ -31,11 +31,11 @@
#include <binder/IServiceManager.h>
#include <binder/ParcelRef.h>

#include <private/binder/binder_module.h>
#include <linux/sched.h>
#include <sys/epoll.h>
#include <sys/prctl.h>

#include "../binder_module.h"
#include "binderAbiHelper.h"

#define ARRAY_SIZE(array) (sizeof array / sizeof array[0])