Generate SBOM of .kcm files in layoutlib.

Bug: 303905932
Test: CIs; m layoutlib dist
Change-Id: Iab35c44bdfff7ea82734a8efd37dfa005bae2664
This commit is contained in:
Wei Li
2023-10-25 15:49:26 -07:00
parent b3731e0db2
commit ee4ab5359d
4 changed files with 40 additions and 18 deletions

View File

@@ -20,6 +20,13 @@ import json
import sbom_data
import sbom_writers
'''
This script generates SBOM of framework_res.jar of layoutlib shipped with Android Studio.
The generated SBOM contains some placeholders which should be substituted by release_layoutlib.sh.
The placeholders include: document name, document namespace, organization, created timestamp and
the SHA1 checksum of framework_res.jar.
'''
def get_args():
parser = argparse.ArgumentParser()