Remove dependency to capi-system-info 68/324968/1 accepted/tizen_9.0_unified tizen_9.0 accepted/tizen/9.0/unified/20250602.180223
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 10:00:30 +0000 (19:00 +0900)
commita062c773518ace9e3d15c224bbc8d5cbcedfcd2c
treef59a0e27c8126a57b12fd4f9ecb70e3285a788ba
parentf3df8d7a5460766d4cd07fadf9ef85ea362e7c7b
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