Remove dependency to capi-system-info 49/324949/2 accepted/tizen_unified accepted/tizen_unified_x tizen accepted/tizen/unified/20250602.101222 accepted/tizen/unified/x/20250603.105757
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 27 May 2025 01:30:37 +0000 (10:30 +0900)
committerUnsung Lee <unsung.lee@samsung.com>
Thu, 29 May 2025 07:35:10 +0000 (16:35 +0900)
commitee6a98ad56f0b26eb1b158545bc2a68a5178e823
tree9e3b27540fdc41836a333a6956365015828286a7
parent268c3cd93618af0c040c7acd3ef85a3ba56b51a2
Remove dependency to capi-system-info

Due to the introduction of subsession feature on buxton2, new dependency
"buxton2->sessiond" was added, and it made the cycle dependency below.
 • buxton2 -> sessiond -> libsyscommon -> capi-system-info
   --(VD only)-> factory-api --(VD only)-> buxton2

To break the cycle dependency, removed libsyscommon->capi-system-info
dependency. The capi-system-info had been only used to figure out
whether the target is emulator or not, so changed it by exploiting
predefined macro from project_config, %{_with_emulator}.

Change-Id: I7b0f64ca99d9da5bce104322eb2293bb721f9ef8
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt
libsyscommon.pc.in
packaging/libsyscommon.spec
src/libcommon/common.c
tests/CMakeLists.txt