commit | eb50e07bc90baedf041d7def6479a9b91f880d73 | [log] [tgz] |
---|---|---|
author | Mitchell Kember <mkember@google.com> | Tue Apr 13 19:19:18 2021 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Apr 13 19:19:18 2021 +0000 |
tree | d870f7bba3af6694caebddfdcf962f4250d834e0 | |
parent | 2ce55dc922087ff7ed74097877eb34e8120ba9ad [diff] |
[build] Assert is_host in golden_test.gni This CL makes the golden_test template `assert(is_host)`. This would have saved confusion recently, when a new golden test setup was not working because the `($host_toolchain)` was missing. Doing this required reorganizing call sites so that the golden_test invocation is inside an `if (is_host)` block. Following the recommendation of build folks, I've structured host-tool BUILD.gn files to place most things in one big if-statement, with groups at the bottom that redirect to $host_toolchain. Change-Id: Id1e747d322ed5bcfa64060463ca8d91db9e1938a Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/513324 Commit-Queue: Mitchell Kember <mkember@google.com> Reviewed-by: Ian McKellar <ianloic@google.com>
Pink + Purple == Fuchsia (a new operating system)
Fuchsia is a modular, capability-based operating system. Fuchsia runs on modern 64-bit Intel and ARM processors.
Fuchsia is an open source project with a code of conduct that we expect everyone who interacts with the project to respect.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.