Hi3861开发:编译过程缓慢,打印数据有许多无关内容 解决方案

前提

在Windows中烧录程序,其中选用DEVECO中建立的历程,为Harmony1.0版本 烧录采用 DEVECO工具自身提供的rebuild
更改部分

我们编译过程中会发现我们明明没有用到那么多资源但是却要编译好长时间,而且通过串口打印出来的信息与目标功能无关紧要,为了减少干扰我们可以将不必要的资源暂不使用。暂时关闭掉

/home/harmony/harmonyCode1.0/test/xts/acts下的build.gn 注释掉或删除代码段内容

"//test/xts/acts/communication_lite/lwip_hal:ActsLwipTest",
                "//test/xts/acts/communication_lite/softbus_hal:ActsSoftBusTest",
                "//test/xts/acts/communication_lite/wifiservice_hal:ActsWifiServiceTest",
                "//test/xts/acts/utils_lite/utilsfile_hal:ActsUtilsFileTest",
                "//test/xts/acts/utils_lite/parameter_hal:ActsParameterTest",
                "//test/xts/acts/iot_hardware_lite/wifiiot_hal:ActsWifiIotTest",
                "//test/xts/acts/kernel_lite/kernelcmsis_hal:ActsCMSISTest",
                "//test/xts/acts/kernel_lite/kernelkal_hal:ActsKalTest",
                "//test/xts/acts/hiviewdfx_lite/dfx_hal:ActsDfxFuncTest",
                "//test/xts/acts/utils_lite/kvstore_hal:ActsKvStoreTest",
                "//test/xts/acts/security_lite/datahuks_hal:ActsSecurityDataTest",
                "//test/xts/acts/distributedschedule_lite/samgr_hal:ActsSamgrTest",

"//test/xts/acts/kernel_lite:ActsKernelTest",
               "//test/xts/acts/security_lite:securitytest",
               "//test/xts/acts/utils_lite/kvstore_posix:ActsKvStoreTest",
               "//test/xts/acts/startup_lite/parameter_posix:ActsParameterTest",
               "//test/xts/acts/startup_lite/bootstrap_posix:ActsBootstrapTest",
               #"//test/xts/acts/multimedia_lite/multimedia_posix/camera:ActsMediaCameraTest",
               "//test/xts/acts/open_posix_testsuite/conformance/interfaces:ActsOpenPosixTest",
               "//test/xts/acts/distributedschedule_lite/samgr_posix:ActsSamgrTest",
               #"//test/xts/acts/multimedia_lite/multimedia_posix/recorder:ActsMediaRecorderTest",
               #"//test/xts/acts/uikit_lite:uikit_test",
               "//test/xts/acts/appexecfwk_lite/bundlems_posix:ActsBundleMgrTest",
               "//test/xts/acts/communication_lite/softbus_posix:ActsSoftBusTest",
               "//test/xts/acts/communication_lite/lwip_posix:ActsLwipTest",

"//test/xts/acts/appexecfwk_lite/abilityms_posix:ActsAbilityMgrTest",
"//test/xts/acts/utils_lite/kvstore_posix:ActsKvStoreTest",
"//test/xts/acts/startup_lite/parameter_posix:ActsParameterTest"

路径:/home/harmony/harmonyCode1.0/test/xts/tools 的build.gn文件 注释或删除代码段内容

"//test/xts/tools/hctest",

"//test/xts/tools/hcpptest"
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

芯片烧毁大师

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值