Commit a2cb14b2 authored by Nina Satragno's avatar Nina Satragno Committed by Commit Bot

Fix android generate_linker_map check.

This change fixes gn refusing to build when `generate_linker_map` is
true for android targets from a linux host.

Bug: 986842
Change-Id: Ieb5e4d236ca54c87cf5f09fe26ce82a9bfe3191f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1715024Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Nina Satragno <nsatragno@chromium.org>
Auto-Submit: Nina Satragno <nsatragno@chromium.org>
Cr-Commit-Position: refs/heads/master@{#681105}
parent 5f77a5e9
......@@ -30,7 +30,7 @@ if (generate_linker_map) {
assert(
is_official_build,
"Linker map files should only be generated when is_official_build = true")
assert(current_os == "android" || target_os == "linux",
assert(target_os == "android" || target_os == "linux",
"Linker map files should only be generated for Android and Linux")
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment