device: fix build script to support common profile 59/59859/1 accepted/tizen/ivi/20160302.081846 accepted/tizen/mobile/20160219.090207 accepted/tizen/tv/20160219.090223 accepted/tizen/wearable/20160219.090240 submit/tizen_common/20160218.142243 submit/tizen_ivi/20160302.072932 submit/tizen_mobile/20160219.063657 submit/tizen_tv/20160219.063704 submit/tizen_wearable/20160219.063711
authorMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 19 Feb 2016 04:39:42 +0000 (13:39 +0900)
committerMu-Woong Lee <muwoong.lee@samsung.com>
Fri, 19 Feb 2016 04:39:42 +0000 (13:39 +0900)
Change-Id: I72725bd2287a5c9e0f14d0174656622c12a8e8fe
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
src/device/CMakeLists.txt

index 94a604b..39da8d4 100644 (file)
@@ -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")