diff options
author | Wei Li <weiwli@google.com> | 2023-05-19 22:25:07 +0000 |
---|---|---|
committer | Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com> | 2023-05-19 22:25:07 +0000 |
commit | bb4da57fbfaf898acfc98eb478d495bb638b3cd1 (patch) | |
tree | ec7fc6abfc5947b2ce79db2749e714ac7c5af309 /rules/metadata.bzl | |
parent | 839ebdf12c0df6adc36e07ff257ba00830477c8f (diff) | |
parent | e51200d82f04a1e762fcb6a7437559bee22095ae (diff) | |
download | bazel-bb4da57fbfaf898acfc98eb478d495bb638b3cd1.tar.gz |
Changes in Bazel rules to support SBOM generation of b build unbundled APEXs. am: e51200d82f
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/bazel/+/23305006
Change-Id: I8a73b6aa6fc8fd26bb7993882e9f4eafd94c3ba4
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
Diffstat (limited to 'rules/metadata.bzl')
-rw-r--r-- | rules/metadata.bzl | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/rules/metadata.bzl b/rules/metadata.bzl new file mode 100644 index 00000000..287905cd --- /dev/null +++ b/rules/metadata.bzl @@ -0,0 +1,19 @@ +# Copyright (C) 2023 The Android Open Source Project +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +MetadataFileInfo = provider( + fields = { + "metadata_file": "METADATA file of a module", + }, +) |