1 # Copyright (c) 2013 Samsung Electronics Co., Ltd All Rights Reserved
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
13 # limitations under the License.
17 # @author Tae-Jeong Lee (taejeong.lee@samsung.com)
21 # - WRT_OPTION() : Wrapper omitting description argument from OPTION() command.
22 MACRO(WRT_OPTION feature_name on_off)
23 OPTION(${feature_name} "" ${on_off})
27 # Use a particular optional platform service or third-party library
29 # Description : <text>
31 # Author : <text>(<email>) - <date>
32 # WRT_OPTION(<REPOSITORY_NAME>_USE_<FEATURE_NAME> ON/OFF)
36 # Turn on a specific feature of WRT
38 # Description : <text>
40 # Author : <text>(<email>) - <date>
41 # WRT_OPTION(<REPOSITORY_NAME>_ENABLE_<FEATURE_NAME> ON/OFF)
43 # Description : Enable web-provider
44 # Author : Jihoon Chung (jihoon.chung@samsung.com) - 05.31.2014
45 IF(WEB_PROVIDER_SUPPORT)
46 WRT_OPTION(WRT_ENABLE_WEB_PROVIDER ON)
47 ELSE(WEB_PROVIDER_SUPPORT)
48 WRT_OPTION(WRT_ENABLE_WEB_PROVIDER OFF)
49 ENDIF(WEB_PROVIDER_SUPPORT)
51 # Description : Support pre-launching webapp installation
52 # Author : Tae-Jeong Lee (taejeong.lee@samsung.com) - 11.28.2013
53 WRT_OPTION(WRT_ENABLE_PRE_LAUNCH OFF)