| Index: build/toolchain/android/BUILD.gn
|
| diff --git a/build/toolchain/android/BUILD.gn b/build/toolchain/android/BUILD.gn
|
| index 867fa4897a51c1bdc464e5b704ab74a74ce1b97b..ed7c407ce0f65ae759aad7c1d097e5f8e8622c21 100644
|
| --- a/build/toolchain/android/BUILD.gn
|
| +++ b/build/toolchain/android/BUILD.gn
|
| @@ -64,32 +64,10 @@ template("android_gcc_toolchain") {
|
| ld = cxx
|
| readelf = compiler_prefix + tool_prefix + "readelf"
|
| nm = compiler_prefix + tool_prefix + "nm"
|
| + strip = "${tool_prefix}strip"
|
|
|
| toolchain_os = "android"
|
| toolchain_cpu = invoker.toolchain_cpu
|
| -
|
| - # We make the assumption that the gcc_toolchain will produce a soname with
|
| - # the following definition.
|
| - soname = "{{target_output_name}}{{output_extension}}"
|
| -
|
| - stripped_soname = "lib.stripped/${soname}"
|
| - temp_stripped_soname = "${stripped_soname}.tmp"
|
| -
|
| - android_strip = "${tool_prefix}strip"
|
| -
|
| - strip_command =
|
| - "$android_strip --strip-unneeded -o $temp_stripped_soname $soname"
|
| - replace_command = "if ! cmp -s $temp_stripped_soname $stripped_soname; then mv $temp_stripped_soname $stripped_soname; fi"
|
| - postsolink = "$strip_command && $replace_command"
|
| - solink_outputs = [ stripped_soname ]
|
| - default_output_extension = android_product_extension
|
| -
|
| - # We make the assumption that the gcc_toolchain will produce an exe with
|
| - # the following definition.
|
| - exe = "{{root_out_dir}}/{{target_output_name}}{{output_extension}}"
|
| - stripped_exe = "exe.stripped/$exe"
|
| - postlink = "$android_strip --strip-unneeded -o $stripped_exe $exe"
|
| - link_outputs = [ stripped_exe ]
|
| }
|
| }
|
|
|
|
|