binder: Expose an aidl interface module
Restructure the binder related makefile sections to expose a separate |libwpa_binder_interface| which can be imported by clients/tests. While there, Change the name of the binder service to the name used in the selinux permissions. Signed-off-by: Roshan Pius <rpius@google.com>master
parent
b84ce655d3
commit
fe1d0771f7
@ -0,0 +1,18 @@
|
||||
/*
|
||||
* binder interface for wpa_supplicant daemon
|
||||
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
|
||||
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
|
||||
*
|
||||
* This software may be distributed under the terms of the BSD license.
|
||||
* See README for more details.
|
||||
*/
|
||||
|
||||
#include "binder_constants.h"
|
||||
|
||||
namespace wpa_supplicant_binder {
|
||||
namespace binder_constants {
|
||||
|
||||
const char kServiceName[] = "wpa_supplicant";
|
||||
|
||||
} /* namespace binder_constants */
|
||||
} /* namespace wpa_supplicant_binder */
|
@ -0,0 +1,21 @@
|
||||
/*
|
||||
* binder interface for wpa_supplicant daemon
|
||||
* Copyright (c) 2004-2016, Jouni Malinen <j@w1.fi>
|
||||
* Copyright (c) 2004-2016, Roshan Pius <rpius@google.com>
|
||||
*
|
||||
* This software may be distributed under the terms of the BSD license.
|
||||
* See README for more details.
|
||||
*/
|
||||
|
||||
#ifndef BINDER_CONSTANTS_H
|
||||
#define BINDER_CONSTANTS_H
|
||||
|
||||
namespace wpa_supplicant_binder {
|
||||
namespace binder_constants {
|
||||
|
||||
extern const char kServiceName[];
|
||||
|
||||
} /* namespace binder_constants */
|
||||
} /* namespace wpa_supplicant_binder */
|
||||
|
||||
#endif /* BINDER_CONSTANTS_H */
|
Loading…
Reference in New Issue