From 8d66bf1387ed0aac0466f94ad07e3bfbcfaa4106 Mon Sep 17 00:00:00 2001 From: logic42 Date: Tue, 21 Dec 2021 21:07:24 +0800 Subject: [PATCH] change sensor testcase compile Signed-off-by: logic42 --- sensors/BUILD.gn | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sensors/BUILD.gn b/sensors/BUILD.gn index b9ac3de4b..aaa9a54d1 100644 --- a/sensors/BUILD.gn +++ b/sensors/BUILD.gn @@ -15,7 +15,10 @@ import("//build/ohos_var.gni") group("sensor") { testonly = true - if (is_standard_system) { - deps = [ "sensor_standard:sensor_js_test" ] + if (device_name == "rk3568") { + } else { + if (is_standard_system) { + deps = [ "sensor_standard:sensor_js_test" ] + } } } -- GitLab