1# Copyright (c) 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
14NFC_DIR = "//foundation/communication/nfc"
15
16fuzz_module_out_path = "nfc/nfc"
17
18declare_args() {
19  nfc_use_vendor_nci_native = false
20  if (defined(global_parts_info.nfc_use_vendor_nci_native)) {
21    nfc_use_vendor_nci_native = true
22  }
23  nfc_service_feature_vendor_applications_enabled = false
24  if (defined(
25      global_parts_info.nfc_service_feature_vendor_applications_enabled)) {
26    nfc_service_feature_vendor_applications_enabled = true
27  }
28  nfc_sim_feature = false
29  if (defined(global_parts_info.nfc_sim_feature)) {
30    nfc_sim_feature = true
31  }
32  nfc_service_feature_ndef_wifi_enabled = false
33  if (defined(global_parts_info.communication_wifi)) {
34    nfc_service_feature_ndef_wifi_enabled = true
35  }
36  nfc_service_feature_ndef_bt_enabled = false
37  if (defined(global_parts_info.communication_bluetooth)) {
38    nfc_service_feature_ndef_bt_enabled = true
39  }
40}
41