From af3ed07d59006d1e3e8ba701ac18dad26e0cb92f Mon Sep 17 00:00:00 2001 From: wangchao582 Date: Tue, 12 Dec 2023 18:04:25 +0800 Subject: [PATCH] hdi test suites -thermal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改build.gn 文件 Signed-off-by: wangchao582 --- powermgr/thermal/BUILD.gn | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/powermgr/thermal/BUILD.gn b/powermgr/thermal/BUILD.gn index ba41e03f..857a0577 100755 --- a/powermgr/thermal/BUILD.gn +++ b/powermgr/thermal/BUILD.gn @@ -12,12 +12,19 @@ # limitations under the License. import("//build/ohos_var.gni") +import("//test/xts/hats/build.gni") import("//test/xts/tools/build/suite.gni") group("HatsPowermgrThermalTest") { testonly = true - deps = [ - "hdi_thermal:HatsPowermgrThermalTest", - "hdi_thermal_additional:HatsPowermgrThermalAdditionalTest", - ] + if (hats_rich == false) { + deps = [ + "hdi_thermal:HatsPowermgrThermalTest", + "hdi_thermal_additional:HatsPowermgrThermalAdditionalTest", + ] + } else { + deps = [ + "hdi_thermal:HatsPowermgrThermalTest", + ] + } }