Remove Profile Build Dependency: Do it at runtime 01/98101/9
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Wed, 16 Nov 2016 06:58:22 +0000 (15:58 +0900)
committerJiwoong Im <jiwoong.im@samsung.com>
Tue, 17 Jan 2017 08:59:24 +0000 (17:59 +0900)
commitf7dff0d76489875f09ee24f64c4cd5c26a9a4846
tree2196666fe3f6475906950e1857ded450b4c647cd
parentf2e4e90f44dfc3d9ce6701bf7c907a9f18f354b8
Remove Profile Build Dependency: Do it at runtime

- 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!)

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

  In the code (alarm-manager), indentation for
 if(_APPFW_FEATURE_WAKEUP_USING_RTC) is ignored to help understand
 the patch. Correcting those indentation ignores will follow
 as another patch.

Change-Id: I18b2ff8ea39bbdda0ed435f08a89b343b868822e
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Jiwoong Im <jiwoong.im@samsung.com>
CMakeLists.txt
alarm-manager.c
packaging/alarm-manager.spec