power-internal: Exclude only device_power_get_wakeup_reason() on a specific profile 61/295561/2 accepted/tizen/unified/20230713.014421
authorYoungjae Cho <y0.cho@samsung.com>
Tue, 11 Jul 2023 01:36:43 +0000 (10:36 +0900)
committerYoungjae Cho <y0.cho@samsung.com>
Tue, 11 Jul 2023 04:14:34 +0000 (13:14 +0900)
commit15a42f76140494dc0f5dfb9b8297a5848da0de92
tree4ea0b23d6e6c8fad0bef02925fb99f50ca1a4eb4
parent733acf618a3916a8a78e1683265942dd2e69324e
power-internal: Exclude only device_power_get_wakeup_reason() on a specific profile

The previous patch(733acf) excludes the whole power-internal.c/.h when
they are built on a specific build envrionment. In such case, however,
there were other pakages dependent on the power-internal.c/.h, making
build error. Thus, instead of excluding the whole power-internal.c/.h,
exclude only the function device_power_get_wakeup_reason() from building.

Change-Id: Ib7474394246cf2d4e48b9ca312546f1970348ce9
Signed-off-by: Youngjae Cho <y0.cho@samsung.com>
CMakeLists.txt
include/power-internal.h
src/power-internal.c