[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. .clang-format
  2. BUILD.gn
  3. LICENSE
  4. OWNERS
  5. README.chromium
  6. patches/
  7. src/
  8. tools/