diff --git a/build/BUILD.gn b/build/BUILD.gn index b107395af99141966fda904d54dd2cbfc8efd5ae..73a86a63e615d267a16179e9681f1e995be954df 100644 --- a/build/BUILD.gn +++ b/build/BUILD.gn @@ -84,12 +84,12 @@ action_foreach("strip") { "$root_out_dir/unstripped/usr/lib/libc.so", "$root_out_dir/unstripped/usr/lib/libc++.so", ] - outputs = [ "$root_out_dir/{{source_file_part}}" ] + outputs = [ "$root_out_dir/libs/{{source_file_part}}" ] args = [ "$ohos_current_strip_command", "{{source}}", "-o", - rebase_path("$root_out_dir/{{source_file_part}}", root_build_dir), + rebase_path("$root_out_dir/libs/{{source_file_part}}", root_build_dir), ] }