commit | f13f57064adecb86c5628863942bff0970a771b4 | [log] [tgz] |
---|---|---|
author | Oliver Newman <olivernewman@google.com> | Tue Oct 27 22:32:50 2020 +0000 |
committer | CQ Bot <commit-bot@chromium.org> | Tue Oct 27 22:32:50 2020 +0000 |
tree | 0f1da258e4732a3e4827f7e98744a27fe9a9d108 | |
parent | 18b3ef97b0e7b944640f1e2666563164be6b14a6 [diff] |
[fint] Initialize zircon_extra_args It needs to be initialized to an empty scope, if not already set, to allow other GN args to concisely set values within the scope (e.g. `zircon_extra_args.foo = "bar"`). A corresponding recipe change was made in fxrev.dev/439695. I also added a test to make sure that the GN args are correctly ordered: `zircon_extra_args` must be set after all imports (some imported files assume that it hasn't yet been set when they are loaded into the args namespace) but before any other variables are set. Making assertions about ordering made the `assertContains` (now renamed to `assertSubset`) helper function significantly more complicated, so I ended up writing tests for the test helper function itself. Bug: 61997 Change-Id: Ibd45e5e27f23e859573461fc91bbf785cbbce7e1 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/443317 Reviewed-by: Gary Miguel <garymm@google.com> Testability-Review: Gary Miguel <garymm@google.com> Commit-Queue: Oliver Newman <olivernewman@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.