aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-07-17Merge "Use apksigner in check_target_files_signatures" into rvc-devandroid11-devTreeHugger Robot
2020-07-17Merge "Install symbols for JNI libraries" into rvc-devColin Cross
2020-07-17Install symbols for JNI librariesColin Cross
When building an app in Soong with JNI libraries copy the unstripped libraries to the symbols directory in directory that matches the installed path of the APK. Bug: 159726429 Test: forrest Change-Id: If8e423c7cdf3afd518761b5ab6bc857321acda46 Merged-In: If8e423c7cdf3afd518761b5ab6bc857321acda46 (cherry picked from commit e926cab37252cdfe7ea202f1476bfd25acf47b81)
2020-07-16Dist lint reports for appsColin Cross
Dist the transitive lint report for each unbundled app built by Soong when lint-check is on the command line. Bug: 153485543 Test: m TARGET_BUILD_APPS=Gallery2 lint-check dist Change-Id: Icd2b6f884396fa5f743746099301c325ca82a324 Merged-In: Icd2b6f884396fa5f743746099301c325ca82a324 (cherry picked from commit b84295242135cae66bee17c2cb284539487bd6e3)
2020-07-14Use apksigner in check_target_files_signaturesTianjie
Some apk files, e.g. Chrome.apk has switched to use v2+ scheme. And the apk file no longer has a META-INF/CERT.RSA. So, the signature parsing script should use apksigner to dump the cert info. Leave the parsing of META-INF/CERT.RSA as a fallback, as some apks fail the `apksigner verify`. The script also switches to store the digest of the cert instead of the raw bytes. Bug: 157735036 Test: run check_target_files_signatures on aosp|signed target-files (cherry picked from commit a9a50cf6e37dbcd73bfed3759e2848cc064af454) Change-Id: I910cd1aa91d1e446bef7097871af4171c285685d
2020-07-14Update Security String to 2020-09-05Paul Scovanner
Bug: 160158282 Change-Id: Ia207cf01e57df8539fbbbaf6e042bd610aa64956
2020-07-13Use unzip -DDColin Cross
We put reproducible timestamps in zip files so that the artifacts are consistent, but that leads to old timestamps in the output directory if they are unzipped as part of the build. Use unzip -DD when unzipping to update the timestamps. Bug: 161015009 Test: touch -d 2020-01-01 ref; find $OUT/system -not -newer ref Change-Id: I6f08ba8695d90a8225cfc04e679755e6296deed0 Merged-In: I6f08ba8695d90a8225cfc04e679755e6296deed0 (cherry picked from commit c27d795b6351cbe0a3abba5bfa9cfb466e80ec9d)
2020-07-06Merge changes from topic "gcov-clang-migration" into rvc-devOliver Nguyen
* changes: Rename Native_coverage to GcovCoverage in Soong Introduce product variables to select Java code coverage paths in Make. Rename native code coverage paths product variables in Make.
2020-07-01Remove vendor/... path checks DO NOT MERGEAnton Hansson
The vendor path check is incompatible with the current setup of prebuilt module stubs. Bug: 160165426 Test: lunch mainline_system_x86 ; m nothing Change-Id: I5aa809dc3e0c9b36e6963585bb60fd446a234022
2020-07-01Merge "Fix up _CheckSecondTokenNotSlotSuffixed function." into rvc-devYifan Hong
2020-07-01Merge "Add LOCAL_APKCERTS_FILE support." into rvc-devJaewoong Jung
2020-06-30Fix up _CheckSecondTokenNotSlotSuffixed function.P.Adarsh Reddy
Incremental OTA generation was failing since the function _CheckSecondTokenNotSlotSuffixed was in broken state, this change fixes the same. Bug: 160215626 Test: Incremental OTA now gets generated and applied successfully a non-ab device. Change-Id: Ifb3886396fe65dcdaeba16c568419b9fa084193d (cherry picked from commit 52defe48d52a770c326f489357ab8877b211541e) Merged-In: Ifb3886396fe65dcdaeba16c568419b9fa084193d
2020-06-30Update Security String to 2020-09-01 am: dca1803d95Paul Scovanner
Original change: https://googleplex-android-review.googlesource.com/c/platform/build/+/12037363 Change-Id: Idd79854d376cefc22e20e7b440962ec9af993463
2020-06-29Add LOCAL_APKCERTS_FILE support.Jaewoong Jung
This is used when Soong and Make don't know the full output file list, and so use a tool to generate a per-module apkcerts.txt file instead. Fixes: 160119159 Test: m apkcerts-list Change-Id: I48183bc8cbf9dcc521f791812734205ed3f28f4c
2020-06-29Rename Native_coverage to GcovCoverage in SoongColin Cross
Pass the NATIVE_COVERAGE Make variable to Soong as the more accurate GcovCoverage. Also remove NATIVE_LINE_COVERAGE, it doesn't do anything different from NATIVE_COVERAGE, and NATIVE_COVERAGE is always set when NATIVE_LINE_COVERAGE is set. Bug: 159059537 Test: m checkbuild Merged-In: Ib26a0e29f09b87400fd8bc41d2c06a4a8a397a19 Change-Id: Ib26a0e29f09b87400fd8bc41d2c06a4a8a397a19
2020-06-29Introduce product variables to select Java code coverage paths in Make.Roland Levillain
Introduce product variables `JavaCoveragePaths` and `JavaCoverageExcludePaths` (resp. populated from environment variables `JAVA_COVERAGE_PATHS` and `JAVA_COVERAGE_EXCLUDE_PATHS`). Use them to control which Java modules are candidate for instrumentation based on their source path. By default (when `JavaCoveragePaths` is empty), have all Java modules be candidate for instrumentation, to preserve the existing behavior. Test: export EMMA_INSTRUMENT=true \ && export EMMA_INSTRUMENT_FRAMEWORK=true \ && export JAVA_COVERAGE_PATHS=art \ && m Bug: 158212027 Bug: 156284897 Merged-In: I5de6eb460709d7d66d81e3432e11f94ff14dd1c9 Change-Id: I5de6eb460709d7d66d81e3432e11f94ff14dd1c9
2020-06-29Rename native code coverage paths product variables in Make.Roland Levillain
Rename `CoveragePath` and `CoverageExcludePaths` as `NativeCoveragePath` and `NativeCoverageExcludePaths` (resp.). Also, populate `NativeCoveragePath` and `NativeCoverageExcludePaths` from environment variables `NATIVE_COVERAGE_PATHS` and `NATIVE_COVERAGE_EXCLUDE_PATHS` (resp.). Test: m nothing Bug: 158212027 Merged-In: I409dbb04b09744a7bd95a4b69361e858b9f89e23 Change-Id: I409dbb04b09744a7bd95a4b69361e858b9f89e23 (cherry picked from commit bad8b386e6dcf0302e1ebe855017390038bee11d)
2020-06-29Update Security String to 2020-09-01Paul Scovanner
Bug: 160158282 Change-Id: Ibf5c36e135398ed14a730d31fd1b5a306f7b9db3
2020-06-26Merge "Rename the boot image for avb validation" into rvc-devSzuWei Lin
2020-06-26Rename the boot image for avb validationTianjie
Starting from http://go/aog/1328118, we chained the 1st GKI boot image into vbmeta. However, this fails avb validation; because the avbtool constructs the image path based by using "partition name + ext". This cl works around the issue by renaming boot-5.4.img to boot.img, so avbtool can find the image correctly. Bug: 159656873 Test: run validate target file Change-Id: I577226596e139e5b5f3e6ca3c28ced02431ca392 Merged-Id: I577226596e139e5b5f3e6ca3c28ced02431ca392 (cherry picked from commit 5ec1a7a66a5c66f0e4ba4999c5ac34f7022d246d)
2020-06-25Mark android_app_set modules PRESIGNED.Jaewoong Jung
Test: m apkcerts-list Fixes: 159921591 Change-Id: Ie83a05be0d71280644843eddffdbea6bcb429c74
2020-06-25Merge "Add lz4 to otatools" into rvc-devTianjie Xu
2020-06-25Merge "Use inclusive language in build/make part 2" into rvc-devTreeHugger Robot
2020-06-24Add lz4 to otatoolsTianjie
A call to lz4 was added in http://go/aog/1329115. But the binary isn't added to otatools, leading to a signing failure. Bug: 159656873 Test: build otatools Change-Id: I9cab00f36ce3c39cc174b4c9feffdf360f0364ef (cherry picked from commit 3031c29905072053e686aa11f4e35c4932b4174a)
2020-06-24Use inclusive language in build/make part 2Colin Cross
Test: m checkbuild Bug: 158889297 Change-Id: I63bac680cc63a8564f35ae85dda1a0b09c9fd541 Merged-In: I63bac680cc63a8564f35ae85dda1a0b09c9fd541 (cherry picked from commit d1cbfeaa3a0cf0083fc6cf1e070d646f56c0eecf)
2020-06-23Merge "Switch to using llvm-strip for modules" into rvc-devTreeHugger Robot
2020-06-22Merge "GSI: install flattened cts shim" into rvc-devJooyung Han
2020-06-22Switch to using llvm-strip for modulesJ. Avila
The gcc tools are deprecated; replace with the llvm equivalent. Bug: 158484106 Merged-In: I9c3717bde281667eec82cc21dc63dc7fd5592a46 Change-Id: I9c3717bde281667eec82cc21dc63dc7fd5592a46
2020-06-19GSI: install flattened cts shimJooyung Han
The flattened version of com.android.apex.cts.shim.v1 should be explicitly installed because the shim apex is prebuilt one and PRODUCT_INSTALL_EXTRA_FLATTENED_APEXES is not supported for prebuilt_apex modules yet. Bug: 158169437 Bug: 159392784 Test: m com.android.apex.cts.shim.v1_with_prebuilts.flattened # should install the prebuilts of shim APKs Change-Id: I8b37a320d2130d7b33aca856bc067dce37d1fb30
2020-06-19Merge "Do not include CellBroadcastLegacy for Go devices" into rvc-devChen Xu
2020-06-19Merge "iorap: Turn off pinner by default for large memory devices." into rvc-devTreeHugger Robot
2020-06-19Merge "notice files in system_other becomes included in system's one" into ↵TreeHugger Robot
rvc-dev
2020-06-19iorap: Turn off pinner by default for large memory devices.yawanng
Bug: 157667363 Test: Make Change-Id: I980a470596da3bf4e500bbd6c517e1a022c2d1a0
2020-06-18Do not include CellBroadcastLegacy for Go devicesChen Xu
CellBroadcastLegacy app is for migrating data from pre-mainline world. Go devices do not take mainline module, thus excluding this apk from build. Otherwise, both CellBroadcastLegacy app and CellBroadcastAppPlatform will have the same package name com.android.cellbroadcastreceiver Bug: 157702986 Test: build go target: walleye_svelte-userdebug Change-Id: I254a8af334580b79ffdbc9e8bfa95b23500f507e
2020-06-18Merge "Skip mount /oem on GSI" into rvc-devTreeHugger Robot
2020-06-18Merge "Fail check-boot-jars if boot jar contains 0 .class files" into rvc-devPaul Duffin
2020-06-18notice files in system_other becomes included in system's oneJeongik Cha
system_other is relevant partition to system over vendor. so move notice files from system_other from vendor to system Bug: 159189171 Test: m nothing && check ninja dependency Change-Id: Ib69bd3faae03f174671d5db8366a59b7d28a9d9d
2020-06-18Merge "Identity: Add credstore" into rvc-devJing-yan, Jang
2020-06-17Merge "Remove ANGLE from base_system.mk" into rvc-devTreeHugger Robot
2020-06-17Remove ANGLE from base_system.mkTim Van Patten
Removing GoogleANGLE only removed the Google-signed version of ANGLE, but the AOSP version still remained. This CL removes the AOSP build of ANGLE also, so there is no ANGLE on the device at all. Bug: 158956138 Test: adb shell pm list packages | grep -i angle Change-Id: If9a42bc6436c752d2b1a16565d99ca2a5ec60d66
2020-06-17Merge "enable LZ4 ramdisks for aosp_arm64" into rvc-devTreeHugger Robot
2020-06-17Fail check-boot-jars if boot jar contains 0 .class filesPaul Duffin
Protect against an invalid boot jar, e.g. one containing .dex files is used instead of .class files. Test: add a prebuilt for framework-tethering Run `m check-boot-jars` with the first fix from https://r.android.com/1341756 and the build fails due to no .class files because a dex jar is used. Run `m check-boot-jars` with all fixeds from https://r.android.com/1341756 and the build works. Bug: 158304459 Bug: 159112414 Change-Id: I0e8ebd318312949bc58ba7a5c89f9e265b8bedf2
2020-06-17enable LZ4 ramdisks for aosp_arm64Steve Muckle
LZ4 is much faster to decompress than gzip. Bug: 158791155 Change-Id: Id962c439c54e8c4fcca003acad3b7e09d1dec424
2020-06-17Skip mount /oem on GSISzuWei Lin
GSI self contains the full Android system part. Skip mounting the oem partition on GSI, which is a part of system. Bug: 158433698 Test: build aosp_arm64-userdebug. Test: Check the file /system/system_ext/etc/init/config/skip_mount.cfg Change-Id: I689e1cc8a68b980d68b1d6ef1d715203db078dc2 Merged-In: I689e1cc8a68b980d68b1d6ef1d715203db078dc2 (cherry picked from commit f8475cc49f78021e556a5803f688c096a90ca038)
2020-06-17Merge "add 4.19 kernel to aosp_arm64" into rvc-devTreeHugger Robot
2020-06-16add 4.19 kernel to aosp_arm64Steve Muckle
Create a 4.19 kernel GKI boot image. Bug: 158791155 Change-Id: I2dcfe29f2e8414c0362992a6e6ca68a86f367d4e
2020-06-17Merge "Include image descriptor of only the first boot image in vbmeta" into ↵TreeHugger Robot
rvc-dev
2020-06-17Merge "Fix the read on a closed zipfile" into rvc-devTianjie Xu
2020-06-16Identity: Add credstorejosephjang
In order to support mDL on RVC, we need to add credstore in /system/bin Bug: 136506289 Test: atest VtsHalIdentityTargetTest Change-Id: I7975eddde5b94edcd3a2d0e213244f84ffe43e8d
2020-06-16Merge "Use inclusive language in build/make" into rvc-devColin Cross