Modify build feature names as Tizen 3.0 build option naming rule 30/100430/1
authorDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 28 Nov 2016 06:20:13 +0000 (15:20 +0900)
committerDoHyun Pyun <dh79.pyun@samsung.com>
Mon, 28 Nov 2016 06:21:17 +0000 (15:21 +0900)
Change-Id: I51488f232349b97e84ed3a8e93b589c4a99bab7e
Signed-off-by: DoHyun Pyun <dh79.pyun@samsung.com>
common/CMakeLists.txt
common/include/bt-type-define.h
common/include/bt-util.h
common/src/libraries/bt-util.c
common/src/ui/bt-main-view.c

index c5312f8..6df4de2 100644 (file)
@@ -13,7 +13,7 @@ src/libraries/bt-net-connection.c
 
 INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
 
-IF(TIZEN_TV)
+IF(TIZEN_PROFILE_TV)
 SET(PKG_MODULES
        elementary
        appcore-efl
@@ -39,8 +39,8 @@ SET(PKG_MODULES
        gio-2.0
        dpm
 )
-ADD_DEFINITIONS("-DTIZEN_TV")
-ELSE(TIZEN_TV)
+ADD_DEFINITIONS("-DTIZEN_PROFILE_TV")
+ELSE(TIZEN_PROFILE_TV)
 SET(PKG_MODULES
        elementary
        appcore-efl
@@ -67,7 +67,7 @@ SET(PKG_MODULES
        dpm
        contacts-service2
 )
-ENDIF(TIZEN_TV)
+ENDIF(TIZEN_PROFILE_TV)
 
 INCLUDE(FindPkgConfig)
 pkg_check_modules(pkgs REQUIRED ${PKG_MODULES})
index c82f706..3520e5e 100644 (file)
@@ -130,7 +130,7 @@ extern "C" {
 
 #define BT_APPCONTROL_VISIBILITY_MIME "application/x-bluetooth-visibility"
 
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
 #define BT_VCF_FOLDER_PATH "/tmp/"
 #endif
 
index b220dea..ff11a2d 100644 (file)
@@ -107,7 +107,7 @@ void _bt_util_max_len_reached_cb(void *data, Evas_Object *obj,
 
 Eina_Bool _bt_timer_change_discoverable_mode(void *data);
 
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
 char *_bt_util_vcard_create_from_id(int id, bool my_profile, const char *working_dir);
 
 char *_bt_util_vcard_create_from_id_list(const int *id_list, int count, const char *working_dir, volatile bool *cancel);
index 27b4a4f..73fdbf4 100644 (file)
@@ -27,7 +27,7 @@
 #include <aul.h>
 #include <notification.h>
 #include <dpm/restriction.h>
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
 #include <contacts.h>
 #include <dirent.h>
 #include <fcntl.h>
@@ -806,7 +806,7 @@ gboolean _bt_util_is_dpm_restricted(void *handle)
        return (dpm_state == 0) ? TRUE : FALSE;
 }
 
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
 static bool __bt_util_file_exists(const char *file)
 {
        bool res = false;
index b965762..e510189 100644 (file)
@@ -50,7 +50,7 @@
 
 #define MULTI_SHARE_SERVICE_DATA_PATH "http://tizen.org/appcontrol/data/path"
 #define APP_CONTROL_OPERATION_SHARE_CONTACT "http://tizen.org/appcontrol/operation/share_contact"
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
 #define APP_CONTROL_MIME_CONTACT "application/vnd.tizen.contact"
 #define APP_CONTROL_MY_PROFILE_DATA_TYPE "my_profile"
 #endif
@@ -3640,7 +3640,7 @@ int _bt_main_request_pairing_with_effect(bt_ug_data *ugd,
 
 void __bt_main_parse_service(bt_ug_data *ugd, app_control_h service)
 {
-#ifndef TIZEN_TV
+#ifndef TIZEN_PROFILE_TV
        char *uri_scheme = NULL;;
        char *body_text = NULL;
        char *launch_type = NULL;