Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
8016 commits
Select commit Hold shift + click to select a range
38e3f08
Merge "Add java sdk library enforcement flag"
k311093 Dec 2, 2020
08d8128
Merge "Add java sdk library enforcement flag" am: 38e3f08248
k311093 Dec 2, 2020
4bc4ff3
Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855
delphij Dec 2, 2020
f4b637a
Merge "Switch default execution strategy to racing for developer builds"
Dec 2, 2020
43df1d2
Merge "Switch default execution strategy to racing for developer buil…
Dec 2, 2020
bbc94b0
Use jni_libs instead of required for signapk conscrypt JNI
colincross Dec 2, 2020
359f421
Make installed-files-recovery.txt depend on rsync timestamp
colincross Dec 2, 2020
ee33b4e
Adds host_init_verifier to otatools.zip
Daniel-Norman Dec 3, 2020
08d1865
Merge "Add Virtual A/B with vendor ramdisk product."
jacky8hyf Dec 3, 2020
9c6c030
Merge "Merge rvc-qpr-dev-plus-aosp-without-vendor@6881855" into stage…
delphij Dec 3, 2020
90dd869
Merge "Add Virtual A/B with vendor ramdisk product." am: 08d1865332
jacky8hyf Dec 3, 2020
914ef21
Add linker to VAB with vendor_ramdisk
jacky8hyf Dec 3, 2020
d955bc1
Merge "Adds host_init_verifier to otatools.zip"
Dec 3, 2020
2875f60
Merge "Adds host_init_verifier to otatools.zip" am: d955bc1288
Dec 3, 2020
c87781a
Add a product flag that will enable compressed APEX on device
samiul-48 Nov 25, 2020
ed41c73
Merge "Make installed-files-recovery.txt depend on rsync timestamp"
Dec 3, 2020
ae2bf41
Merge "Make installed-files-recovery.txt depend on rsync timestamp" a…
Dec 3, 2020
69ba9af
Merge "Add linker to VAB with vendor_ramdisk"
jacky8hyf Dec 3, 2020
789c57e
Merge "Follow argument changes to RuleBuilder"
colincross Dec 3, 2020
a3237f2
Merge "Add linker to VAB with vendor_ramdisk" am: 69ba9af617
jacky8hyf Dec 3, 2020
52fe30b
Merge "Follow argument changes to RuleBuilder" am: 789c57ee04
colincross Dec 3, 2020
ad4dae7
Merge "Add phony target to check all PCF ELF prebuilts"
silverneko Dec 4, 2020
b179ae6
Merge "Add phony target to check all PCF ELF prebuilts" am: ad4dae71cf
silverneko Dec 4, 2020
62d926e
add erofs to non partition spanning fs
hjn-1 Dec 4, 2020
8f52a56
Enable debug ramdisk for vendor_boot with recovery
willmcvicker Dec 4, 2020
33571ac
Merge "Use jni_libs instead of required for signapk conscrypt JNI"
colincross Dec 4, 2020
3e3c91e
Merge "Use jni_libs instead of required for signapk conscrypt JNI" am…
colincross Dec 4, 2020
1482fba
Remove e2fsck from generic ramdisk.
jacky8hyf Dec 4, 2020
c2ad465
DO NOT MERGE - Mark RQ1A.201004.001 as merged
delphij Dec 6, 2020
35f015e
calculation partition size use compressed image size
hjn-1 Dec 4, 2020
1b0f9bf
Move ro.zygote to vendor
szuweilin Nov 25, 2020
1f72a04
DO NOT MERGE - Merge RQ1A.201205.011
delphij Dec 7, 2020
9b103e4
Add option include a pvmfw partition
AndrewScull Nov 29, 2020
343a6e9
Add stable aidl memtrack hal to vndk list
Dec 7, 2020
dbafb58
Merge "Remove unit tests jar from suites"
desprezj Dec 7, 2020
9e0cc33
Merge "Remove unit tests jar from suites" am: dbafb584dc
desprezj Dec 7, 2020
d7bf548
Merge "Add option include a pvmfw partition"
Dec 7, 2020
e1365ce
Merge "Add option include a pvmfw partition" am: d7bf548967
Dec 7, 2020
edbbf82
Added new compiler filter properties for dexopt.
chriswailes Oct 29, 2020
9b6de57
emulator_arm64: Don't support AArch32
741g Dec 4, 2020
b5e9882
Merge "Enable debug ramdisk for vendor_boot with recovery"
Dec 8, 2020
1430a0b
Merge "Enable debug ramdisk for vendor_boot with recovery" am: b5e988…
Dec 8, 2020
7294274
Ensure file permissions are writable before attempting to sign.
rupertks Dec 8, 2020
748d568
Merge "Remove e2fsck from generic ramdisk."
jacky8hyf Dec 8, 2020
6dbe939
Merge "Remove e2fsck from generic ramdisk." am: 748d568b29
jacky8hyf Dec 8, 2020
cd8fa36
Move rule for certificate_violation_modules.txt
Dec 8, 2020
fae0f97
Move artifact path requirement logic to a separate file
Dec 8, 2020
3e51f42
Enable system partition compression
Nov 4, 2020
e42b9ce
Merge "Added new compiler filter properties for dexopt."
chriswailes Dec 9, 2020
4af080d
Merge "Added new compiler filter properties for dexopt." am: e42b9ceb81
chriswailes Dec 9, 2020
2540511
Merge "Ensure file permissions are writable before attempting to sign."
Dec 9, 2020
c45efb8
Merge "Ensure file permissions are writable before attempting to sign…
Dec 9, 2020
3b37bc8
Add missing buildinfo dependencies.
rupertks Dec 8, 2020
aa7b03b
Add java_sdk_library enforcement flag verification
k311093 Dec 7, 2020
33d9aad
Add java_sdk_library enforcement flags to product.mk
k311093 Dec 2, 2020
70c61bc
Merge changes I1deda85d,I43d7b2c6
Dec 9, 2020
749c163
Merge changes I1deda85d,I43d7b2c6 am: 70c61bc6e9
Dec 9, 2020
9204fde
Merge "Add missing buildinfo dependencies."
rupertks Dec 9, 2020
8d22aad
Merge "Add missing buildinfo dependencies." am: 9204fde7cc
rupertks Dec 9, 2020
63722db
Merge "Move rule for certificate_violation_modules.txt"
Dec 9, 2020
314a943
Merge "Move rule for certificate_violation_modules.txt" am: 63722db3db
Dec 9, 2020
6e579c1
Merge "Move artifact path requirement logic to a separate file"
Dec 9, 2020
23f4daf
Merge "Move artifact path requirement logic to a separate file" am: 6…
Dec 9, 2020
0a246e5
Merge "Add a product flag that will enable compressed APEX on device"
samiul-48 Dec 9, 2020
b2568c4
Merge "Add a product flag that will enable compressed APEX on device"…
samiul-48 Dec 9, 2020
d1258eb
Add a "relaxed" mode for require-artifacts-in-path
Dec 8, 2020
e51c7e8
Set allow list for generic ramdisk
jacky8hyf Nov 19, 2020
d5f89b1
Merge "emulator_arm64: Don't support AArch32"
741g Dec 9, 2020
e44fd59
Merge "emulator_arm64: Don't support AArch32" am: d5f89b11e6
741g Dec 9, 2020
74e57f6
Merge "Enable system partition compression"
Dec 10, 2020
863a120
Merge "Enable system partition compression" am: 74e57f6482
Dec 10, 2020
ca9a71e
DO NOT MERGE - Merge Android R QPR1
delphij Dec 10, 2020
2bbb6c9
Merge "DO NOT MERGE - Merge Android R QPR1"
delphij Dec 10, 2020
85573dd
Move keymint to android.hardware.security.
Dec 7, 2020
63d3835
Merge changes Ib2a4a208,Ic8235912
Dec 10, 2020
55cd0ee
Update aosp_arm64 kernel 4.19 prebuilt name
willmcvicker Nov 2, 2020
e086ae0
require-artifacts-in-path does not require PRODUCT_NAME/BRAND.
jacky8hyf Dec 10, 2020
43943c6
Merge "Move keymint to android.hardware.security."
Dec 10, 2020
055128b
Use sha256 to build the hashtree in avb image
Dec 11, 2020
c0d7c72
Merge "Update aosp_arm64 kernel 4.19 prebuilt name"
willmcvicker Dec 11, 2020
ea21979
Revert "Move keymint to android.hardware.security."
ohodson Dec 11, 2020
88256fd
Merge "Revert "Move keymint to android.hardware.security.""
ohodson Dec 11, 2020
74b8e09
mark zipalign_test as unit tests
desprezj Dec 11, 2020
999779b
Merge "require-artifacts-in-path does not require PRODUCT_NAME/BRAND."
jacky8hyf Dec 11, 2020
49e1a2b
Revert^2 "Move keymint to android.hardware.security."
Dec 11, 2020
7d958f4
Merge "Use sha256 to build the hashtree in avb image"
Dec 11, 2020
27de935
Update OWNERS.
enh-google Dec 11, 2020
f5019e0
Merge "Update OWNERS."
Dec 11, 2020
2a9b7d7
Merge "Revert^2 "Move keymint to android.hardware.security.""
Dec 12, 2020
9cf722c
Move goldfish RRO to vendor partition
silverneko Dec 14, 2020
929f1ad
Make ab_ota_partitions read only
Aug 18, 2020
31839fe
Merge "mark zipalign_test as unit tests"
desprezj Dec 14, 2020
3cc8ce9
Merge "Make ab_ota_partitions read only"
Dec 14, 2020
886049d
Merge "Add stable aidl memtrack hal to vndk list"
Dec 14, 2020
6af48c8
Allows GSI AVB keys on vendor boot even when not building vendor boot.
Daniel-Norman Dec 14, 2020
f03fa0c
Revert "Make ab_ota_partitions read only"
supo2co Dec 14, 2020
111e9cb
Merge "Revert "Make ab_ota_partitions read only""
supo2co Dec 14, 2020
c8b5e19
Pipe bazel() note text to stderr.
jin Dec 14, 2020
d06fe70
Merge "Add java_sdk_library enforcement flags to product.mk"
k311093 Dec 15, 2020
c21cde1
Merge "Add java_sdk_library enforcement flag verification"
k311093 Dec 15, 2020
78ee012
Merge "Move goldfish RRO to vendor partition"
Dec 15, 2020
a25382e
Merge "Allows GSI AVB keys on vendor boot even when not building vend…
Dec 15, 2020
fc9f1c0
Merge "Pipe bazel() note text to stderr."
Dec 15, 2020
dec924e
Merge "Revert^2 "Always turn on compatible property""
Dec 15, 2020
b7b3d8e
Reformat _board_strip_readonly_list assigment
Dec 14, 2020
5e05b8e
Add make support for Aml_abis and Ndk_abis options
Nov 27, 2020
41f9cc2
Make TARGET_ARCH optional in BoardConfig
Nov 27, 2020
f68f92d
Add mainline_sdk device and product
Nov 27, 2020
82996e4
Add devices suitable for single-arch module builds
Nov 25, 2020
e3a0900
generic_ramdisk.mk add missing slash.
jacky8hyf Dec 15, 2020
009936a
Revert "Add stable aidl memtrack hal to vndk list"
Dec 16, 2020
3763818
Merge "Revert "Add stable aidl memtrack hal to vndk list""
Dec 16, 2020
044ef90
Remove libwebrtc_audio_processing
harishdm Dec 16, 2020
df38c92
Merge "Add devices suitable for single-arch module builds"
Dec 16, 2020
3ab1add
Merge "Reformat _board_strip_readonly_list assigment"
Dec 16, 2020
e47d6e4
Merge "Add make support for Aml_abis and Ndk_abis options"
Dec 16, 2020
ed3b56e
Merge "Make TARGET_ARCH optional in BoardConfig"
Dec 16, 2020
fb991de
Merge "generic_ramdisk.mk add missing slash."
Dec 16, 2020
42cae00
Move jacocoagent installation to base_system
jacky8hyf Dec 16, 2020
98b7ac4
Merge "Move jacocoagent installation to base_system"
Dec 17, 2020
d21e7dc
Add support for packing multiple vendor ramdisks in vendor_boot
silverneko Dec 10, 2020
0de3a8b
Merge "Move ro.zygote to vendor"
Dec 17, 2020
d6e9ea9
Temporarily set default to keep building with ART sources.
marstj Dec 15, 2020
d51e4c4
Merge "Remove libwebrtc_audio_processing"
xt0032rus Dec 17, 2020
e4e328a
Merge "Temporarily set default to keep building with ART sources."
marstj Dec 17, 2020
d3d0f7d
Skip generate-common-build-props for older devices without /product
aolexiy Dec 15, 2020
3839f03
Add check that a module doesn't try to override itself.
marstj Dec 18, 2020
817e104
Merge "Add support for packing multiple vendor ramdisks in vendor_boot"
silverneko Dec 21, 2020
5cd2547
Support for recovery snapshot.
jgalmes2 Dec 21, 2020
2bbc159
Remove the zipalign_test mapping file
desprezj Dec 21, 2020
6d9e78f
Swich TEST_MAPPING config to unit_tests:true
desprezj Dec 21, 2020
da77050
Include snapuserd in recovery for VABC builds.
dvandercorp Dec 15, 2020
dc0663f
Merge "Remove the zipalign_test mapping file"
desprezj Dec 22, 2020
91a6413
Increase the size of super.img for Goldfish
Dec 22, 2020
6d10bf9
Merge "Add mainline_sdk device and product"
Dec 22, 2020
3aa08cf
Merge "Increase the size of super.img for Goldfish"
Dec 22, 2020
0386daa
Reply: Add stable aidl memtrack hal to vndk list
Dec 7, 2020
fdb2f2c
Merge "Swich TEST_MAPPING config to unit_tests:true"
Dec 22, 2020
7af0218
Merge "Reply: Add stable aidl memtrack hal to vndk list"
Dec 23, 2020
c311ff6
Update GF board variable for dynamic partition
Dec 25, 2020
a886df6
Merge "Update GF board variable for dynamic partition"
Dec 30, 2020
4a63232
Merge "Include snapuserd in recovery for VABC builds."
Dec 30, 2020
baf5c81
Make ro.product.cpu.abilist.* to be fetched dynamically
szuweilin Dec 31, 2020
54146ee
Update VNDK list for product modules
Dec 7, 2020
cddea9b
Add TARGET_FORCE_APEX_SYMLINK_OPTIMIZATION
jiyongp Jan 5, 2021
6421674
Add variables for notice deps, license kinds etc.
bbadour Jul 20, 2020
20fc1b3
Rough-in license metadata support to make.
bbadour Jul 29, 2020
f57771a
Add 5.10-android12-0 KMI for generic_arm64
jacky8hyf Dec 16, 2020
bc86b7b
Merge "Add TARGET_FORCE_APEX_SYMLINK_OPTIMIZATION"
Jan 6, 2021
fb7c801
Support building mixed versions of sepolicy
iskim517 Dec 9, 2020
8d34c58
Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE
Jan 6, 2021
5cbfbf4
Merge "Support building mixed versions of sepolicy"
iskim517 Jan 6, 2021
0fc21ee
Merge "Merge RQ1A.210105.003 to aosp-master - DO NOT MERGE"
Jan 6, 2021
d8cc135
Implement directed vendor snapshot
iskim517 Jan 6, 2021
5e35fec
Merge changes from topic "metalics"
bbadour Jan 6, 2021
5406674
Revert "Rough-in license metadata support to make."
jgaillard85 Jan 6, 2021
dcfb9c5
Revert "Add variables for notice deps, license kinds etc."
jgaillard85 Jan 6, 2021
2d76d2d
Merge changes from topic "revert-1377717-metalics-BOEMJWNSHV"
bbadour Jan 6, 2021
bee0c58
Merge "Support for recovery snapshot."
jgalmes2 Jan 6, 2021
939e511
Merge "Update VNDK list for product modules"
Jan 7, 2021
21bd34f
Revert^2 "Add variables for notice deps, license kinds etc."
bbadour Jan 7, 2021
7a95820
Revert^2 "Rough-in license metadata support to make."
bbadour Jan 7, 2021
c497641
Implement fake vendor snapshot
iskim517 Jan 5, 2021
d432027
Update gsi/current.txt with secure clock and shared secret services.
Jan 6, 2021
0876460
Move keymint to security.
Jan 7, 2021
1ed887f
Merge "Add 5.10-android12-0 KMI for generic_arm64"
jacky8hyf Jan 7, 2021
ddfcfb8
Merge changes from topic "revert-1541855-revert-1377717-metalics-BOEM…
bbadour Jan 7, 2021
c19b344
Merge "Move keymint to security."
Jan 7, 2021
17652e8
Merge "Implement fake vendor snapshot"
Jan 8, 2021
c65a054
Move GetBootImageTimestamp to common.
jacky8hyf Jan 7, 2021
5057b95
Split PARTITIONS_WITH_BUILD_PROP from *_WITH_CARE_MAP
jacky8hyf Jan 7, 2021
85ac501
Add GetBootImageBuildProp.
jacky8hyf Jan 7, 2021
10482a2
Load boot build props to info_dict properly.
jacky8hyf Jan 7, 2021
732b858
Add unit_test option to module-info.json
Jan 8, 2021
383e482
zipalign: log more I/O errors
colincross Jan 8, 2021
44412cc
Merge "zipalign: log more I/O errors"
Jan 8, 2021
cb09afc
Merge changes from topic "common.GetBootImageTimestamp"
jacky8hyf Jan 8, 2021
2ef12cb
Add OemLock HAL to VNDK-core list
Dec 8, 2020
991fe0a
Merge "Add OemLock HAL to VNDK-core list"
Jan 11, 2021
e245e00
Initialize DEX_PREOPT_DEFAULT based on global dexpreopt settings.
Jan 11, 2021
fcd9ccf
Remove ANDROID_EXPERIMENTAL_MTE.
pcc Dec 21, 2020
4e98e68
Merge "Remove ANDROID_EXPERIMENTAL_MTE."
pcc Jan 11, 2021
c3fdfed
Fix test_sign_apex
nioffe Jan 11, 2021
7240eca
Merge "Skip generate-common-build-props for older devices without /pr…
szuweilin Jan 12, 2021
8f8522a
Merge "Fix test_sign_apex"
nioffe Jan 12, 2021
7c63707
Merge "Add unit_test option to module-info.json"
Jan 12, 2021
10b4d0a
Include/exclude paths for memtag sanitizer.
eugenis Jan 6, 2021
c2adfd8
Add AuthSecret HAL to VNDK-core list
Dec 22, 2020
fe1d9d4
Merge "Add AuthSecret HAL to VNDK-core list"
Jan 12, 2021
c275c68
Merge "Initialize DEX_PREOPT_DEFAULT based on global dexpreopt settin…
Jan 12, 2021
7dc5117
GetBootImageBuildProp returns None if file does not exist
jacky8hyf Jan 12, 2021
de32b6d
Merge "Include/exclude paths for memtag sanitizer."
eugenis Jan 12, 2021
14a8712
Add missing dependencies to releasetools_common and binary defaults.
jacky8hyf Jan 12, 2021
2e0b835
Fix errors from validate_target_files
Jan 12, 2021
6068e8d
Refactor apex signing logic in preparation for compressed apexes
nioffe Jan 12, 2021
9644ec8
Add dependencies on java resources when packaging APK without classes
colincross Jan 12, 2021
eebe61d
Merge "Add missing dependencies to releasetools_common and binary def…
Jan 12, 2021
2de3459
Merge "Fix errors from validate_target_files"
Jan 13, 2021
9d2219c
Merge "Add dependencies on java resources when packaging APK without …
Jan 13, 2021
f79835f
Merge "Remove implicit include path for jni.h"
ohodson Jan 13, 2021
0bafe32
Use 64 bit binder in module builds
Jan 13, 2021
4a693b2
jacoco-report-classes-all.jar doesn't depend on fake modules
jiyongp Jan 13, 2021
015b689
Merge "Refactor apex signing logic in preparation for compressed apexes"
nioffe Jan 13, 2021
75232ce
Merge "Use 64 bit binder in module builds"
Jan 13, 2021
7a27574
Merge "GetBootImageBuildProp returns None if file does not exist"
jacky8hyf Jan 13, 2021
0c6951f
Merge "jacoco-report-classes-all.jar doesn't depend on fake modules"
Jan 14, 2021
f66f0ec
Concat INTERNAL_*IMAGE_FILES into INTERNAL_ALLIMAGES_FILES
jiyongp Jan 14, 2021
6f19c3e
Switch platform EH unwinder to prebuilt LLVM libunwind
rprichard Dec 16, 2020
23e4ab2
Merge "Add check that a module doesn't try to override itself."
marstj Jan 14, 2021
46b0d8c
Merge "Update gsi/current.txt with secure clock and shared secret ser…
Jan 14, 2021
d041e4b
Merge "Make ro.product.cpu.abilist.* to be fetched dynamically"
Jan 14, 2021
c3d7fff
Stops including extra VNDK apexes if the VNDK current apex is on vendor.
Daniel-Norman Jan 14, 2021
462c12d
Disable unsigned-shift-base by default.
yabinc Jan 14, 2021
7604390
Merge "Disable unsigned-shift-base by default."
yabinc Jan 15, 2021
789641c
Move gsi_arm64 makefile to device/generic/common
silverneko Jan 15, 2021
fc596c9
Merge "Stops including extra VNDK apexes if the VNDK current apex is …
Daniel-Norman Jan 15, 2021
b1cfb67
Add health storage V1 to VNDK list
jacky8hyf Jan 15, 2021
e3cf609
Enable prebuilt hiddenapi CSV files.
bpeckham64 Jan 8, 2021
2099e6e
Remove PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE from gsi_release.mk
silverneko Jan 18, 2021
ceaa411
Includes recovery resources into vendor_boot-debug.img
bowgotsai Jan 19, 2021
68ab626
Specify --ramdisk_name for vendor ramdisks for vendor_boot v4
silverneko Jan 19, 2021
897fe0e
Split out minimal ART dexpreopt config and use it in mainline builds.
Jan 15, 2021
239a79a
Emit virtual_ab_compression prop to dynamic_parttiion_info.txt
zhangxp1998 Jan 15, 2021
39ac1fa
Merge "Switch platform EH unwinder to prebuilt LLVM libunwind"
rprichard Jan 20, 2021
890f84f
Merge "Implement directed vendor snapshot"
iskim517 Jan 20, 2021
b45217b
Merge "Includes recovery resources into vendor_boot-debug.img"
Jan 20, 2021
95bd22e
Merge "Remove PRODUCT_COMPATIBLE_PROPERTY_OVERRIDE from gsi_release.mk"
silverneko Jan 20, 2021
865fd0c
Merge "Specify --ramdisk_name for vendor ramdisks for vendor_boot v4"
silverneko Jan 20, 2021
c895a8a
Merge "Split out minimal ART dexpreopt config and use it in mainline …
Jan 20, 2021
7f8b7a1
Do not suppress compilation of boot images because of TARGET_BUILD_APPS.
Jan 15, 2021
ed9395a
Remove unused variables.
Jan 20, 2021
ddf8f61
Merge "Enable prebuilt hiddenapi CSV files."
bpeckham64 Jan 20, 2021
8951930
Merge "Do not suppress compilation of boot images because of TARGET_B…
Jan 20, 2021
c6c4f08
Merge "Remove unused variables."
Jan 20, 2021
6e455b8
Merge "Emit virtual_ab_compression prop to dynamic_parttiion_info.txt"
Jan 20, 2021
ef3186d
Merge "Add health storage V1 to VNDK list"
jacky8hyf Jan 20, 2021
3330b2f
Support memtag_heap sanitizer type in make.
eugenis Jan 13, 2021
75c4e34
Merge "Concat INTERNAL_*IMAGE_FILES into INTERNAL_ALLIMAGES_FILES"
Jan 21, 2021
6059135
Merge "Move gsi_arm64 makefile to device/generic/common"
silverneko Jan 21, 2021
3c87560
Add a missing guard around JACOCO_REPORT_CLASSES_ALL
jiyongp Jan 21, 2021
3b455ea
Merge "Add a missing guard around JACOCO_REPORT_CLASSES_ALL"
jiyongp Jan 21, 2021
d0bd7f0
Merge "Support memtag_heap sanitizer type in make."
eugenis Jan 21, 2021
841c3e3
Add skeleton for product-config tool.
onoratoj Oct 20, 2020
604fc5f
Add weaver HAL to VNDK-core list
Jan 5, 2021
e9df7af
Merge "Add weaver HAL to VNDK-core list"
Jan 22, 2021
55abbc7
Merge "Add skeleton for product-config tool."
onoratoj Jan 22, 2021
00c7fcc
current.txt: remove libadf since it is no longer supported
tf-marissaw Feb 28, 2020
caf8f60
Merge "current.txt: remove libadf since it is no longer supported"
enh-google Jan 22, 2021
af2e804
Revert "Do not set ro.iorapd.enable=true"
yan-wang-google Jan 22, 2021
7ffa8b8
Merge "Revert "Do not set ro.iorapd.enable=true""
yan-wang-google Jan 23, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
103 changes: 100 additions & 3 deletions Changes.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,112 @@
# Build System Changes for Android.mk Writers

