1# Copyright (c) 2021 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 14import("//build/lite/config/component/lite_component.gni") 15import("//build/lite/config/hap_pack.gni") 16import("//build/lite/config/subsystem/aafwk/config.gni") 17import("//test/xts/tools/lite/build/suite_lite.gni") 18 19executable("ActsKitFwkApiTest") { 20 sources = [ "kitfwk_oem_api_test.cpp" ] 21 22 include_dirs = [ 23 "//third_party/googletest/googletest/include", 24 "//third_party/cJSON", 25 "//third_party/mbedtls/include/", 26 "//third_party/bounds_checking_function/include/", 27 "//base/startup/init/interfaces/innerkits/include/syspara", 28 29 # dir for oem_auth_config.h and oem_auth_result_storage.h 30 "//vendor/kitframework/include/", 31 ] 32 33 deps = [ 34 "//base/startup/init/interfaces/kits/token:token_shared", 35 "//build/lite/config/component/cJSON:cjson_shared", 36 "//test/xts/tools/lite/hcpptest:hcpptest_main", 37 "//third_party/bounds_checking_function:libsec_shared", 38 "//third_party/mbedtls:mbedtls_shared", 39 40 # dir for oem_auth_config.a and oem_auth_result_storage.a 41 "//vendor/ingenic/smartpen/adapter/kitframework:oem_auth_config", 42 "//vendor/ingenic/smartpen/adapter/kitframework:oem_auth_result_storage", 43 ] 44 45 output_extension = "bin" 46} 47