commit | 1e5e9b4f94f0276fbd11a1695599106dc8d7b143 | [log] [tgz] |
---|---|---|
author | David Dorwin <ddorwin@google.com> | Tue Jun 11 20:49:45 2024 +0000 |
committer | CQ Bot <fuchsia-internal-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Jun 11 20:49:45 2024 +0000 |
tree | 78a0693fb137a85454414df49fae7110b1b84f46 | |
parent | b4f428551e5681cd541bebd4e8bea15ef10c4653 [diff] |
[developer] Always use in-development level for protocol compatibility check Previously, Fuchsia builds used `__Fuchsia_API_level__`, which will never match `CURRENT_SUPPORTED_API_LEVEL` in platform builds. To fix this, use the same build variable as used for host tool builds. Rename FUCHSIA_API_LEVEL to NEXT_STABLE_API_LEVEL to avoid confusion and prepare for `NEXT` when the in-development level will not be numbered. This name is consistent with the value of the GN variable `platform_version.in_development_api_level` from which it gets its value and avoids needing to adjust any logic in the header. Also ensure NEXT_STABLE_API_LEVEL is not less than `CURRENT_SUPPORTED_API_LEVEL` because the logic does not allow this. This fixes the naming issue described in the bug. This entire mechanism will be replaced in the future. Bug: 308808613 Change-Id: I4eb893b2cce8147c008bba277e77357759274368 Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1063701 Commit-Queue: David Dorwin <ddorwin@google.com> Reviewed-by: Jacob Rutherford <jruthe@google.com>
Fuchsia is an open source, general purpose operating system supporting modern 64-bit Intel and ARM processors.
We expect everyone interacting with our project to respect our code of conduct.
Read more about Fuchsia's principles.
See Getting Started.
See fuchsia.dev.