## ELF prebuilts in PRODUCT_COPY_FILES
## `LOCAL_REQUIRED_MODULES` requires listed modules to exist {#BUILD_BROKEN_MISSING_REQUIRED_MODULES}

ELF prebuilts in PRODUCT_COPY_FILES that are installed into these paths are an
Modules listed in `LOCAL_REQUIRED_MODULES`, `LOCAL_HOST_REQUIRED_MODULES` and
`LOCAL_TARGET_REQUIRED_MODULES` need to exist unless `ALLOW_MISSING_DEPENDENCIES`
is set.

To temporarily relax missing required modules check, use:

`BUILD_BROKEN_MISSING_REQUIRED_MODULES := true`

## Changes in system properties settings

### Product variables

System properties for each of the partition is supposed to be set via following
product config variables.

For system partititon,

* `PRODUCT_SYSTEM_PROPERITES`
* `PRODUCT_SYSTEM_DEFAULT_PROPERTIES` is highly discouraged. Will be deprecated.

For vendor partition,

* `PRODUCT_VENDOR_PROPERTIES`
* `PRODUCT_PROPERTY_OVERRIDES` is highly discouraged. Will be deprecated.
* `PRODUCT_DEFAULT_PROPERTY_OVERRIDES` is also discouraged. Will be deprecated.

