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

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

Issue 1663103004: Create wrapper scripts that set --output-directory (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@adb_gdb-explicit
Patch Set: todo + adb_gdb Created 4 years, 10 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 | « no previous file | build/android/gyp/create_tool_wrapper.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/rules.gni") 5 import("//build/config/android/rules.gni")
6 import("//third_party/ijar/ijar.gni") 6 import("//third_party/ijar/ijar.gni")
7 7
8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar" 8 sun_tools_jar_path = "$root_gen_dir/sun_tools_jar/tools.jar"
9 9
10 action("find_sun_tools_jar") { 10 action("find_sun_tools_jar") {
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 group("test_runner_py") { 88 group("test_runner_py") {
89 data = [ 89 data = [
90 "test_runner.py", 90 "test_runner.py",
91 "pylib/", 91 "pylib/",
92 "//build/util/lib/common/", 92 "//build/util/lib/common/",
93 ] 93 ]
94 data_deps = [ 94 data_deps = [
95 ":devil_py", 95 ":devil_py",
96 ] 96 ]
97 } 97 }
98
99 # Create wrapper scripts in out/bin that takes care of setting the
100 # --output-directory.
101 _scripts_to_wrap = [
102 # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts
103 # and generated a script for each android_apk() that has a native library.
104 "adb_gdb_android_webview_shell",
105 "adb_gdb_blimp_client",
106 "adb_gdb_chrome_public",
107 "adb_gdb_content_shell",
108 "adb_gdb_cronet_sample",
109 "adb_gdb_mojo_shell",
110 "asan_symbolize.py",
111 "tombstones.py",
112 ]
113
114 _wrapper_targets = []
115 foreach(script, _scripts_to_wrap) {
116 _target_name = get_path_info(script, "name") + "_wrapper"
117 _wrapper_targets += [ ":$_target_name" ]
118 wrapper_script(_target_name) {
119 target = script
120 }
121 }
122
123 group("wrapper_scripts") {
124 deps = _wrapper_targets
125 }
OLDNEW
« no previous file with comments | « no previous file | build/android/gyp/create_tool_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698