blob: bfb85916fb56afef93786727ede86f33389e7776 [file] [log] [blame] [view]
Chong Gu70ad2c92021-12-03 00:55:441# Fuchsia platform versioning
2
3When building for Fuchsia, the binaries are built against a target API level,
4which is set via `fuchsia_target_api_level` in the [`.gn` file](../../.gn). This
5information becomes embedded in the compiled component as a target ABI
6revision, which indicates the semantics the component expects from the
7platform.
8
9Updates to the `fuchsia_target_api_level` are currently done manually. As a
10general rule, we want to be using the latest API level supported by the Fuchsia
11SDK checked out. An older API level might be needed if one of the following are
12true:
13
141. There are unresolved compatibility issues.
152. The binaries are intended to ship on an older release of Fuchsia.
16
17For instance, if M97 is shipped on a Fuchsia release that only supports API
18level up to 5, the target API level cannot be updated in Chromium until M97
19branch is cut.