Chromium Code Reviews| Index: build/android/BUILD.gn |
| diff --git a/build/android/BUILD.gn b/build/android/BUILD.gn |
| index c94c3b1c46116e195ec80ea98c8cf83fa501db5b..799625267666d0950f75663cf18ebccb8dc27ad3 100644 |
| --- a/build/android/BUILD.gn |
| +++ b/build/android/BUILD.gn |
| @@ -95,3 +95,30 @@ group("test_runner_py") { |
| ":devil_py", |
| ] |
| } |
| + |
| +# Create wrapper scripts in out/bin that takes care of setting the |
| +# --output-directory. |
| +_scripts_to_wrap = [ |
| + "adb_gdb", |
|
Yaron
2016/02/11 18:36:46
seems strange to wrap this particular script.. it'
agrieve
2016/02/11 18:39:47
Done.
|
| + "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 |
| +} |