For odm partition,

* `PRODUCT_ODM_PROPERTIES`

For system_ext partition,

* `PRODUCT_SYSTEM_EXT_PROPERTIES`

For product partition,

* `PRODUCT_PRODUCT_PROPERTIES`

### Duplication is not allowed within a partition

For each partition, having multiple sysprop assignments for the same name is
prohibited. For example, the following will now trigger an error:

`PRODUCT_VENDOR_PROPERTIES += foo=true foo=false`

Having duplication across partitions are still allowed. So, the following is
not an error:

`PRODUCT_VENDOR_PROPERTIES += foo=true`
`PRODUCT_SYSTEM_PROPERTIES += foo=false`

In that case, the final value is determined at runtime. The precedence is

* product
* odm
* vendor
* system_ext
* system

So, `foo` becomes `true` because vendor has higher priority than system.

To temporarily turn the build-time restriction off, use

`BUILD_BROKEN_DUP_SYSPROP := true`

### Optional assignments

System properties can now be set as optional using the new syntax:

`name ?= value`

Then the system property named `name` gets the value `value` only when there
is no other non-optional assignments having the same name. For example, the
following is allowed and `foo` gets `true`

`PRODUCT_VENDOR_PROPERTIES += foo=true foo?=false`

Note that the order between the optional and the non-optional assignments
doesn't matter. The following gives the same result as above.

