mirror of
https://github.com/openharmony/drivers_peripheral.git
synced 2026-08-25 02:23:31 -04:00
ae9efea10d
Signed-off-by: guowen666 <guowen24@huawei.com>
39 lines
1.3 KiB
Plaintext
39 lines
1.3 KiB
Plaintext
# Copyright (c) 2021-2022 Huawei Device Co., Ltd.
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
if (defined(ohos_lite)) {
|
|
import("//build/lite/config/component/lite_component.gni")
|
|
import("//build/lite/config/test.gni")
|
|
|
|
lite_component("hdf_test_input") {
|
|
# add hdf subsystem unittest
|
|
if (ohos_build_type == "debug") {
|
|
if (ohos_kernel_type == "linux" && board_name == "hispark_taurus") {
|
|
deps = [ "unittest:hdf_peripheral_input_test" ]
|
|
} else if (ohos_kernel_type == "liteos_a" &&
|
|
board_name == "hispark_taurus") {
|
|
deps = [ "unittest:hdf_peripheral_input_test" ]
|
|
}
|
|
}
|
|
features = []
|
|
}
|
|
} else {
|
|
group("hdf_test_input") {
|
|
testonly = true
|
|
deps = [
|
|
"fuzztest:hdf_input_fuzztest",
|
|
"unittest:hdf_unittest_input",
|
|
]
|
|
}
|
|
}
|