halapi: Add configuration feature 89/252389/7
authorSeungha Son <linuxias@gmail.com>
Tue, 12 Jan 2021 04:56:35 +0000 (13:56 +0900)
committerSeungha Son <seungha.son@samsung.com>
Tue, 2 Feb 2021 08:14:29 +0000 (17:14 +0900)
commitddde380816ced0386888ae8dce8044b1ad129e75
treecd328628eeb7e35ec2818f0f34ed4fa1c0edf298
parent40f47d6fccef8f53e3e7be6d7d328fc024f6c5c5
halapi: Add configuration feature

 The purpose of this patch is to change the way
 hal-related information is managed.

 The information specified in the header file is
 changed to json format and can be changed at runtime.
 so that the information changed at runtime can be
 used without recompiling the library.

 A testcase to verify the saved json data was added and
 this testcase is ran at build time.

Change-Id: Ia9b83dfa18ea370ed4a3ce680c36a9f39317c6ff
Signed-off-by: Seungha Son <seungha.son@samsung.com>
CMakeLists.txt
hal-api.json [new file with mode: 0644]
haltests/CMakeLists.txt
haltests/src/test_hal.cc
include/hal-common.h
packaging/hal-api-common.spec
src/common.h
src/hal-api-common.c
src/hal-api-conf.c [new file with mode: 0644]
src/hal-api-conf.h [new file with mode: 0644]