[roll] Roll fuchsia [bazel_sdk] Make fuchsia_transition() idempotent.

Due to the way Bazel works, the transition function can be
called multiple times in a chain of dependencies, and should not
change the content of the input build configuration if it is already
the result of a previous fuchsia_transition() call.

This fixes an issues where `-ffuchsia-api-level=XXX` was appended
to the `copt` list on each call, resulting in a different build
configuration instance on each call.

+ Add @fuchsia_common//:transitition_utils.bzl to export new
  functions `set_command_line_option_value()` and
  `remove_command_line_option_values()`, as well as appropriate
  unit-tests, which can be run with:

  ```
  fx bazel test @prebuilt_clang//:test_suite
  ```

+ Remove obsolete key from NATIVE_CPU_ALIASES, the
  associated value (aarch64) was wrong anyway.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1047975
Original-Revision: dc66b6dc4bd90b8f44f537c44b17c8a19c8b914a
GitOrigin-RevId: 77767b5695e1e810e6de56cc3c762ddacfb1045e
Change-Id: I2d1cf67c5c502d82cd3bf3bfcaa21d8923310b50
1 file changed
tree: 980922b1ea5442e3a4d7f9dd4d7804cedd35d70c
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.