[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>