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

Unified 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | build/android/gyp/create_tool_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/BUILD.gn
diff --git a/build/android/BUILD.gn b/build/android/BUILD.gn
index c94c3b1c46116e195ec80ea98c8cf83fa501db5b..f5e70018b2c8f1d744493837e77f1c802e2fdcb4 100644
--- a/build/android/BUILD.gn
+++ b/build/android/BUILD.gn
@@ -95,3 +95,31 @@ group("test_runner_py") {
":devil_py",
]
}
+
+# Create wrapper scripts in out/bin that takes care of setting the
+# --output-directory.
+_scripts_to_wrap = [
+ # TODO(agrieve): Once GYP is no more, delete the checked-in adb_gdb_* scripts
+ # and generated a script for each android_apk() that has a native library.
+ "adb_gdb_android_webview_shell",
+ "adb_gdb_blimp_client",
+ "adb_gdb_chrome_public",
+ "adb_gdb_content_shell",
+ "adb_gdb_cronet_sample",
+ "adb_gdb_mojo_shell",
+ "asan_symbolize.py",
+ "tombstones.py",
+]
+
+_wrapper_targets = []
+foreach(script, _scripts_to_wrap) {
+ _target_name = get_path_info(script, "name") + "_wrapper"
+ _wrapper_targets += [ ":$_target_name" ]
+ wrapper_script(_target_name) {
+ target = script
+ }
+}
+
+group("wrapper_scripts") {
+ deps = _wrapper_targets
+}
« 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