| Index: build/android/BUILD.gn
|
| diff --git a/build/android/BUILD.gn b/build/android/BUILD.gn
|
| index ef953a619a254bab56a0ed1b1e8a9adfc546ddcb..e45cf2da721d511911e90b80fa05a80688c94c62 100644
|
| --- a/build/android/BUILD.gn
|
| +++ b/build/android/BUILD.gn
|
| @@ -32,12 +32,27 @@ generate_interface_jar("android_ijar") {
|
| output_jar = "$root_out_dir/lib.java/android.interface.jar"
|
| }
|
|
|
| +# Copy to the lib.unstripped directory so that gdb can easily find it.
|
| +copy("cpplib_unstripped") {
|
| + _soname = "libc++_shared.so"
|
| + sources = [
|
| + "${android_libcpp_root}/libs/${android_app_abi}/${_soname}",
|
| + ]
|
| + outputs = [
|
| + "${root_out_dir}/lib.unstripped/${_soname}",
|
| + ]
|
| +}
|
| +
|
| action("cpplib_stripped") {
|
| _strip_bin = "${android_tool_prefix}strip"
|
| _soname = "libc++_shared.so"
|
| - _input_so = "${android_libcpp_root}/libs/${android_app_abi}/${_soname}"
|
| + _input_so = "${root_out_dir}/lib.unstripped/${_soname}"
|
| _output_so = "${root_shlib_dir}/${_soname}"
|
|
|
| + deps = [
|
| + ":cpplib_unstripped",
|
| + ]
|
| +
|
| script = "//build/gn_run_binary.py"
|
| inputs = [
|
| _strip_bin,
|
|
|