• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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"
17unit_module_out_path = "nfc/nfc"
18
19declare_args() {
20  nfc_use_vendor_nci_native = false
21  if (defined(global_parts_info.nfc_use_vendor_nci_native)) {
22    nfc_use_vendor_nci_native = true
23  }
24  nfc_service_feature_vendor_applications_enabled = false
25  if (defined(
26      global_parts_info.nfc_service_feature_vendor_applications_enabled)) {
27    nfc_service_feature_vendor_applications_enabled = true
28  }
29  nfc_sim_feature = false
30  if (defined(global_parts_info.nfc_sim_feature)) {
31    nfc_sim_feature = true
32  }
33  nfc_service_feature_ndef_wifi_enabled = false
34  if (defined(global_parts_info.communication_wifi)) {
35    nfc_service_feature_ndef_wifi_enabled = true
36  }
37  nfc_service_feature_ndef_bt_enabled = false
38  if (defined(global_parts_info.communication_bluetooth)) {
39    nfc_service_feature_ndef_bt_enabled = true
40  }
41  nfc_vibrator_disabled = false
42  if (defined(global_parts_info.nfc_vibrator_disabled)) {
43    nfc_vibrator_disabled = true
44  }
45  nfc_handle_screen_lock = false
46  if (defined(global_parts_info.nfc_handle_screen_lock)) {
47    nfc_handle_screen_lock = true
48  }
49}
50