summaryrefslogtreecommitdiffstats
path: root/third_party/android_platform
diff options
context:
space:
mode:
authoragrieve <agrieve@chromium.org>2016-02-11 12:15:48 -0800
committerCommit bot <commit-bot@chromium.org>2016-02-11 20:17:20 +0000
commitb8d204bc1b7018d3f32f0dda59d4b41655e67349 (patch)
tree1141ac76d76f660452ee0ca9183ee86bff810750 /third_party/android_platform
parent303aa444b7e4881129bf4e56a71139e4a75b17ee (diff)
downloadchromium_src-b8d204bc1b7018d3f32f0dda59d4b41655e67349.zip
chromium_src-b8d204bc1b7018d3f32f0dda59d4b41655e67349.tar.gz
chromium_src-b8d204bc1b7018d3f32f0dda59d4b41655e67349.tar.bz2
Create wrapper scripts that set --output-directory
For: - build/android/adb_gdb* - build/android/asan_symbolize.py - build/android/tombstones.py - third_party/android_platform/development/scripts/stack - tools/perf/run_benchmark BUG=573345 Review URL: https://codereview.chromium.org/1663103004 Cr-Commit-Position: refs/heads/master@{#374964}
Diffstat (limited to 'third_party/android_platform')
-rw-r--r--third_party/android_platform/BUILD.gn18
1 files changed, 13 insertions, 5 deletions
diff --git a/third_party/android_platform/BUILD.gn b/third_party/android_platform/BUILD.gn
index f2b3b5d..c0030d6 100644
--- a/third_party/android_platform/BUILD.gn
+++ b/third_party/android_platform/BUILD.gn
@@ -5,12 +5,12 @@
import("//testing/test.gni")
import("config.gni")
-gypi_values = exec_script("//build/gypi_to_gn.py",
- [ rebase_path("relocation_packer.gyp") ],
- "scope",
- [ "relocation_packer.gyp" ])
-
if (current_toolchain == host_toolchain) {
+ gypi_values = exec_script("//build/gypi_to_gn.py",
+ [ rebase_path("relocation_packer.gyp") ],
+ "scope",
+ [ "relocation_packer.gyp" ])
+
# GYP: //third_party/android_platform/relocation_packer.gyp:android_lib_relocation_packer
source_set("android_lib_relocation_packer") {
deps = [
@@ -48,3 +48,11 @@ if (current_toolchain == host_toolchain) {
sources = gypi_values.relocation_packer_test_sources
}
}
+
+if (is_android) {
+ import("//build/config/android/rules.gni")
+
+ wrapper_script("stack_wrapper") {
+ target = "//third_party/android_platform/development/scripts/stack"
+ }
+}