1bc2ed2b3Sopenharmony_ci# Copyright (c) 2023 Huawei Device Co., Ltd.
2bc2ed2b3Sopenharmony_ci# Licensed under the Apache License, Version 2.0 (the "License");
3bc2ed2b3Sopenharmony_ci# you may not use this file except in compliance with the License.
4bc2ed2b3Sopenharmony_ci# You may obtain a copy of the License at
5bc2ed2b3Sopenharmony_ci#
6bc2ed2b3Sopenharmony_ci#     http://www.apache.org/licenses/LICENSE-2.0
7bc2ed2b3Sopenharmony_ci#
8bc2ed2b3Sopenharmony_ci# Unless required by applicable law or agreed to in writing, software
9bc2ed2b3Sopenharmony_ci# distributed under the License is distributed on an "AS IS" BASIS,
10bc2ed2b3Sopenharmony_ci# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
11bc2ed2b3Sopenharmony_ci# See the License for the specific language governing permissions and
12bc2ed2b3Sopenharmony_ci# limitations under the License.
13bc2ed2b3Sopenharmony_ci
14bc2ed2b3Sopenharmony_ciNFC_DIR = "//foundation/communication/nfc"
15bc2ed2b3Sopenharmony_ci
16bc2ed2b3Sopenharmony_cifuzz_module_out_path = "nfc/nfc"
17bc2ed2b3Sopenharmony_ci
18bc2ed2b3Sopenharmony_cideclare_args() {
19bc2ed2b3Sopenharmony_ci  nfc_use_vendor_nci_native = false
20bc2ed2b3Sopenharmony_ci  if (defined(global_parts_info.nfc_use_vendor_nci_native)) {
21bc2ed2b3Sopenharmony_ci    nfc_use_vendor_nci_native = true
22bc2ed2b3Sopenharmony_ci  }
23bc2ed2b3Sopenharmony_ci  nfc_service_feature_vendor_applications_enabled = false
24bc2ed2b3Sopenharmony_ci  if (defined(
25bc2ed2b3Sopenharmony_ci      global_parts_info.nfc_service_feature_vendor_applications_enabled)) {
26bc2ed2b3Sopenharmony_ci    nfc_service_feature_vendor_applications_enabled = true
27bc2ed2b3Sopenharmony_ci  }
28bc2ed2b3Sopenharmony_ci  nfc_sim_feature = false
29bc2ed2b3Sopenharmony_ci  if (defined(global_parts_info.nfc_sim_feature)) {
30bc2ed2b3Sopenharmony_ci    nfc_sim_feature = true
31bc2ed2b3Sopenharmony_ci  }
32bc2ed2b3Sopenharmony_ci  nfc_service_feature_ndef_wifi_enabled = false
33bc2ed2b3Sopenharmony_ci  if (defined(global_parts_info.communication_wifi)) {
34bc2ed2b3Sopenharmony_ci    nfc_service_feature_ndef_wifi_enabled = true
35bc2ed2b3Sopenharmony_ci  }
36bc2ed2b3Sopenharmony_ci  nfc_service_feature_ndef_bt_enabled = false
37bc2ed2b3Sopenharmony_ci  if (defined(global_parts_info.communication_bluetooth)) {
38bc2ed2b3Sopenharmony_ci    nfc_service_feature_ndef_bt_enabled = true
39bc2ed2b3Sopenharmony_ci  }
40bc2ed2b3Sopenharmony_ci}
41