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 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 "test_wrapper/logdog_wrapper.py", | 114 "test_wrapper/logdog_wrapper.py", |
115 "//third_party/android_tools/sdk/build-tools/24.0.2/aapt", | 115 "//third_party/android_tools/sdk/build-tools/24.0.2/aapt", |
116 "//third_party/android_tools/sdk/build-tools/24.0.2/dexdump", | 116 "//third_party/android_tools/sdk/build-tools/24.0.2/dexdump", |
117 "//third_party/android_tools/sdk/build-tools/24.0.2/lib64/libc++.so", | 117 "//third_party/android_tools/sdk/build-tools/24.0.2/lib64/libc++.so", |
118 "//third_party/android_tools/sdk/build-tools/24.0.2/split-select", | 118 "//third_party/android_tools/sdk/build-tools/24.0.2/split-select", |
119 "//third_party/android_tools/sdk/platform-tools/adb", | 119 "//third_party/android_tools/sdk/platform-tools/adb", |
120 "//third_party/catapult/third_party/gsutil/", | 120 "//third_party/catapult/third_party/gsutil/", |
121 "//third_party/catapult/devil/devil/devil_dependencies.json", | 121 "//third_party/catapult/devil/devil/devil_dependencies.json", |
122 "//third_party/proguard/lib/proguard.jar", | 122 "//third_party/proguard/lib/proguard.jar", |
123 ] | 123 ] |
124 data_deps = [ | |
125 "//tools/swarming_client:isolate_py", | |
126 ] | |
127 } | 124 } |
128 | 125 |
129 # 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 |
130 # --output-directory. | 127 # --output-directory. |
131 _scripts_to_wrap = [ | 128 _scripts_to_wrap = [ |
132 # 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 |
133 # 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. |
134 "adb_gdb_android_webview_shell", | 131 "adb_gdb_android_webview_shell", |
135 "adb_gdb_blimp_client", | 132 "adb_gdb_blimp_client", |
136 "adb_gdb_chrome_public", | 133 "adb_gdb_chrome_public", |
137 "adb_gdb_content_shell", | 134 "adb_gdb_content_shell", |
138 "adb_gdb_cronet_sample", | 135 "adb_gdb_cronet_sample", |
139 "adb_gdb_mojo_shell", | 136 "adb_gdb_mojo_shell", |
140 "asan_symbolize.py", | 137 "asan_symbolize.py", |
141 "tombstones.py", | 138 "tombstones.py", |
142 ] | 139 ] |
143 | 140 |
144 _wrapper_targets = [] | 141 _wrapper_targets = [] |
145 foreach(script, _scripts_to_wrap) { | 142 foreach(script, _scripts_to_wrap) { |
146 _target_name = get_path_info(script, "name") + "_wrapper" | 143 _target_name = get_path_info(script, "name") + "_wrapper" |
147 _wrapper_targets += [ ":$_target_name" ] | 144 _wrapper_targets += [ ":$_target_name" ] |
148 wrapper_script(_target_name) { | 145 wrapper_script(_target_name) { |
149 target = script | 146 target = script |
150 } | 147 } |
151 } | 148 } |
152 | 149 |
153 group("wrapper_scripts") { | 150 group("wrapper_scripts") { |
154 deps = _wrapper_targets | 151 deps = _wrapper_targets |
155 } | 152 } |
OLD | NEW |