Commit Graph

73628 Commits

Author SHA1 Message Date
Anton Hansson
62b51f2e36 Merge "Fix typos in telephony_vendor product makefile" am: de88a91b43
Original change: https://android-review.googlesource.com/c/platform/build/+/1974425

Change-Id: I15d9841a798641fbf1f394d2cb9761ae5c19e5bf
2022-02-08 10:35:29 +00:00
Anton Hansson
de88a91b43 Merge "Fix typos in telephony_vendor product makefile" 2022-02-08 09:43:31 +00:00
Treehugger Robot
d836e794d6 Merge "Update default system Proguard config rules" am: 2624cfa2dc
Original change: https://android-review.googlesource.com/c/platform/build/+/1975127

Change-Id: Id53536d8000a6c2d04ad3c7a75c65662ef137c4d
2022-02-08 05:47:20 +00:00
Treehugger Robot
2624cfa2dc Merge "Update default system Proguard config rules" 2022-02-08 05:35:04 +00:00
Pirama Arumuga Nainar
1d88752712 Merge "Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code" am: 9335286372
Original change: https://android-review.googlesource.com/c/platform/build/+/1973521

Change-Id: I110eea2accbff66026fdd98d53734859a6f57bee
2022-02-08 05:18:59 +00:00
Pirama Arumuga Nainar
9335286372 Merge "Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code" 2022-02-08 05:01:59 +00:00
Treehugger Robot
e1c3dd402c Merge "Update APK parser to be compatible with new signer output" am: c438d9aaca
Original change: https://android-review.googlesource.com/c/platform/build/+/1976047

Change-Id: Ie32209d9d3d11cb4c48a9ed280edb570ada480cf
2022-02-08 04:43:46 +00:00
Treehugger Robot
c438d9aaca Merge "Update APK parser to be compatible with new signer output" 2022-02-08 04:25:02 +00:00
Treehugger Robot
2238917d48 Merge "Fix small misuse of pass" am: f6cd3a1ddd
Original change: https://android-review.googlesource.com/c/platform/build/+/1976046

Change-Id: I90547726772363a853bc5206093cf1f23ec2f030
2022-02-08 04:01:27 +00:00
Treehugger Robot
f6cd3a1ddd Merge "Fix small misuse of pass" 2022-02-08 03:42:12 +00:00
Kelvin Zhang
846f285d55 Update APK parser to be compatible with new signer output
Test: th
Bug: 218304082
Change-Id: If79ffdb1e4cec192ef796a39dd0ed5b38bc430e0
2022-02-07 16:38:09 -08:00
Kelvin Zhang
9d021e996b Fix small misuse of pass
The intention is to skip current iteration of for loop, so 'continue'
should be used instead of 'pass'

Test: th
Change-Id: Ic955beeaef74100981b351e2e7807c7fde538783
2022-02-07 16:38:09 -08:00
Kelvin Zhang
828c68767e Merge "Store EROFS images uncompressed" am: 691f8b93c7
Original change: https://android-review.googlesource.com/c/platform/build/+/1956494

Change-Id: I8736cc954ce7c9fdde596c55c52e38410d306fe1
2022-02-07 21:14:15 +00:00
Kelvin Zhang
691f8b93c7 Merge "Store EROFS images uncompressed" 2022-02-07 20:55:51 +00:00
Jared Duke
df60c0bb14 Update default system Proguard config rules
Use the `includedescriptorclasses` modifier with the native keep rules
to ensure native method signatures remain preserved. This matches
common native Proguard rules used elsewhere.

Bug: 196084106
Test: m + presubmit
Change-Id: Ie413459ad0f65ce6b8cd6eb34318494c12568c5e
2022-02-07 10:54:51 -08:00
DarkJoker360
db4e956dc1 Fix typos in telephony_vendor product makefile
- Remove blank PRODUCT_COPY_FILES

Change-Id: I4c8a19565dc09a802e630d3b057522b3a3ee1cbd
2022-02-07 19:14:23 +01:00
Jordan Demeulenaere
c21bcf2636 Merge "Revert "Add a core configuration that disables the zygote."" am: d183371cda
Original change: https://android-review.googlesource.com/c/platform/build/+/1974419

Change-Id: I298b4740a81d4219554ac0bbfa6683fbbd84c300
2022-02-07 15:09:14 +00:00
Jordan Demeulenaere
d183371cda Merge "Revert "Add a core configuration that disables the zygote."" 2022-02-07 14:53:40 +00:00
Jordan Demeulenaere
fe3d2e672a Revert "Add a core configuration that disables the zygote."
Revert submission 1964759-master-I4f918502e611e950fa039e4e2ed817c97b928ba2

Reason for revert: b/217993447
Reverted Changes:
I4f918502e:Add a core configuration that disables the zygote....
I4f918502e:Add a core configuration that disables the zygote....
I4f918502e:Add a core configuration that disables the zygote....