`PRODUCT_VENDOR_PROPERTIES += foo?=false foo=true`

Optional assignments can be duplicated and in that case their order matters.
Specifically, the last one eclipses others.

`PRODUCT_VENDOR_PROPERTIES += foo?=apple foo?=banana foo?=mango`

With above, `foo` becomes `mango` since its the last one.

Note that this behavior is different from the previous behavior of preferring
the first one. To go back to the original behavior for compatability reason,
use:

`BUILD_BROKEN_DUP_SYSPROP := true`

## ELF prebuilts in `PRODUCT_COPY_FILES` {#BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES}

ELF prebuilts in `PRODUCT_COPY_FILES` that are installed into these paths are an
error:

* `<partition>/bin/*`
* `<partition>/lib/*`
* `<partition>/lib64/*`

Define prebuilt modules and add them to PRODUCT_PACKAGES instead.
Define prebuilt modules and add them to `PRODUCT_PACKAGES` instead.
To temporarily relax this check and restore the behavior prior to this change,
set `BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true` in `BoardConfig.mk`.

Expand Down
36 changes: 33 additions & 3 deletions CleanSpec.mk
Original file line number Diff line number Diff line change
Expand Up @@ -505,9 +505,9 @@ $(call add-clean-step, rm -rf $(TARGET_RECOVERY_ROOT_OUT)/etc)

