Commit graph

3 commits

Author SHA1 Message Date
Bob Badour
8e30736b3d Fix licenses and license texts.
No legacy_notice code remains. Everything appears to be Android 1p.

Test: m nothing
Change-Id: I25b66acf26102862e3e35ec72c2261b020df834e
2022-01-25 12:21:06 -08:00
Bob Badour
c5bfd2ec01 [LSC] Add LOCAL_LICENSE_KINDS to kernel/configs
Added SPDX-license-identifier-Apache-2.0 to:
  tools/Android.bp

Added SPDX-license-identifier-Apache-2.0 legacy_notice to:
  Android.bp

Added legacy_notice to:
  android-4.19/Android.bp
  android-5.10/Android.bp
  android-5.4/Android.bp
  build/Android.bp
  p/android-4.14/Android.bp
  p/android-4.4/Android.bp
  p/android-4.9/Android.bp
  q/android-4.14/Android.bp
  q/android-4.19/Android.bp
  q/android-4.9/Android.bp
  r/android-4.14/Android.bp
  r/android-4.19/Android.bp
  r/android-5.4/Android.bp

Bug: 68860345
Bug: 151177513
Bug: 151953481

Test: m all

Exempt-From-Owner-Approval: janitorial work
Change-Id: I9ea7130bab3e5a972419363e003286b533b30d6d
2021-03-02 01:01:45 -08:00
Steve Muckle
39b11682d7 add script to convert conditional requirements in xml
The xml file used to express conditional kernel config requirements
differs from the format used by the compatibility matrix in two ways.
This script fixes up the xml file so it may be included in the
compatibility matrix.

1. The kernel config XML specifies the minimum LTS version once at the
top of the file rather than for every group of configs in the file. It
also uses the "group" tag for groups of configs rather than the "kernel"
tag. The script removes the top entry and converts each "group" tag to a
"kernel" tag with the minimum LTS version.

2. The kernel config XML supports identifying config values as bools as
well as tristates. These values are treated no differently by the vintf
code, however it may reduce confusion for developers maintaining the
kernel configs by not forcing them to denote boolean kernel config
values as tristates in the XML source. These get converted to tristate
when creating the compatibility matrix as only tristate is supported
there.

Test: run script manually

Change-Id: I0480eaf8de02746f03a980c65572d266739523da
2018-10-15 15:38:10 -07:00