1# Copyright (c) 2022-2023 Huawei Device Co., Ltd. 2# Licensed under the Apache License, Version 2.0 (the "License"); 3# you may not use this file except in compliance with the License. 4# You may obtain a copy of the License at 5# 6# http://www.apache.org/licenses/LICENSE-2.0 7# 8# Unless required by applicable law or agreed to in writing, software 9# distributed under the License is distributed on an "AS IS" BASIS, 10# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 11# See the License for the specific language governing permissions and 12# limitations under the License. 13 14xcomponent_components_support = false 15form_components_support = false 16remote_window_support = false 17use_curl_download = true 18accessibility_support = true 19rich_components_support = true 20ohos_standard_fontmgr = true 21image_components_support = false 22plugin_components_support = false 23enable_ability_component = false 24enable_system_clipboard = false 25advance_components_support = false 26connect_server_support = false 27enable_rosen_backend = true 28enable_standard_input = false 29video_components_support = false 30web_components_support = false 31preview_support = true 32defines = [] 33 34if (defined(web_components_support) && web_components_support) { 35 defines += [ "WEB_SUPPORTED" ] 36} 37 38if (defined(video_components_support) && video_components_support) { 39 defines += [ "VIDEO_SUPPORTED" ] 40} 41 42if (defined(xcomponent_components_support) && xcomponent_components_support) { 43 defines += [ "XCOMPONENT_SUPPORTED" ] 44} 45 46if (defined(form_components_support) && form_components_support) { 47 defines += [ "FORM_SUPPORTED" ] 48} 49 50if (defined(remote_window_support) && remote_window_support) { 51 defines += [ "REMOTE_WINDOW_SUPPORTED" ] 52} 53 54if (defined(image_components_support) && image_components_support) { 55 defines += [ "IMAGE_SUPPORTED" ] 56} 57 58if (defined(plugin_components_support) && plugin_components_support) { 59 defines += [ "PLUGIN_COMPONENT_SUPPORTED" ] 60} 61 62if (defined(enable_ability_component) && enable_ability_component) { 63 defines += [ "ABILITY_COMPONENT_SUPPORTED" ] 64} 65 66if (defined(preview_support) && preview_support) { 67 defines += [ "PREVIEW" ] 68} 69 70if (defined(enable_rosen_backend) && enable_rosen_backend) { 71 defines += [ "ENABLE_ROSEN_BACKEND" ] 72} 73