Reland "Reland "meson.eclass: Set exe_wrapper""

This is a reland of 77bcb2e89f623aa82b1faf90ecbaaec56acbf46c

The previous attempt missed a couple of arc package which should
have been using arc-build-create-cross-file to block meson from
running executables during the build.

Original change's description:
> Reland "meson.eclass: Set exe_wrapper"
>
> This is a reland of 0d981dfd3f75cc5a229d299c9554c9e95278fb89
>
> Original change's description:
> > meson.eclass: Set exe_wrapper
> >
> > Currently no meson packages actually run any tests even if they have
> > them because we don't set a wrapper for running tests in the
> > sysroot. This causes meson to skip all the tests. Fix this by adding a
> > script to common-mk and passing it to the cross-file.
> >
> > This also allows us to run meson unit tests for ARM boards.
> >
> > Because this is modified from upstream it must be moved to
> > eclass-overlay
> >
> > BUG=chromium:1227738
> > TEST=Ran tests on a bunch of meson packages, checked that they aren't
> > all skipped
> >
> > Cq-Depend: 3054152, 3057340, 3058026, 3054230
> > Change-Id: I47c09876252ba56b2270c2251a2f60f0c132de95
> > Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/3062147
> > Tested-by: Fergus Dall <sidereal@google.com>
> > Commit-Queue: Fergus Dall <sidereal@google.com>
> > Reviewed-by: Mike Frysinger <vapier@chromium.org>
>
> BUG=chromium:1227738
> TEST=emerge-tatl pixman with empty /etc/passwd and no /etc/passwd
>
> Cq-Depend: 3063863
> Change-Id: I61a6d77e0903152e08f1d1dcbfaa6bef0a64e406
> Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/3065251
> Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
> Tested-by: Fergus Dall <sidereal@google.com>
> Commit-Queue: Fergus Dall <sidereal@google.com>

BUG=chromium:1227738
TEST=CQ

Cq-Depend: chromium:3084631
Change-Id: I0be95de9458a710b23443b58605f691b370c8608
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/overlays/eclass-overlay/+/3083671
Tested-by: Fergus Dall <sidereal@google.com>
Reviewed-by: Chris McDonald <cjmcdonald@chromium.org>
Commit-Queue: Fergus Dall <sidereal@google.com>
1 file changed
tree: 13b754fa5716ec33a7044e6747d5634a624d50de
  1. acct-group/
  2. acct-user/
  3. eclass/
  4. metadata/
  5. profiles/
  6. OWNERS
  7. PRESUBMIT.cfg