| Index: build/android/BUILD.gn
|
| diff --git a/build/android/BUILD.gn b/build/android/BUILD.gn
|
| index c94c3b1c46116e195ec80ea98c8cf83fa501db5b..f5e70018b2c8f1d744493837e77f1c802e2fdcb4 100644
|
| --- a/build/android/BUILD.gn
|
| +++ b/build/android/BUILD.gn
|
| @@ -95,3 +95,31 @@ group("test_runner_py") {
|
| ":devil_py",
|
| ]
|
| }
|
| +
|
| +# Create wrapper scripts in out/bin that takes care of setting the
|
| +# --output-directory.
|
| +_scripts_to_wrap = [
|
| + # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts
|
| + # and generated a script for each android_apk() that has a native library.
|
| + "adb_gdb_android_webview_shell",
|
| + "adb_gdb_blimp_client",
|
| + "adb_gdb_chrome_public",
|
| + "adb_gdb_content_shell",
|
| + "adb_gdb_cronet_sample",
|
| + "adb_gdb_mojo_shell",
|
| + "asan_symbolize.py",
|
| + "tombstones.py",
|
| +]
|
| +
|
| +_wrapper_targets = []
|
| +foreach(script, _scripts_to_wrap) {
|
| + _target_name = get_path_info(script, "name") + "_wrapper"
|
| + _wrapper_targets += [ ":$_target_name" ]
|
| + wrapper_script(_target_name) {
|
| + target = script
|
| + }
|
| +}
|
| +
|
| +group("wrapper_scripts") {
|
| + deps = _wrapper_targets
|
| +}
|
|
|