dart-sdk/build/config
Samir Jindel 6a8aae0095 [vm] Enable Dart VM to run in QEMU user-mode emulation for ARM.
Normally we consult /proc to determine the host architecture. However, this
reports the actual host architecture, not the QEMU-simulated one.

Also, GDB cannot debug position-independent executables in QEMU, so we disable
PIE when compiling for execution in QEMU.

Pass '--use-qemu' to 'gn.py' to build for QEMU.

Change-Id: Ib125127ceb0582b66754cfc0da22e09d224ee1e9
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/125267
Commit-Queue: Samir Jindel <sjindel@google.com>
Reviewed-by: Martin Kustermann <kustermann@google.com>
2019-11-18 16:58:53 +00:00
..
android
clang
compiler
gcc
linux [vm] Enable Dart VM to run in QEMU user-mode emulation for ARM. 2019-11-18 16:58:53 +00:00
mac
sanitizers
templates
win
arm.gni
BUILD.gn
BUILDCONFIG.gn [vm] Enable Dart VM to run in QEMU user-mode emulation for ARM. 2019-11-18 16:58:53 +00:00
host_byteorder.gni
locales.gni
OWNERS
sysroot.gni