Change-Id: I5d51a021fea89a0ab6c73349d93117d60cfc9350
2022-02-07 09:05:29 +00:00
Pirama Arumuga Nainar
d6b0a87ed7 Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code
Bug: http://b/215753485

This allows enabling a new warning from the compiler update for
first-party code.  This is less precise than the check in build/soong
(also overrides for vendor/google, for e.g.) because of being written in
Make.

Test: With new clang, verify the following:
    lunch oriole;
    m out/target/product/oriole/obj_arm/SHARED_LIBRARIES/libexynosdisplay_intermediates/libresource/ExynosMPP.o
Change-Id: I13080fec71e282c4b528a6d01b967b1c0c4aef02
2022-02-05 13:50:41 -08:00
Treehugger Robot
ea27a5efb7 Merge "Add a core configuration that disables the zygote." am: fb9ec40e65
Original change: https://android-review.googlesource.com/c/platform/build/+/1964621

Change-Id: Ie3be954457563358580d9af2fabcf69559566458
2022-02-05 00:09:39 +00:00
Treehugger Robot
fb9ec40e65 Merge "Add a core configuration that disables the zygote." 2022-02-04 23:52:33 +00:00
Bob Badour
00e438dd74 Merge "Regularize command-line flags." am: 339edb60d2
Original change: https://android-review.googlesource.com/c/platform/build/+/1969760

Change-Id: Idfddaa7a9fe398734278e0d889108becb63f4e59
2022-02-03 03:48:40 +00:00
Bob Badour
339edb60d2 Merge "Regularize command-line flags." 2022-02-03 03:29:20 +00:00
Kelvin Zhang
075084d909 Merge "Add zhangkelvin@ as owner for release tools scripts" am: 3b72e28421
Original change: https://android-review.googlesource.com/c/platform/build/+/1969479

Change-Id: Id218861921c646bdc7df57758168c217be0b0fb7
2022-02-03 03:19:50 +00:00
Bob Badour
ce5a9303ac Merge "license metadata xml notice files" am: a822469f2a
Original change: https://android-review.googlesource.com/c/platform/build/+/1966147

Change-Id: If958a594814b9c06a817d3e4d02c3e7b5d45a4fa
2022-02-03 03:19:40 +00:00
Kelvin Zhang
3b72e28421 Merge "Add zhangkelvin@ as owner for release tools scripts" 2022-02-03 03:05:34 +00:00
Bob Badour
a822469f2a Merge "license metadata xml notice files" 2022-02-03 03:04:50 +00:00
Bob Badour
682e1bae57 Regularize command-line flags.
All the notice binaries have -title

All the binaries that can -stripPrefix can strip multiple.

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

Test: m all
Test: m systemlicense
Test: m bom; out/soong/host/linux-x85/bom ...
Test: m dumpgraph; out/soong/host/linux-x85/dumpgraph ...
Test: m dumpresolutions; out/soong/host/linux-x85/dumpresolutions ...
Test: m htmlnotice; out/soong/host/linux-x85/htmlnotice ...
Test: m rtrace; out/soong/host/linux-x85/rtrace ...
Test: m textnotice; out/soong/host/linux-x85/textnotice ...
Test: m xmlnotice; out/soong/host/linux-x85/xmlnotice ...

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: I08357bf1adb048abba6563cf3cea6ee6d60405e0
2022-02-02 15:32:50 -08:00
Bob Badour
f87922450e license metadata xml notice files
Introduce the below command-line tool:

xmlnotice outputs a NOTICE.xml file constructed from the license
texts of the transitive closure of dependencies.

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

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

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: I267effd3a1c1b981bcdc5e058dce561a2d4a7948
2022-02-02 15:32:50 -08:00
Kelvin Zhang
834f5d458f Store EROFS images uncompressed
Test: th
Change-Id: I53005bee139079afe25da231ca1d42f03fa010a5
2022-02-02 12:52:34 -08:00
Kelvin Zhang
4f8f972a5b Add zhangkelvin@ as owner for release tools scripts
Change-Id: Ic861bc11d6a7d80c0d22a05ce35998753bb60752
2022-02-02 12:52:34 -08:00
Treehugger Robot
0f5c34115c Merge "core & tools: system_dlkm: add dynamic partition" am: ef25de413e
Original change: https://android-review.googlesource.com/c/platform/build/+/1963868

Change-Id: Id6e2f44307b6f801056c704f4524d4c22d830623
2022-02-02 06:22:41 +00:00
Treehugger Robot
ef25de413e Merge "core & tools: system_dlkm: add dynamic partition" 2022-02-02 06:04:07 +00:00
Treehugger Robot
7ceb15511b Merge "Add support for gzipping html output." am: 91e4f9db50
Original change: https://android-review.googlesource.com/c/platform/build/+/1966146

Change-Id: I8a8dde8f3ecab4012682359205b1ab63ea693db4
2022-02-02 04:45:35 +00:00
Treehugger Robot
91e4f9db50 Merge "Add support for gzipping html output." 2022-02-02 04:32:05 +00:00
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
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
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
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