[M67 Dev][Product TV] Support build and flags 17/187217/9
authorYoungsoo Choi <kenshin.choi@samsung.com>
Fri, 23 Mar 2018 11:03:25 +0000 (16:33 +0530)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 22 Aug 2018 01:45:05 +0000 (01:45 +0000)
commit888b9fcd410908dfb5977445d32d1558f248ffee
tree43f0f9bed9b14340adf01b9056610c1a27adcf6f
parent86d32a8fb062e8dc88d0be9f64add3c1c150ac21
[M67 Dev][Product TV] Support build and flags

This corrects the repository links and makes arm-kantm2
as the default profile for product tv build.

* Usage of build commands:
1) for tizen 5.0 kantm2
$ ./tizen_src/build/build_tv.sh

2) for tizen 5.0 kantm
$ ./tizen_src/build/build_tv.sh -P tztv_arm-kantm

Also, this introduces build flags, like below.

* Usage of flags:
1) in spec
+--------------------------------------------+
| %if "%{?TIZEN_PRODUCT_TV}" == "1"          |
|   # for TV                                 |
| %endif                                     |
+--------------------------------------------+

2) in C or C++
+--------------------------------------------+
| #if defined(OS_TIZEN_TV_PRODUCT)           |
| // for TV                                  |
| #endif                                     |
+--------------------------------------------+

3) in gn
+--------------------------------------------+
| if (tizen_product_tv) {                    |
|   # for TV                                 |
| }                                          |
+--------------------------------------------+

4) in gn_chromiumefl.sh
+--------------------------------------------+
| if [ "$tizen_product_tv" == "true" ]; then |
|   # for TV                                 |
| fi                                         |
+--------------------------------------------+

Reference:
https://review.tizen.org/gerrit/#/c/173727/
https://review.tizen.org/gerrit/#/c/177233/
https://review.tizen.org/gerrit/#/c/174943/

Change-Id: I9d06426f48c91ec2508c8a34a7eb067451653867
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
packaging/chromium-efl.spec
tizen_src/build/config/BUILD.gn
tizen_src/build/config/tizen_features.gni
tizen_src/build/gbs.conf
tizen_src/build/gn_chromiumefl.sh