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

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

Issue 2753993002: (Reland) Use logdog butler subcommand to run tests. (Closed)
Patch Set: address John's comments on logdog filter 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
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
128 # Create wrapper scripts in out/bin that takes care of setting the 138 # Create wrapper scripts in out/bin that takes care of setting the
129 # --output-directory. 139 # --output-directory.
130 _scripts_to_wrap = [ 140 _scripts_to_wrap = [
131 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts 141 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts
132 # and generated a script for each android_apk() that has a native library. 142 # and generated a script for each android_apk() that has a native library.
133 "adb_gdb_android_webview_shell", 143 "adb_gdb_android_webview_shell",
134 "adb_gdb_chrome_public", 144 "adb_gdb_chrome_public",
135 "adb_gdb_content_shell", 145 "adb_gdb_content_shell",
136 "adb_gdb_cronet_sample", 146 "adb_gdb_cronet_sample",
137 "adb_gdb_mojo_shell", 147 "adb_gdb_mojo_shell",
138 "asan_symbolize.py", 148 "asan_symbolize.py",
139 "tombstones.py", 149 "tombstones.py",
140 ] 150 ]
141 151
142 _wrapper_targets = [] 152 _wrapper_targets = []
143 foreach(script, _scripts_to_wrap) { 153 foreach(script, _scripts_to_wrap) {
144 _target_name = get_path_info(script, "name") + "_wrapper" 154 _target_name = get_path_info(script, "name") + "_wrapper"
145 _wrapper_targets += [ ":$_target_name" ] 155 _wrapper_targets += [ ":$_target_name" ]
146 wrapper_script(_target_name) { 156 wrapper_script(_target_name) {
147 target = script 157 target = script
148 } 158 }
149 } 159 }
150 160
151 group("wrapper_scripts") { 161 group("wrapper_scripts") {
152 deps = _wrapper_targets 162 deps = _wrapper_targets
153 } 163 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698