Commit Graph

77178 Commits

Author SHA1 Message Date
Bob Badour
608bdff0a7 Add support for gzipping html output.
Bug: 68860345
Bug: 151177513
Bug: 151953481
Bug: 213388645
Bug: 210912771

Test: m all
Test: m systemlicense
Test: m htmlnotice; out/soong/host/linux-x85/htmlnotice ...

where ... is -o=html.gz followed by the path to the .meta_lic file for
the system image. In my case if

$ export PRODUCT=$(realpath $ANDROID_PRODUCT_OUT --relative-to=$PWD)

the rest of ... can be expressed as:

${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic

Change-Id: I7a42d5186876609a401956754e3dcff64211fb15
2022-02-01 15:35:40 -08:00
Baligh Uddin
50afe214f0 Merge "Move pvmfw.img to PREBUILT_IMAGES temporarily" am: 1a95fc381c am: 4bfbb5f713 am: 014b99ee06 am: f9723ff858
Original change: https://android-review.googlesource.com/c/platform/build/+/1966606

Change-Id: I9a5e2f8b7edfbc0ffbb0628acca3b255a5138533
2022-02-01 20:57:51 +00:00
Baligh Uddin
f29a9a5058 Merge "Rename BUILT_PVMFWIMAGE_TARGET to PREBUILT_..." am: ed1041b8a2 am: 54278d0d8d am: fbbf9f3af1 am: 538e709690
Original change: https://android-review.googlesource.com/c/platform/build/+/1966609

Change-Id: I2bceab49159a46d06f51170510d2f29776a07eaf
2022-02-01 20:57:30 +00:00
Baligh Uddin
f9723ff858 Merge "Move pvmfw.img to PREBUILT_IMAGES temporarily" am: 1a95fc381c am: 4bfbb5f713 am: 014b99ee06
Original change: https://android-review.googlesource.com/c/platform/build/+/1966606

Change-Id: If6006d3a8a20f5f52c0d31eff06d42ecc377fb53
2022-02-01 20:39:48 +00:00
Baligh Uddin
538e709690 Merge "Rename BUILT_PVMFWIMAGE_TARGET to PREBUILT_..." am: ed1041b8a2 am: 54278d0d8d am: fbbf9f3af1
Original change: https://android-review.googlesource.com/c/platform/build/+/1966609

Change-Id: Ie12ad9965486ef38856733a0bcf40f6eb723312c
2022-02-01 20:39:32 +00:00
Baligh Uddin
014b99ee06 Merge "Move pvmfw.img to PREBUILT_IMAGES temporarily" am: 1a95fc381c am: 4bfbb5f713
Original change: https://android-review.googlesource.com/c/platform/build/+/1966606

Change-Id: Ic1e70a2c26a807a48a8b965c4c6f2ad7681fc3e1
2022-02-01 20:28:04 +00:00
Baligh Uddin
fbbf9f3af1 Merge "Rename BUILT_PVMFWIMAGE_TARGET to PREBUILT_..." am: ed1041b8a2 am: 54278d0d8d
Original change: https://android-review.googlesource.com/c/platform/build/+/1966609

Change-Id: I98b786f14f4b81c968aef597a934410d6d28a115
2022-02-01 20:27:48 +00:00
Baligh Uddin
4bfbb5f713 Merge "Move pvmfw.img to PREBUILT_IMAGES temporarily" am: 1a95fc381c
Original change: https://android-review.googlesource.com/c/platform/build/+/1966606

Change-Id: I4ad8a0bc119f35e1cd3aa207c8ce76b6f284e6dd
2022-02-01 20:09:53 +00:00
Baligh Uddin
54278d0d8d Merge "Rename BUILT_PVMFWIMAGE_TARGET to PREBUILT_..." am: ed1041b8a2
Original change: https://android-review.googlesource.com/c/platform/build/+/1966609

Change-Id: I34a6b6e6e505a6aac7fc835a7d9c9a9688ed9c41
2022-02-01 20:09:38 +00:00
Baligh Uddin
1a95fc381c Merge "Move pvmfw.img to PREBUILT_IMAGES temporarily" 2022-02-01 19:49:15 +00:00
Baligh Uddin
ed1041b8a2 Merge "Rename BUILT_PVMFWIMAGE_TARGET to PREBUILT_..." 2022-02-01 19:48:53 +00:00
Pierre-Clément Tosi
4bbb8dd86d Move pvmfw.img to PREBUILT_IMAGES temporarily
Move the image to PREBUILT_IMAGES to avoid breaking release key signing.

Bug: 216975821
Test: -
Change-Id: I686c6fec73a8383c10b17ab2af90767311cbae78
2022-02-01 15:06:26 +01:00
Pierre-Clément Tosi
37aa7e48c2 Rename BUILT_PVMFWIMAGE_TARGET to PREBUILT_...
Avoid the name as it is currently confusing given that we're not
actually building the image.

Bug: 216975821
Test: -
Change-Id: Ifac7047e72f590d6acb3997efa20f5f348e39491
2022-02-01 15:06:19 +01:00
Treehugger Robot
2b0a4fd038 Merge changes I40a05866,Id3d6e701 am: 6ebf02914c am: b70dd510cc am: d7c4f72b58 am: 97c75469d2
Original change: https://android-review.googlesource.com/c/platform/build/+/1966104

Change-Id: Ic4b1350592fe49c6220b22bb3e5d16e9cf8ebda4
2022-02-01 02:30:50 +00:00
Treehugger Robot
97c75469d2 Merge changes I40a05866,Id3d6e701 am: 6ebf02914c am: b70dd510cc am: d7c4f72b58
Original change: https://android-review.googlesource.com/c/platform/build/+/1966104

Change-Id: I63a7e25a25190404d7b9343ce261b0970a72d18a
2022-02-01 02:18:08 +00:00
Treehugger Robot
d7c4f72b58 Merge changes I40a05866,Id3d6e701 am: 6ebf02914c am: b70dd510cc
Original change: https://android-review.googlesource.com/c/platform/build/+/1966104

Change-Id: I43542df3f9b4f4e174a0be446a4ba01e777d0e25
2022-02-01 02:01:55 +00:00
Treehugger Robot
b70dd510cc Merge changes I40a05866,Id3d6e701 am: 6ebf02914c
Original change: https://android-review.googlesource.com/c/platform/build/+/1966104

Change-Id: Id7a30b9c88b1e971914b501a22fe5a7ead4a4531
2022-02-01 01:45:44 +00:00
Treehugger Robot
6ebf02914c Merge changes I40a05866,Id3d6e701
* changes:
  license metadata reverse trace
  Fix copy+paste error.
2022-02-01 01:25:59 +00:00
Treehugger Robot
7d4cef0038 Merge "Track dependencies when reading notice files" am: 133e2651a5 am: 258a183c36 am: 89351613a6 am: 865cfd6f1d
Original change: https://android-review.googlesource.com/c/platform/build/+/1965959

Change-Id: I9fa36225ceecbed4f80b36d96dbfffc2d6267df2
2022-02-01 00:31:55 +00:00
Treehugger Robot
865cfd6f1d Merge "Track dependencies when reading notice files" am: 133e2651a5 am: 258a183c36 am: 89351613a6
Original change: https://android-review.googlesource.com/c/platform/build/+/1965959

Change-Id: I5be7a4877573d174e3934b4e65b8aacad017a1db
2022-02-01 00:17:19 +00:00
Treehugger Robot
89351613a6 Merge "Track dependencies when reading notice files" am: 133e2651a5 am: 258a183c36
Original change: https://android-review.googlesource.com/c/platform/build/+/1965959

Change-Id: I2ef9cda824a5500a26b9f027882715a71268a1ca
2022-02-01 00:03:25 +00:00
Treehugger Robot
258a183c36 Merge "Track dependencies when reading notice files" am: 133e2651a5
Original change: https://android-review.googlesource.com/c/platform/build/+/1965959

Change-Id: I13f0546d106815e1b1d92aedf2b6df7186b8b4c9
2022-01-31 23:45:11 +00:00
Treehugger Robot
133e2651a5 Merge "Track dependencies when reading notice files" 2022-01-31 23:34:59 +00:00
Bob Badour
c817845ea5 license metadata reverse trace
Introduce the below command-line tool:

rtrace outputs a list of targets and conditions causing one or more
projects or target nodes to require sharing to resolve a restricted
condition.

Bug: 68860345
Bug: 151177513
Bug: 151953481
Bug: 213388645
Bug: 210912771

Test: m all
Test: m systemlicense
Test: m rtrace; out/soong/host/linux-x85/rtrace -rtrace=...

where ... is a project or license metadata file followed by the path to
the .meta_lic file for the system image. In my case if

$ export PRODUCT=$(realpath $ANDROID_PRODUCT_OUT --relative-to=$PWD)

... can be expressed as:

system/core ${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic
or
${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic ${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic

Change-Id: I40a0586699d9b8a8dd2bd4ba26756c9649ebf964
2022-01-31 14:16:23 -08:00
Bob Badour
91af68b1e1 Fix copy+paste error.
The tool under test is dumpresolutions not listshare.

Test: m dumpresolutions; out/soong/host/linux-x85/dumpresolutions ...

where ... is the path to the .meta_lic file for the system image. In my
case if

$ export PRODUCT=$(realpath $ANDROID_PRODUCT_OUT --relative-to=$PWD)

... can be expressed as:

${PRODUCT}/gen/META/lic_intermediates/${PRODUCT}/system.img.meta_lic

Change-Id: Id3d6e701ebd3dab03f407116d85a5e2aab8c5c59
2022-01-31 14:14:27 -08:00
Colin Cross
bb45f8c74d Track dependencies when reading notice files
Track which files are read by the notice file indexer and add a flag
to textnotice and htmlnotice to support writing them out.

Bug: 207445310
Test: textnotice_test
Test: htmlnotice_test
Change-Id: Ib74706b8a87a5ed9268a0fe37982ecf89f4e227d
2022-01-31 10:15:10 -08:00
Remi NGUYEN VAN
711d9092d6 Merge "Move nearby apex to tethering" 2022-01-31 04:25:49 +00:00
Ramji Jiyani
13a4137929 core & tools: system_dlkm: add dynamic partition
Converts existing static partition support to a
dynamic partition.

Bug: 200082547
Test: TH
Signed-off-by: Ramji Jiyani <ramjiyani@google.com>
Change-Id: Ifd6d0c2a04e947b16f8b241e99cca594a1d315ae
2022-01-30 08:43:08 +00:00
Treehugger Robot
28cf7fb489 Merge "Output inherit trace as Make comments." am: afe22b9a74 am: 8d29aeb27e am: ded3f2403b am: 0d043d394c
Original change: https://android-review.googlesource.com/c/platform/build/+/1953756

Change-Id: Ifbac20b9fa13edca57cdb70bdb38ab1ab29a04ce
2022-01-29 06:36:37 +00:00
Treehugger Robot
0d043d394c Merge "Output inherit trace as Make comments." am: afe22b9a74 am: 8d29aeb27e am: ded3f2403b
Original change: https://android-review.googlesource.com/c/platform/build/+/1953756

Change-Id: Ia9ec1cb7e54a605753a9d898fdcd519740eeb80b
2022-01-29 06:17:22 +00:00
Treehugger Robot
ded3f2403b Merge "Output inherit trace as Make comments." am: afe22b9a74 am: 8d29aeb27e
Original change: https://android-review.googlesource.com/c/platform/build/+/1953756

Change-Id: I260b8663ab222c5cf99c3ae9d4773e093e97866a
2022-01-29 06:01:11 +00:00
Treehugger Robot
8d29aeb27e Merge "Output inherit trace as Make comments." am: afe22b9a74
Original change: https://android-review.googlesource.com/c/platform/build/+/1953756

Change-Id: Ie5833445c6f69690fff6ec9f1513fe2f6a8a930c
2022-01-29 05:37:40 +00:00
Treehugger Robot
afe22b9a74 Merge "Output inherit trace as Make comments." 2022-01-29 05:20:29 +00:00
Sasha Smundak
dd3598da56 Output inherit trace as Make comments.
Starlark configuration output is a makefile containing variable
assignments. Inheritance trace is also written to stdout. Trace lines
need to be comments, otherwise stdout cannot be digested by Make/Ckati.

Test: manual
Change-Id: I3c1ad6554ef4356f9ceff1ff3279b2eac962e9ac
2022-01-28 17:44:56 -08:00
Colin Cross
c69ec8cfd0 Merge changes I3db6310e,I061be2b9,I7e81936d,If0684cf1,I404b138f am: e4442b7df6 am: 07da3e7574 am: 16cb1328e7 am: d67b1659c8
Original change: https://android-review.googlesource.com/c/platform/build/+/1964245

Change-Id: If1e08f2f44ac4c005b5ec5949db72c73eb413c98
2022-01-28 22:37:26 +00:00
Colin Cross
d67b1659c8 Merge changes I3db6310e,I061be2b9,I7e81936d,If0684cf1,I404b138f am: e4442b7df6 am: 07da3e7574 am: 16cb1328e7
Original change: https://android-review.googlesource.com/c/platform/build/+/1964245

Change-Id: I2031fefe60d0d8f60deb78fddb844db4f8992b2c
2022-01-28 22:23:12 +00:00
Colin Cross
16cb1328e7 Merge changes I3db6310e,I061be2b9,I7e81936d,If0684cf1,I404b138f am: e4442b7df6 am: 07da3e7574
Original change: https://android-review.googlesource.com/c/platform/build/+/1964245

Change-Id: I6f21753d9e05d169b54efbab45a07f2291ae4ff9
2022-01-28 22:06:48 +00:00
Colin Cross
07da3e7574 Merge changes I3db6310e,I061be2b9,I7e81936d,If0684cf1,I404b138f am: e4442b7df6
Original change: https://android-review.googlesource.com/c/platform/build/+/1964245

Change-Id: Ic3623278c2c292d5e26ad37933e50e7a353212ea
2022-01-28 21:42:58 +00:00
Colin Cross
e4442b7df6 Merge changes I3db6310e,I061be2b9,I7e81936d,If0684cf1,I404b138f
* changes:
  Move compliance commands into subdirectories
  Give compliance a pkgPath
  Move policy subdirectory into package directory
  Fix errors caught by go vet in compliance package
  Run gofmt on compliance
2022-01-28 21:24:26 +00:00
Colin Cross
7f49a67d0d Add a keys argument to tapas
Add a keys argument to tapas that allows specifying devkeys to
use internal aosp_devkeys_* products that use the internal
devkeys, which will allow building unbundled apps that use platform
keys for testing.

Bug: 216553104
Test: tapas CarMediaApp devkeys
Change-Id: I2161be9e15f99713e11d22901d6eb7ad3c420093
2022-01-28 16:56:43 +00:00
Bob Badour
e38d5263af Merge changes I73975ca7,I98e2c1ee am: d8724181a9 am: 35c48f5509 am: 4a5209b12f am: 00e51b7f7e
Original change: https://android-review.googlesource.com/c/platform/build/+/1962162

Change-Id: Iec834738fd8bd7000b82744f0e14877139f398b9
2022-01-28 05:13:16 +00:00
Treehugger Robot
bd51b1b8c3 Merge "license metadata html notice files" am: b816e5863d am: 8f1df28b44 am: c8e11f32ec am: b64c3e2428
Original change: https://android-review.googlesource.com/c/platform/build/+/1958311

Change-Id: I4c714eaf92439c96e8723efa1ca4854422f2ab26
2022-01-28 05:12:28 +00:00
Bob Badour
00e51b7f7e Merge changes I73975ca7,I98e2c1ee am: d8724181a9 am: 35c48f5509 am: 4a5209b12f
Original change: https://android-review.googlesource.com/c/platform/build/+/1962162

Change-Id: I7c413db4f2b2dcdd6a5c036b07d7029eabd81ecc
2022-01-28 04:44:59 +00:00
Treehugger Robot
b64c3e2428 Merge "license metadata html notice files" am: b816e5863d am: 8f1df28b44 am: c8e11f32ec
Original change: https://android-review.googlesource.com/c/platform/build/+/1958311

Change-Id: I4e9746e58204d7ae54a92f9bf063a1855cf9cd34
2022-01-28 04:44:52 +00:00
Bob Badour
4a5209b12f Merge changes I73975ca7,I98e2c1ee am: d8724181a9 am: 35c48f5509
Original change: https://android-review.googlesource.com/c/platform/build/+/1962162

Change-Id: I2818fc766a9f77669cbf65ea850d5dc0da291fe2
2022-01-28 04:33:38 +00:00
Treehugger Robot
c8e11f32ec Merge "license metadata html notice files" am: b816e5863d am: 8f1df28b44
Original change: https://android-review.googlesource.com/c/platform/build/+/1958311

Change-Id: I11a1f1e417a6f04f0b8687f6e30b0d7723483a80
2022-01-28 04:33:30 +00:00
Peter Collingbourne
c19c517894 Add a core configuration that disables the zygote.
In targets that do not include a zygote binary, attempting to start the
zygote service will result in repeated service restarts. Avoid this by
providing a way for targets to opt out of declaring a zygote service.

The fvp_mini target does not have a zygote, so apply this opt-out to
that target.

Change-Id: I4f918502e611e950fa039e4e2ed817c97b928ba2
2022-01-27 20:18:39 -08:00
Bob Badour
35c48f5509 Merge changes I73975ca7,I98e2c1ee am: d8724181a9
Original change: https://android-review.googlesource.com/c/platform/build/+/1962162

Change-Id: I5b185bab17b3d1b69c7539aec1d9f9ca78434995
2022-01-28 04:17:34 +00:00
Treehugger Robot
8f1df28b44 Merge "license metadata html notice files" am: b816e5863d
Original change: https://android-review.googlesource.com/c/platform/build/+/1958311

Change-Id: Id71036bd3ad8e6bf135251fc2a2b8ed9b94f8806
2022-01-28 04:17:21 +00:00
Bob Badour
d8724181a9 Merge changes I73975ca7,I98e2c1ee
* changes:
  license metadata bill of materials list
  license metadata shipped libraries list
2022-01-28 04:09:05 +00:00