# Remove *_OUT_INTERMEDIATE_LIBRARIES
$(call add-clean-step, rm -rf $(addsuffix /lib,\
$(HOST_OUT_INTERMEDIATES) $(2ND_HOST_OUT_INTERMEDIATES) \
$(HOST_CROSS_OUT_INTERMEDIATES) $(2ND_HOST_CROSS_OUT_INTERMEDIATES) \
$(TARGET_OUT_INTERMEDIATES) $(2ND_TARGET_OUT_INTERMEDIATES)))
$(HOST_OUT_INTERMEDIATES) $(2ND_HOST_OUT_INTERMEDIATES) \
$(HOST_CROSS_OUT_INTERMEDIATES) $(2ND_HOST_CROSS_OUT_INTERMEDIATES) \
$(TARGET_OUT_INTERMEDIATES) $(2ND_TARGET_OUT_INTERMEDIATES)))

# Remove strip.sh intermediates to save space
$(call add-clean-step, find $(OUT_DIR) \( -name "*.so.debug" -o -name "*.so.dynsyms" -o -name "*.so.funcsyms" -o -name "*.so.keep_symbols" -o -name "*.so.mini_debuginfo.xz" \) -print0 | xargs -0 rm -f)
Expand Down Expand Up @@ -646,6 +646,8 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/libstagefright_soft*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/odm/build.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/odm/build.prop)

