Don't allow chromeos unit tests to build in "cros chrome-sdk" shell
The chromeos_* unit test suites are designed to run on Linux, not on real hardware or in VMs. On the Chromium waterfall they are built with the linux-chromeos configuration. Developers using the "cros chrome-sdk" sometimes think they need to build these targets and run them, either on their host workstation or on device. The tests aren't expected to work in these environments, so prevent them from being built. Bug: 909073, 865693 Test: ninja -C out_eve/Release chromeos_unittests won't compile Change-Id: Idf8c366f7001ea5bbc744ccba6e627d70f5efebb Reviewed-on: https://chromium-review.googlesource.com/c/1358509 Commit-Queue: James Cook <jamescook@chromium.org> Reviewed-by:Dirk Pranke <dpranke@chromium.org> Reviewed-by:
Steven Bennetts <stevenjb@chromium.org> Reviewed-by:
Ben Pastene <bpastene@chromium.org> Cr-Commit-Position: refs/heads/master@{#614763}
Showing
Please register or sign in to comment