Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3)

Side by Side Diff: build/android/BUILD.gn

Issue 2767633003: Revert of (Reland) Use logdog butler subcommand to run tests. (Closed)
Patch Set: Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « PRESUBMIT.py ('k') | build/android/pylib/android/logdog_logcat_monitor.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « PRESUBMIT.py ('k') | build/android/pylib/android/logdog_logcat_monitor.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698