[Sampling profiler] Fix AsmRegs build logic for cross-compilation

monochrome_32_public_bundle cross-compiles libunwindstack for x86, so we
need to check current_cpu rather than target_cpu in the build, per
https://gn.googlesource.com/gn/+/master/docs/cross_compiles.md#as-a-build_gn-author

Bug: 1004855
Change-Id: I2abdcc17084a37128e4146c9288546f233a66128
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/third_party/libunwindstack/+/2213215
Reviewed-by: Etienne Pierre-Doray <etiennep@chromium.org>
1 file changed
tree: c75ce7de84d5696ee5192e859645487a6abc6c84
  1. patches/
  2. src/
  3. tools/
  4. .clang-format
  5. BUILD.gn
  6. LICENSE
  7. OWNERS
  8. README.chromium