Index: third_party/android_platform/BUILD.gn |
diff --git a/third_party/android_platform/BUILD.gn b/third_party/android_platform/BUILD.gn |
index f2b3b5d65c92175447c1f51ffd183a70abeb733f..8ca857a3f08ee1ec45aa9bd63c043e87bfe2e5c4 100644 |
--- a/third_party/android_platform/BUILD.gn |
+++ b/third_party/android_platform/BUILD.gn |
@@ -3,14 +3,15 @@ |
# found in the LICENSE file. |
import("//testing/test.gni") |
+import("//tools/android/wrapper_script.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 +49,7 @@ if (current_toolchain == host_toolchain) { |
sources = gypi_values.relocation_packer_test_sources |
} |
} |
+ |
+wrapper_script("stack_wrapper") { |
+ target = "//third_party/android_platform/development/scripts/stack" |
+} |