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 | 6 |
7 if (enable_java_templates) { | 7 if (enable_java_templates) { |
8 import("//third_party/ijar/ijar.gni") | 8 import("//third_party/ijar/ijar.gni") |
9 | 9 |
10 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" | 10 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 "//third_party/proguard/lib/proguard.jar", | 122 "//third_party/proguard/lib/proguard.jar", |
123 ] | 123 ] |
124 } | 124 } |
125 | 125 |
126 # Create wrapper scripts in out/bin that takes care of setting the | 126 # Create wrapper scripts in out/bin that takes care of setting the |
127 # --output-directory. | 127 # --output-directory. |
128 _scripts_to_wrap = [ | 128 _scripts_to_wrap = [ |
129 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts | 129 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts |
130 # and generated a script for each android_apk() that has a native library. | 130 # and generated a script for each android_apk() that has a native library. |
131 "adb_gdb_android_webview_shell", | 131 "adb_gdb_android_webview_shell", |
132 "adb_gdb_blimp_client", | |
133 "adb_gdb_chrome_public", | 132 "adb_gdb_chrome_public", |
134 "adb_gdb_content_shell", | 133 "adb_gdb_content_shell", |
135 "adb_gdb_cronet_sample", | 134 "adb_gdb_cronet_sample", |
136 "adb_gdb_mojo_shell", | 135 "adb_gdb_mojo_shell", |
137 "asan_symbolize.py", | 136 "asan_symbolize.py", |
138 "tombstones.py", | 137 "tombstones.py", |
139 ] | 138 ] |
140 | 139 |
141 _wrapper_targets = [] | 140 _wrapper_targets = [] |
142 foreach(script, _scripts_to_wrap) { | 141 foreach(script, _scripts_to_wrap) { |
143 _target_name = get_path_info(script, "name") + "_wrapper" | 142 _target_name = get_path_info(script, "name") + "_wrapper" |
144 _wrapper_targets += [ ":$_target_name" ] | 143 _wrapper_targets += [ ":$_target_name" ] |
145 wrapper_script(_target_name) { | 144 wrapper_script(_target_name) { |
146 target = script | 145 target = script |
147 } | 146 } |
148 } | 147 } |
149 | 148 |
150 group("wrapper_scripts") { | 149 group("wrapper_scripts") { |
151 deps = _wrapper_targets | 150 deps = _wrapper_targets |
152 } | 151 } |
OLD | NEW |