[roll] Roll fuchsia [bazel][sdk] Update cc_prebuilt_library for variants selection.
Resulting SDK:
.
├── ...
├── obj/
│ ├── arm64-api-15/
│ │ ├── dist/
│ │ │ ├── libfdio.so ->
│ │ │ └── ...
│ │ └── lib
│ │ ├── libfdio.so ->
│ │ └── ...
│ ├── arm64-api-16
│ ├── arm64-api-17
│ └── ...
└── pkg
├── ...
└── fdio
├── arm64-api-15
│ └── BUILD.bazel
├── arm64-api-16
│ └── BUILD.bazel
├── ...
├── arm64-HEAD
│ └── BUILD.bazel
├── BUILD.bazel
└── ...
Example BUILD.bazel file targets:
cc_import(
name = "prebuilts",
shared_library = "//:obj/arm64-api-15/lib/libfdio.so",
target_compatible_with = ["@platforms//os:fuchsia"],
)
fuchsia_package_resource(
name = "dist",
src = "//:obj/arm64-api-15/dist/libfdio.so",
dest = "lib/libfdio.so",
target_compatible_with = ["@platforms//os:fuchsia"],
)
Original-Bug: b/330747062, b/333908159
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1030813
Original-Revision: 268c99ed0afcbe1b563249261065272b32721737
GitOrigin-RevId: 81fd0e0eb6862fdb2c62b83441ca610fe5580384
Change-Id: I07983cc9db678da251a5881f5d299a608913a59d
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party.