From: Mu-Woong Lee Date: Fri, 19 Feb 2016 04:39:42 +0000 (+0900) Subject: device: fix build script to support common profile X-Git-Tag: submit/tizen_common/20160218.142243^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F59%2F59859%2F1;p=platform%2Fcore%2Fcontext%2Fcontext-provider.git device: fix build script to support common profile Change-Id: I72725bd2287a5c9e0f14d0174656622c12a8e8fe Signed-off-by: Mu-Woong Lee --- diff --git a/src/device/CMakeLists.txt b/src/device/CMakeLists.txt index 94a604b..39da8d4 100644 --- a/src/device/CMakeLists.txt +++ b/src/device/CMakeLists.txt @@ -6,6 +6,9 @@ SET(definitions LOG_TAG=\"CONTEXT-DEVICE\") FILE(GLOB srcs ./*.cpp) SET(deps "vconf capi-system-info capi-system-device capi-system-runtime-info") +# Common Profile +SET(srcs ${srcs} system/alarm.cpp system/time.cpp) + # Mobile Profile IF("${PROFILE}" STREQUAL "mobile") SET(deps "${deps} capi-network-bluetooth capi-network-wifi") @@ -32,8 +35,6 @@ IF("${PROFILE}" STREQUAL "tv") ${srcs} system/headphone.cpp system/wifi.cpp - system/alarm.cpp - system/time.cpp ) ENDIF("${PROFILE}" STREQUAL "tv")