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..c0030d6b9109c99c28be56a2b1abdea640e0bd37 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" |
+ } |
+} |