Add build featuring for Zone API testcases 07/78207/1
authorSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 4 Jul 2016 12:32:26 +0000 (21:32 +0900)
committerSungbae Yoo <sungbae.yoo@samsung.com>
Mon, 4 Jul 2016 12:35:05 +0000 (21:35 +0900)
Change-Id: Ifeb4f0620206961806a6e9d8eff0c1e400b45553
Signed-off-by: Sungbae Yoo <sungbae.yoo@samsung.com>
tests/api/CMakeLists.txt

index ceb375b..0796127 100644 (file)
@@ -26,9 +26,14 @@ SET(API_TEST_SOURCES main.c
                                         restriction.c
                      security.c
                      wifi.c
-                     zone.c
 )
 
+IF("${TIZEN_PROFILE_NAME}" STREQUAL "mobile")
+SET(API_TEST_SOURCES    ${API_TEST_SOURCES}
+                        zone.c
+)
+ENDIF()
+
 ADD_EXECUTABLE(${API_TEST_TARGET} ${API_TEST_SOURCES})
 
 INCLUDE_DIRECTORIES(SYSTEM ${DPM_LIBS} ${DPM_TESTS})