$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex)

# Remove libcameraservice and libcamera_client from base_system
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/libcameraservice.so)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/libcamera_client.so)
Expand Down Expand Up @@ -685,6 +687,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex)
# Migrate preopt files to system_other for some devices
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/*/*app/*/oat)

# Migrate preopt files from system_other for some devices
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system_other)

# Remove Android Core Library artifacts from the system partition, now
# that they live in the ART APEX (b/142944799).
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*.jar)
Expand All @@ -699,9 +704,27 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/lib*/vndk-*)
# again, as the original change removing them was reverted.
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/framework/*.jar)

# Remove cas@1.1 from the vendor partition
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/bin/hw/android.hardware.cas@1.1*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/init/android.hardware.cas@1.1*)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/etc/vintf/manifest/android.hardware.cas@1.1*)

# Remove com.android.cellbroadcast apex for Go devices
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex/com.android.cellbroadcast.apex)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/apex/com.android.cellbroadcast)

# Remove CellBroadcastLegacyApp for Go devices
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/CellBroadcastLegacyApp)

# Remove MediaProvider after moving into APEX
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/MediaProvider)

# The core image variant has been renamed to ""
$(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "android_*_core*" -print0 | xargs -0 rm -rf)

# Remove 'media' command
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/bin/media)

# Remove CtsShim apks from system partition, since the have been moved inside
# the cts shim apex. Also remove the cts shim apex prebuilt since it has been
# removed in flattened apexs configurations.
Expand All @@ -713,6 +736,9 @@ $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/apex/com.android.apex.cts.sh
$(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "android_*_recovery*" -print0 | xargs -0 rm -rf)
$(call add-clean-step, find $(SOONG_OUT_DIR)/.intermediates -type d -name "android_*_vendor*" -print0 | xargs -0 rm -rf)

# Remove PermissionController after moving into APEX
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/priv-app/*PermissionController)

# Clean up VTS-Core and VTS10 related artifacts.
$(call add-clean-step, rm -rf $(HOST_OUT)/vts-core/*)
$(call add-clean-step, rm -rf $(HOST_OUT)/framework/vts-core-tradefed.jar)
Expand All @@ -725,6 +751,10 @@ $(call add-clean-step, rm -rf $(HOST_OUT)/framework/vts-tradefed.jar)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/vendor/default.prop)
$(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/etc/prop.default)

# Workaround for Soong not being able to rebuild the host binary if its
# JNI dependencies change: b/170389375
$(call add-clean-step, rm -rf $(OUT_DIR)/soong/host/*/lib*/libconscrypt_openjdk_jni.so)

