From 26d0d1e327d0357f374e148e2e03bc7bf1454e40 Mon Sep 17 00:00:00 2001 From: p00452466 Date: Sat, 5 Dec 2020 01:11:39 +0800 Subject: [PATCH] Description:add Change kernel type from liteos_riscv to liteos_m Reviewed-by:liubeibei Change-Id: Ib690ae4bf2a3db4f6104879ec29867eaa6b4cbd0 --- BUILD.gn | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/BUILD.gn b/BUILD.gn index 406fe52..3890327 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -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", + ] + } } -- Gitee