Make elementary compatible with Tizen 4.0 build env. 65/111365/2
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 29 Dec 2016 02:14:03 +0000 (11:14 +0900)
committerJee-Yong Um <jc9.um@samsung.com>
Mon, 23 Jan 2017 02:28:38 +0000 (18:28 -0800)
commita73afcf381b382a041bdb1be66f34009659df94a
treea701de4fdbc10b8b4a0e38ac914ea0627e67814c
parent6df681ffd6ca931d7793eb3bb936b4717283875d
Make elementary compatible with Tizen 4.0 build env.

In Tizen 4.0 Unified Project, there will be no more
profile macro available.

However, in order to make it keep compatible with obsolete
build environment including the "GBM/private" build systems,
if profile macro is defined as tv/mobile/wearble, we will
disable the modification.

Note: this is a workaround until the correspondants refactor
this package so that Elemetnary uses "configuration" at
run/boot-time. Without this workaround, before getting such
a nice refactored code, this package will disrupt all the
other packages in Tizen 4.0 Unified build environment.
So, after refactoring, please remove what this patch does.
(or you may nudge me when it is done.)

Note2: There will be yet another workaround that removed
the need for "TIZEN_PROFILE_WEARABLE", which is the one
that abandoned some time ago. That workaround has the
same characteristic; it is to keep it compatible before
you've done with refactoring.

Change-Id: If27ffd0ed419882d533c46499d45d16cdd727a07
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
==================================================================

This patch has been modified since it was written first.
Fixes some incorrect conditional statements and handles private headers.

Signed-Off-By: Jee-Yong Um <jc9.um@samsung.com>
Change-Id: I1cc1eaf0ecbd01f52c793d37bb44b9580608c08d
packaging/elementary.spec