# ************************************************
# NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST
# ************************************************
12 changes: 1 addition & 11 deletions OWNERS
Original file line number Diff line number Diff line change
@@ -1,11 +1 @@
# Core build team (MTV)
ccross@android.com
dwillemsen@google.com
asmundak@google.com
jungjw@google.com

# To expedite LON reviews
hansson@google.com

# For version updates
per-file version_defaults.mk = aseaton@google.com,elisapascual@google.com,lubomir@google.com,pscovanner@google.com
include platform/build/soong:/OWNERS
16 changes: 16 additions & 0 deletions common/math.mk
Original file line number Diff line number Diff line change
Expand Up @@ -181,6 +181,22 @@ $(call math-expect,(call numbers_less_than,3,0 2 1 3),0 2 1)
$(call math-expect,(call numbers_less_than,4,0 2 1 3),0 2 1 3)
$(call math-expect,(call numbers_less_than,3,0 2 1 3 2),0 2 1 2)

# Returns the words in $2 that are numbers and are greater or equal to $1
define numbers_greater_or_equal_to
$(strip \
$(foreach n,$2, \
$(if $(call math_is_number,$(n)), \
$(if $(call math_gt_or_eq,$(n),$(1)), \
$(n)))))
endef

$(call math-expect,(call numbers_greater_or_equal_to,4,0 1 2 3),)
$(call math-expect,(call numbers_greater_or_equal_to,3,0 2 1 3),3)
$(call math-expect,(call numbers_greater_or_equal_to,2,0 2 1 3),2 3)
$(call math-expect,(call numbers_greater_or_equal_to,1,0 2 1 3),2 1 3)
$(call math-expect,(call numbers_greater_or_equal_to,0,0 2 1 3),0 2 1 3)
$(call math-expect,(call numbers_greater_or_equal_to,1,0 2 1 3 2),2 1 3 2)

