aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-10Merge "add dmesgd to base system"android-t-preview-2android-t-preview-1android-t-beta-3android-t-preview-1Treehugger Robot
2022-02-10add dmesgd to base systemAlexander Potapenko
Bug: 215095687 Test: run on a user device with injected KFENCE bugs Change-Id: I7776d96400d46fa31bcd8f04728877402dce1162
2022-02-10Merge "Fix signing failure when no entry to convert to store"Treehugger Robot
2022-02-10Merge "Greater-than zero is more idiomatic."Bob Badour
2022-02-10Merge "Add an misc_info.txt entry to customize VABC compression"Treehugger Robot
2022-02-10Merge "Add missing LOCAL_ROTATION_MIN_SDK_VERSION"Treehugger Robot
2022-02-10Add missing LOCAL_ROTATION_MIN_SDK_VERSIONyangbill
This definition missing will cause merge conflict which is already in main branch. Bug: 215243373 Test: m out/target/product/vsoc_x86_64/module-info.json Change-Id: Ifc103268aad9d6769822ff1eae4db1cc59aee57e Merged-In: I3b5e9bb3985c2ae83381499a44b339a7b1deb05c
2022-02-10Merge "Enable io_uring feature for virtual A/B OTA"Akilesh Kailash
2022-02-10Merge "Support relative key path in VerifiedBootVersion2VerityImageBuilder"Kelvin Zhang
2022-02-09Fix signing failure when no entry to convert to storeKelvin Zhang
zip -d doesn't work when no entry names specified. So if the list of entry is empty, just skip calling zip -d. Bug: 218438888 Test: th Change-Id: Ie4419b9d6fdc2780255c6f12f9f4d35e5c0a7b26
2022-02-09Greater-than zero is more idiomatic.Bob Badour
Test: m all Change-Id: I6000d937b98c84226a347b69c69b333a15beb355
2022-02-09Merge "Fix python3 errors: "TypeError: write() argument must be str, not bytes""android-s-v2-beta-3android-s-qpr3-beta-1android-s-v2-beta-3android-s-qpr3-beta-1Treehugger Robot
2022-02-09Add an misc_info.txt entry to customize VABC compressionKelvin Zhang
Products can define PRODUCT_VIRTUAL_AB_COMPRESSION_METHOD to specify the compression algorithm they prefer, or "none" for no compression at all. Test: th Change-Id: I4fa27bd2c87b8f46c51023168d079e9b47ce2924
2022-02-09Merge "envsetup.sh: Update text in lunch menu for clarity"Will Burr
2022-02-09Support relative key path in VerifiedBootVersion2VerityImageBuilderOleksiy Avramchenko
Otatools archive can be unpacked to an arbitrary directory together with bundled external/avb/test/data keys. Calling add_img_to_target_files from a different directory fails to build an image which has avb_{}_key_path pointing to the bundled key since add_hash_footer can't find the key file. Fix this by applying the same logic as in common.AppendAVBSigningArgs. Steps to reproduce: $ . build/envsetup.sh && lunch aosp_cf_arm64_phone-userdebug && make dist $ cd out/dist && rm -rf otatools && unzip otatools.zip -d otatools $ zip -d aosp_cf_arm64_phone-*target_files*.zip IMAGES/system_other.img $ otatools/bin/add_img_to_target_files -a -v -p otatools \ aosp_cf_arm64_phone-target_files-*.zip Bug: 218531463 Test: manual, see "steps to reproduce" above Change-Id: Id3f7cf2678e998ef1beda2b6741944c6455c2404
2022-02-09Fix python3 errors: "TypeError: write() argument must be str, not bytes"Iavor-Valentin Iftime
Bug: 186097910 Change-Id: I191c3230596026ee327c1403a6c72fbfa6fdb2d9
2022-02-09envsetup.sh: Update text in lunch menu for clarityWill Burr
Updates the lunch menu text to make it clearer that the choices in lunch menu are not fully comprehensive. As the list comes from common lunch choices the text now refers to 'common combinations' and informs that you can 'specify your own'. This should help developers who are unsure why they cannot find their desired lunch target in the list. Change-Id: Ib9d55ee46b7037c30a8f4b43fdd552ea66e887e8 Test: source build/envsetup.sh && lunch
2022-02-09Merge "system_dlkm: add to the non AB ota"Treehugger Robot
2022-02-09system_dlkm: add to the non AB otaRamji Jiyani
Test: TH Bug: 200082547 Signed-off-by: Ramji Jiyani <ramjiyani@google.com> Change-Id: Ib43ff411c17a96656a677e3a437e834884a0372f
2022-02-09Merge "Add support for a product name as well as title."Bob Badour
2022-02-08Merge "Pass --makefile_list to rbc board configuration"Treehugger Robot
2022-02-08Enable io_uring feature for virtual A/B OTAAkilesh Kailash
snapuserd: Use io_uring READ/WRITE opcodes for snapshot merge. Specifically, it is used only for readahead and ordered ops code path. Snapshot merge perf: =========================================================== Incremental OTA of 300M between two git_master branches on Pixel 6: =========================================================== On Android S (with dm-snapshot): ~15 minutes: update_engine: [INFO:cleanup_previous_update_action.cc(330)] Merge finished with state MergeCompleted. update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction update_engine: [INFO:cleanup_previous_update_action.cc(501)] Reporting merge stats: MergeCompleted in 926508ms (resumed 0 times), using 0 bytes of COW image. =========================================================== On Android T (with io_uring: ~38 seconds): update_engine: [INFO:cleanup_previous_update_action.cc(330)] Merge finished with state MergeCompleted. update_engine: [INFO:cleanup_previous_update_action.cc(130)] Stopping/suspending/completing CleanupPreviousUpdateAction update_engine: [INFO:cleanup_previous_update_action.cc(501)] Reporting merge stats: MergeCompleted in 38868ms (resumed 0 times), using 0 bytes of COW image. =========================================================== Bug: 202784286 Test: Full/Incremental OTA Signed-off-by: Akilesh Kailash <akailash@google.com> Change-Id: Ia6efff32898cdc6b683ca49c233ef45e8cd732e7
2022-02-08Merge "Merge SQ1A.220205.002"Treehugger Robot
2022-02-08Merge "A custom APEX signing tool with --signing_args"Jooyung Han
2022-02-08Merge "Fix typos in telephony_vendor product makefile"Anton Hansson
2022-02-07Merge SQ1A.220205.002Xin Li
Bug: 213904741 Merged-In: Ifcc54fbdb18bb480e73c2f52ebefd968b52a1e27 Change-Id: I880096a3272bb9ae5b95e7f9b507b464b5aec856
2022-02-08Merge "Update default system Proguard config rules"Treehugger Robot
2022-02-08Merge "Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party code"Pirama Arumuga Nainar
2022-02-08Merge "Update APK parser to be compatible with new signer output"Treehugger Robot
2022-02-08Merge "Fix small misuse of pass"Treehugger Robot
2022-02-07Update APK parser to be compatible with new signer outputKelvin Zhang
Test: th Bug: 218304082 Change-Id: If79ffdb1e4cec192ef796a39dd0ed5b38bc430e0
2022-02-07Fix small misuse of passKelvin Zhang
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-07Pass --makefile_list to rbc board configurationCole Faust
So that mk2rbc will just read from the file instead of searching the source tree for makefiles. Bug: 213508006 Test: m RBC_BOARD_CONFIG=1 nothing Change-Id: I6b7e2aa000ad9861173c58cc06f6d49c9c11a0a7
2022-02-07Merge "Store EROFS images uncompressed"Kelvin Zhang
2022-02-07Update default system Proguard config rulesJared Duke
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-07Fix typos in telephony_vendor product makefileDarkJoker360
- Remove blank PRODUCT_COPY_FILES Change-Id: I4c8a19565dc09a802e630d3b057522b3a3ee1cbd
2022-02-07Merge "Revert "Add a core configuration that disables the zygote.""Jordan Demeulenaere
2022-02-07Revert "Add a core configuration that disables the zygote."Jordan Demeulenaere
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-07A custom APEX signing tool with --signing_argsJooyung Han
apex_utils.SignApex() has `signing_args` argument which is supposed to be passed to avbtool to set `--signing_helper` or `--signing_helper_with_files`. A custom APEX signing tool which relies on avbtool's signing should pass the same arguments when signing_args is set. This change passes signing_args verbatim to the custom APEX signing tool via --signing_args argument. Bug: 216971834 Test: tbd Change-Id: I8aaec9440c4536e11e1e4a1dd4ae5f4fe32d4f23
2022-02-05Add GLOBAL_CLANG_EXTERNAL_CFLAGS_NO_OVERRIDE to third-party codePirama Arumuga Nainar
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-04Merge "Add a core configuration that disables the zygote."Treehugger Robot
2022-02-04Add support for a product name as well as title.Bob Badour
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 ... 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: Id5b2ebe3752081e3a89bba1d717cf103f7846043
2022-02-03Merge "Regularize command-line flags."Bob Badour
2022-02-03Merge "Add zhangkelvin@ as owner for release tools scripts"Kelvin Zhang
2022-02-03Merge "license metadata xml notice files"Bob Badour
2022-02-02Regularize command-line flags.Bob Badour
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-02license metadata xml notice filesBob Badour
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-02Store EROFS images uncompressedKelvin Zhang
Test: th Change-Id: I53005bee139079afe25da231ca1d42f03fa010a5
2022-02-02Add zhangkelvin@ as owner for release tools scriptsKelvin Zhang
Change-Id: Ic861bc11d6a7d80c0d22a05ce35998753bb60752
2022-02-02Merge "core & tools: system_dlkm: add dynamic partition"Treehugger Robot