 Chromium Code Reviews
 Chromium Code Reviews Issue 1663103004:
  Create wrapper scripts that set --output-directory  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@adb_gdb-explicit
    
  
    Issue 1663103004:
  Create wrapper scripts that set --output-directory  (Closed) 
  Base URL: https://chromium.googlesource.com/chromium/src.git@adb_gdb-explicit| OLD | NEW | 
|---|---|
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be | 
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. | 
| 4 | 4 | 
| 5 import("//build/config/android/rules.gni") | 5 import("//build/config/android/rules.gni") | 
| 6 import("//third_party/ijar/ijar.gni") | 6 import("//third_party/ijar/ijar.gni") | 
| 7 | 7 | 
| 8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" | 8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" | 
| 9 | 9 | 
| 10 action("find_sun_tools_jar") { | 10 action("find_sun_tools_jar") { | 
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 88 group("test_runner_py") { | 88 group("test_runner_py") { | 
| 89 data = [ | 89 data = [ | 
| 90 "test_runner.py", | 90 "test_runner.py", | 
| 91 "pylib/", | 91 "pylib/", | 
| 92 "//build/util/lib/common/", | 92 "//build/util/lib/common/", | 
| 93 ] | 93 ] | 
| 94 data_deps = [ | 94 data_deps = [ | 
| 95 ":devil_py", | 95 ":devil_py", | 
| 96 ] | 96 ] | 
| 97 } | 97 } | 
| 98 | |
| 99 # Create wrapper scripts in out/bin that takes care of setting the | |
| 100 # --output-directory. | |
| 101 _scripts_to_wrap = [ | |
| 102 "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.
 | |
| 103 "adb_gdb_android_webview_shell", | |
| 104 "adb_gdb_blimp_client", | |
| 105 "adb_gdb_chrome_public", | |
| 106 "adb_gdb_content_shell", | |
| 107 "adb_gdb_cronet_sample", | |
| 108 "adb_gdb_mojo_shell", | |
| 109 "asan_symbolize.py", | |
| 110 "tombstones.py", | |
| 111 ] | |
| 112 | |
| 113 _wrapper_targets = [] | |
| 114 foreach(script, _scripts_to_wrap) { | |
| 115 _target_name = get_path_info(script, "name") + "_wrapper" | |
| 116 _wrapper_targets += [ ":$_target_name" ] | |
| 117 wrapper_script(_target_name) { | |
| 118 target = script | |
| 119 } | |
| 120 } | |
| 121 | |
| 122 group("wrapper_scripts") { | |
| 123 deps = _wrapper_targets | |
| 124 } | |
| OLD | NEW |