| 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/config.gni") | 5 import("//build/config/android/config.gni") |
| 6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
| 7 | 7 |
| 8 if (enable_java_templates) { | 8 if (enable_java_templates) { |
| 9 import("//third_party/ijar/ijar.gni") | 9 import("//third_party/ijar/ijar.gni") |
| 10 | 10 |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 "//third_party/android_tools/sdk/build-tools/24.0.2/dexdump", | 118 "//third_party/android_tools/sdk/build-tools/24.0.2/dexdump", |
| 119 "//third_party/android_tools/sdk/build-tools/24.0.2/lib64/libc++.so", | 119 "//third_party/android_tools/sdk/build-tools/24.0.2/lib64/libc++.so", |
| 120 "//third_party/android_tools/sdk/build-tools/24.0.2/split-select", | 120 "//third_party/android_tools/sdk/build-tools/24.0.2/split-select", |
| 121 "//third_party/android_tools/sdk/platform-tools/adb", | 121 "//third_party/android_tools/sdk/platform-tools/adb", |
| 122 "//third_party/catapult/third_party/gsutil/", | 122 "//third_party/catapult/third_party/gsutil/", |
| 123 "//third_party/catapult/devil/devil/devil_dependencies.json", | 123 "//third_party/catapult/devil/devil/devil_dependencies.json", |
| 124 "//third_party/proguard/lib/proguard.jar", | 124 "//third_party/proguard/lib/proguard.jar", |
| 125 ] | 125 ] |
| 126 } | 126 } |
| 127 | 127 |
| 128 group("logdog_wrapper_py") { | |
| 129 _py_files = read_file("test_wrapper/logdog_wrapper.pydeps", "list lines") | |
| 130 | |
| 131 # Filter out comments. | |
| 132 set_sources_assignment_filter([ "#*" ]) | |
| 133 sources = _py_files | |
| 134 | |
| 135 data = sources | |
| 136 } | |
| 137 | |
| 138 # Create wrapper scripts in out/bin that takes care of setting the | 128 # Create wrapper scripts in out/bin that takes care of setting the |
| 139 # --output-directory. | 129 # --output-directory. |
| 140 _scripts_to_wrap = [ | 130 _scripts_to_wrap = [ |
| 141 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts | 131 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts |
| 142 # and generated a script for each android_apk() that has a native library. | 132 # and generated a script for each android_apk() that has a native library. |
| 143 "adb_gdb_android_webview_shell", | 133 "adb_gdb_android_webview_shell", |
| 144 "adb_gdb_chrome_public", | 134 "adb_gdb_chrome_public", |
| 145 "adb_gdb_content_shell", | 135 "adb_gdb_content_shell", |
| 146 "adb_gdb_cronet_sample", | 136 "adb_gdb_cronet_sample", |
| 147 "adb_gdb_mojo_shell", | 137 "adb_gdb_mojo_shell", |
| 148 "asan_symbolize.py", | 138 "asan_symbolize.py", |
| 149 "tombstones.py", | 139 "tombstones.py", |
| 150 ] | 140 ] |
| 151 | 141 |
| 152 _wrapper_targets = [] | 142 _wrapper_targets = [] |
| 153 foreach(script, _scripts_to_wrap) { | 143 foreach(script, _scripts_to_wrap) { |
| 154 _target_name = get_path_info(script, "name") + "_wrapper" | 144 _target_name = get_path_info(script, "name") + "_wrapper" |
| 155 _wrapper_targets += [ ":$_target_name" ] | 145 _wrapper_targets += [ ":$_target_name" ] |
| 156 wrapper_script(_target_name) { | 146 wrapper_script(_target_name) { |
| 157 target = script | 147 target = script |
| 158 } | 148 } |
| 159 } | 149 } |
| 160 | 150 |
| 161 group("wrapper_scripts") { | 151 group("wrapper_scripts") { |
| 162 deps = _wrapper_targets | 152 deps = _wrapper_targets |
| 163 } | 153 } |
| OLD | NEW |