Remove Profile Build Dependencies: do it at runtime 02/94802/7
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 1 Nov 2016 08:38:06 +0000 (17:38 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Mon, 5 Dec 2016 08:01:13 +0000 (17:01 +0900)
commit952cadc12e55f80d2673b0696f69c3bd963856e6
tree8025bf7084dd071d36eb3963995f521173c2b4e6
parent34b4e9b77744aac5c54543bd76bdcbc704ac47cb
Remove Profile Build Dependencies: do it at runtime

1. This is for Tizen 4.0.

  : Tizen 4.0 Configurability and Build Blocks require
  to remove all profile-depending build options in spec files.
  (No More profile macros)

  : The remaining profile usage (profile ==/!i tv) is for build
  optimization only. It does not change correctness/behaviors
  in unified build environment.

2. It is recommended to distinguish features/profiles at runtime.
 unless it incurs too much overhead, which requires you to
 create multiple binaries and subpackages.

3. Modifed TIZEN_FEATURE_BT_HOG to determine itself at runtime
 to follow the commit of 34b4e9b77744aac5c54543bd76bdcbc704ac47cb.
 Please reuse the #define at the end of bt-util.h for other
 additional #ifdef conditions per profile.

 : Use "-DTIZEN_FEATURE_DISABLE_BT_HOG" at line 87 of ug-bluetooth-efl.spec
  to control BT_HOG on/off at mobile profile.

Change-Id: I465d51780424f69bf05af45b65576af2c5867965
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
16 files changed:
common/CMakeLists.txt
common/include/bt-callback.h
common/include/bt-main-ug.h
common/include/bt-main-view.h
common/include/bt-type-define.h
common/include/bt-util.h
common/src/libraries/bt-callback.c
common/src/libraries/bt-ipc-handler.c
common/src/libraries/bt-util.c
common/src/ui/bt-main-ug.c
common/src/ui/bt-main-view.c
common/src/ui/bt-profile-view.c
emulator/CMakeLists.txt
emulator/src/ui/bt-main-view.c
packaging/contacts.h [new file with mode: 0644]
packaging/ug-bluetooth-efl.spec