diff --git a/BUILD.gn b/BUILD.gn index c3e1712da9cb4738a9201b63ec5c023c517195f2..d9e5c5458da1ce6cc6715f5b538a4077d84ba118 100755 --- a/BUILD.gn +++ b/BUILD.gn @@ -89,14 +89,16 @@ group("ohos") { } } } - # Skip device and product target for userspace only scenario. + # Skip device target for userspace only scenario. if (!ohos_build_userspace_only) { # Step 7: Add device and product target by default. deps += [ - "${device_path}/../", - "${product_path}", + "${device_path}/../" ] } + deps += [ + "${product_path}" + ] } else { deps += string_split(ohos_build_target, "&&") }