diff --git a/sensors/BUILD.gn b/sensors/BUILD.gn index b9ac3de4b76b5ef1e93c0012611753b7a65ab97f..aaa9a54d1746a6d496fab4ce45edee2ace2dc2fd 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" ] + } } }