前提
在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"