Description:add Change kernel type from liteos_riscv to liteos_m

Reviewed-by:liubeibei
Change-Id: Ib690ae4bf2a3db4f6104879ec29867eaa6b4cbd0
This commit is contained in:
p00452466 2020-12-05 01:11:39 +08:00
parent 4c52c3c9ec
commit 26d0d1e327

View File

@ -14,13 +14,12 @@
import("//build/lite/config/test.gni")
subsystem_test("test") {
test_components = []
if(ohos_kernel_type == "liteos_riscv") {
features += [
]
}else if(ohos_kernel_type == "liteos_a") {
test_components += [
"//test/developertest/example/cxx_demo/test/unittest/common:CalcSubTest"
]
}
test_components = []
if (ohos_kernel_type == "liteos_m") {
features += []
} else if (ohos_kernel_type == "liteos_a") {
test_components += [
"//test/developertest/example/cxx_demo/test/unittest/common:CalcSubTest",
]
}
}