_INT_LIMIT_WORDS := $(foreach a,x x,$(foreach b,x x x x x x x x x x x x x x x x,\
$(foreach c,x x x x x x x x x x x x x x x x,x x x x x x x x x x x x x x x x)))

Expand Down
2 changes: 1 addition & 1 deletion common/strings.mk
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ to-lower=$(subst A,a,$(subst B,b,$(subst C,c,$(subst D,d,$(subst E,e,$(subst F,f
###########################################################
to-upper=$(subst a,A,$(subst b,B,$(subst c,C,$(subst d,D,$(subst e,E,$(subst f,F,$(subst g,G,$(subst h,H,$(subst i,I,$(subst j,J,$(subst k,K,$(subst l,L,$(subst m,M,$(subst n,N,$(subst o,O,$(subst p,P,$(subst q,Q,$(subst r,R,$(subst s,S,$(subst t,T,$(subst u,U,$(subst v,V,$(subst w,W,$(subst x,X,$(subst y,Y,$(subst z,Z,$1))))))))))))))))))))))))))

# Sanity-check to-lower and to-upper
# Test to-lower and to-upper
lower := abcdefghijklmnopqrstuvwxyz-_
upper := ABCDEFGHIJKLMNOPQRSTUVWXYZ-_

Expand Down
Loading