Change-Id: I7b57ca09374ac2648939ab4fdd415401fe7c00e2
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>
gio-2.0
glib-2.0
json-c
- libtzplatform-config
)
INCLUDE(FindPkgConfig)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(json-c)
BuildRequires: pkgconfig(gmock)
-BuildRequires: pkgconfig(libtzplatform-config)
BuildRequires: pkgconfig(systemd)
%description
#include <gio/gio.h>
#include <glib-object.h>
-#include <tzplatform_config.h>
-
#include "hal-common-interface.h"
#ifdef __cplusplus
extern "C" {
#endif
-#define HAL_CONFIGURATION_PATH tzplatform_mkpath(TZ_SYS_RO_ETC, "hal/hal-api.json")
+#define HAL_CONFIGURATION_PATH "/etc/hal/hal-api.json"
int _hal_api_conf_init(void);
void _hal_api_conf_exit(void);
using namespace std;
-
-extern "C" const char *tzplatform_mkpath(
- enum tzplatform_variable id, const char *path) {
- return "../../packaging/hal-api.json";
-}
-
class CommonHaltest : public testing::Test {
public:
CommonHaltest() {}