| 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 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts |
| 103 # and generated a script for each android_apk() that has a native library. |
| 104 "adb_gdb_android_webview_shell", |
| 105 "adb_gdb_blimp_client", |
| 106 "adb_gdb_chrome_public", |
| 107 "adb_gdb_content_shell", |
| 108 "adb_gdb_cronet_sample", |
| 109 "adb_gdb_mojo_shell", |
| 110 "asan_symbolize.py", |
| 111 "tombstones.py", |
| 112 ] |
| 113 |
| 114 _wrapper_targets = [] |
| 115 foreach(script, _scripts_to_wrap) { |
| 116 _target_name = get_path_info(script, "name") + "_wrapper" |
| 117 _wrapper_targets += [ ":$_target_name" ] |
| 118 wrapper_script(_target_name) { |
| 119 target = script |
| 120 } |
| 121 } |
| 122 |
| 123 group("wrapper_scripts") { |
| 124 deps = _wrapper_targets |
| 125 } |
| OLD | NEW |