Commit Graph

58043 Commits

Author SHA1 Message Date
Xin Li
51e18647ba DO NOT MERGE - Merge QQ2A.200305.003 into stage-aosp-master
Bug: 150410372
Change-Id: I09b3a138aa19a34400a7dfc8ef60dc52bae4c492
Merged-In: I89aaa622a1aa3a58cb6c35206be9244166f6ca84
2020-02-28 21:34:35 +00:00
Automerger Merge Worker
87f76601de Merge "Move build number file to out/soong" am: 47b08fbab5
Change-Id: I8561be9fcabc54526fbf5efa48ef32b08f025b96
2020-02-28 20:32:26 +00:00
Treehugger Robot
47b08fbab5 Merge "Move build number file to out/soong" 2020-02-28 20:15:52 +00:00
TreeHugger Robot
761a840a7f Merge "Skip QQ2A.200113.001 in stage-aosp-master" into stage-aosp-master 2020-02-28 05:58:29 +00:00
Automerger Merge Worker
b68bc994e9 Merge "Separate html/csv output functions into html_writer.py" am: cabdab0a40
Change-Id: I6903764cfe04589866b380bab5d8825f7f1013e0
2020-02-28 01:41:00 +00:00
Chih-hung Hsieh
cabdab0a40 Merge "Separate html/csv output functions into html_writer.py" 2020-02-28 01:30:12 +00:00
Chih-Hung Hsieh
3cce2bcc60 Separate html/csv output functions into html_writer.py
* also suppress some pylint warnings

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I497dbb7496ca21470ba33db03eedb27f5e8f1e96
2020-02-27 15:39:18 -08:00
Automerger Merge Worker
8ec17a7bcc Merge "Include LICENSE files, when available, in notices." am: 5167fb0a37
Change-Id: Iccf223694b8de22fa0e2d1be2a3dd93e8567fa21
2020-02-27 23:37:56 +00:00
Xin Li
c6021f8f90 Skip QQ2A.200113.001 in stage-aosp-master
Bug: 146167222
Change-Id: I3f2d607c187847e9447df71c7233372aa2fdf2ac
2020-02-27 15:36:06 -08:00
Bob Badour
5167fb0a37 Merge "Include LICENSE files, when available, in notices." 2020-02-27 23:29:26 +00:00
Automerger Merge Worker
6ebc180650 Merge "Package vts-tradefed.jar in general-tests" am: 04c90d44f7
Change-Id: I674f8f399cc67c30c0dfd4fd129775045c5bed93
2020-02-27 22:26:13 +00:00
Treehugger Robot
04c90d44f7 Merge "Package vts-tradefed.jar in general-tests" 2020-02-27 22:17:19 +00:00
Automerger Merge Worker
7ca340fb91 Merge "Preserve the monotonic property when subtracting 0 block" am: 223d055768
Change-Id: I338d449372648cb49ec9d930cb5cda8cf9a9337d
2020-02-27 21:34:42 +00:00
Tianjie Xu
223d055768 Merge "Preserve the monotonic property when subtracting 0 block" 2020-02-27 21:22:23 +00:00
David Srbecky
6dd11eccc5 Install boot.art image for host as well (used by ART tests).
This will allow us to remove the core.art image compiled in make.

Test: m test-art-host-gtest
Bug: 147817558
Bug: 147819342
Change-Id: Ie17e5818ddeb200843b13d36ade6d1a5428a9a48
2020-02-27 21:04:49 +00:00
Bob Badour
9da828c1b4 Include LICENSE files, when available, in notices.
As a first step to removing the go/android3p instructions to copy or
to link NOTICE to LICENSE, include LICENSE files in the notices, which
will allow deleting all of the copied/linked NOTICE files.

The change causes a couple minor additions to the system image notice
files.

Test: manually built and compared before and after notices

Change-Id: Id23cae4a8f2d103e1379f4341340fc56c5943dc2
2020-02-27 19:19:23 +00:00
Automerger Merge Worker
2150099d65 Merge "Partition the targets for notice files." am: 684350d24f
Change-Id: If17662be626c33c9b7f9ca3c742f58fb76d0492e
2020-02-27 15:31:10 +00:00
Treehugger Robot
684350d24f Merge "Partition the targets for notice files." 2020-02-27 15:17:08 +00:00
Automerger Merge Worker
74272124df Merge "Recognize more warning patterns." am: ef7f5467e9
Change-Id: I3c763a22355cc53e75006c59a2276489b55989ad
2020-02-27 08:23:18 +00:00
Chih-hung Hsieh
ef7f5467e9 Merge "Recognize more warning patterns." 2020-02-27 08:09:55 +00:00
Automerger Merge Worker
03e36c8acc Merge "Revert "Set up IRadioConfig 1.3"" am: 817e013a00
Change-Id: Ie6ce31dd011ca2b82e4a1b723d3db7dc18bfdc3e
2020-02-27 06:05:42 +00:00
Tianjie Xu
f02ececc7f Preserve the monotonic property when subtracting 0 block
The monotonic property of the range is lost after the recent change to
subtract 0th block from the file range. As a result, we read the block
in the wrong order when pull files from the raw image. This yields a
incorrect hash during validation.

Bug: 150334561
Test: run validate_target_file. unittests
Change-Id: Id4fedaaf273c42c8d21a4549fda4c9a45e22066a
2020-02-26 21:50:47 -08:00
Sarah Chin
817e013a00 Merge "Revert "Set up IRadioConfig 1.3"" 2020-02-27 05:46:08 +00:00
Bob Badour
4b25c90e52 Partition the targets for notice files.
Partition the targets into those appearing in system images, those
appearing somewhere unreadable by the Settings UI, whose notices
must appear in a readable system image, and those not appearing
on the device thus not needing notices. Assert no other targets
appear under $(PRODUCT_OUT).

Test: manually built and tested phone image

Change-Id: If82cb36f98f8e6066d1c67bb4d15976be433d403
2020-02-26 16:49:28 -08:00
Chih-Hung Hsieh
445ad810c8 Recognize more warning patterns.
* add more Java, Kotlin, and Rust warning patterns
* recognize more clang-tidy cert-* and bugprone-* warnings;
  still keep the catch-all 'cert' and 'bugprone' groups.

Test: warn.py build.log > warnings.html
Change-Id: I909ec09822f42f60493ebe943c055bf0d4b69938
2020-02-26 14:34:21 -08:00
Automerger Merge Worker
3bcf176437 Merge "Use same warn_common.py and warn.py for Android and Chrome" am: 3728312005
Change-Id: I226ac67bfd3fd7548b325b7a5f1c3aa2f8da9148
2020-02-26 18:36:39 +00:00
Chih-hung Hsieh
3728312005 Merge "Use same warn_common.py and warn.py for Android and Chrome" 2020-02-26 18:19:15 +00:00
Automerger Merge Worker
bc2383c481 Merge "Revert "Create telephony apex."" am: 71b4252b20
Change-Id: I514f180126c53ac750ebef4f36b9ffc4ef65382f
2020-02-26 18:14:07 +00:00
Amit Mahajan
71b4252b20 Merge "Revert "Create telephony apex."" 2020-02-26 18:01:30 +00:00
Chih-Hung Hsieh
5ae5519661 Use same warn_common.py and warn.py for Android and Chrome
* add chrome_project_list.py
* use newer Chrome's warn_common.py and severity.py
* modify warn_common.py to work with both python2 and python3,
  to work with and without google3

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I9aeee7031c11988d8ead1733ff4846ae6cb1ee73
2020-02-25 19:47:35 -08:00
Steven Moreland
92793dc56c lunch: error on >1 arg (before ignored)
Bug: N/A
Test: lunch w/ 0, 1, and 2 args
Change-Id: Icbeb511e836b08cbd64b08a23b0e4820039b12ab
2020-02-25 18:33:53 -08:00
Amit Mahajan
ce7c9a70bd Revert "Create telephony apex."
This reverts commit 8c7ca1bc05.

Reason for revert: b/148821604

Merged-in: I12defd7fe6aba01a381f8ad014475941e58d21d3
Change-Id: I12defd7fe6aba01a381f8ad014475941e58d21d3
2020-02-26 00:46:14 +00:00
Automerger Merge Worker
33c9bd38da Merge "Support removing AVB public keys" am: b5aad1b937
Change-Id: Id96c2d48b5ea4f5b63e09970d8139433bae042aa
2020-02-26 00:17:47 +00:00
Treehugger Robot
b5aad1b937 Merge "Support removing AVB public keys" 2020-02-26 00:09:17 +00:00
Sarah Chin
bd1fd8eb32 Revert "Set up IRadioConfig 1.3"
This reverts commit 86167418b7.

Reason for revert: Change will not be supported by vendor, so HAL for RadioConfig is no longer necessary.

Change-Id: Iea50dcf86076a72b16276496410e8a658e9a7ce5
Merged-In: Ifc3323584a01a8636d4cf30da37d29b297252d26
2020-02-25 00:52:44 +00:00
Colin Cross
d68a88402f Move build number file to out/soong
Move the build number file to out/soong so Soong can treat it
as an output path, and pass the name of the file to Soong instead
of the command to read it.

Test: m checkbuild
Change-Id: I9e1aecf33d11fe4fde34cd57cc9b1f1ad49b0424
2020-02-25 00:06:46 +00:00
Oliver Nguyen
4a4c834b09 Skip VNDK variant check on coverage builds.
Coverage builds result in different core and vendor variants due to
different coverage metadata from static libraries. Skip this check only
on coverage builds.

Bug: 143977934
Test: m CLANG_COVERAGE=true COVERAGE_PATHS='*'
Change-Id: I906745e951b36a87cedf998a93bdc390196a606e
2020-02-24 15:18:45 -08:00
Bowgo Tsai
2fe786a528 Support removing AVB public keys
AVB public keys might be installed into the first-stage ramdisk.
This CL supports removing some AVB keys during the signing process,
which can be useful when a key needs to be revoked.

Also correcting the path of force_debuggable detection.

Bug: 150109393
Test: make dist
Test: ./build/tools/releasetools/sign_target_files_apks \
      --remove_avb_public_keys key1.avbpubkey,key2.avbpubkey \
      out/dist/*-target_files-*.zip signed-target_files.zip
Change-Id: I1af95adbbec655f40121f3392965dd1950aca4e5
2020-02-24 17:53:10 +08:00
Automerger Merge Worker
353523d684 Merge "Touch same_vndk_variant.timestamp" am: 5832bf1f5a
Change-Id: I521974518d645cefb27c821053954563cdf2171c
2020-02-22 15:25:43 +00:00
Treehugger Robot
5832bf1f5a Merge "Touch same_vndk_variant.timestamp" 2020-02-22 15:16:05 +00:00
Automerger Merge Worker
4969b45d50 Merge "Exclude holes from the block map." am: 9581181338
Change-Id: If5d3ab4f9b344c45ff3a73248001ece532564698
2020-02-21 17:28:28 +00:00
David Anderson
9581181338 Merge "Exclude holes from the block map." 2020-02-21 17:04:11 +00:00
David Anderson
ab9c7e6d04 Exclude holes from the block map.
e2fsdroid can export holes as a "0" block, in order to make sure logical
and physical block assignments are maintained properly. Exclude these
hole blocks from range sets in LoadFileBlockMap.

Bug: 139201772
Test: m dist on non-A/B
Change-Id: Ic04e869572229678fdeaaa6fbf6f464d6c672051
2020-02-21 17:04:00 +00:00
Colin Cross
c989ff3d75 Touch same_vndk_variant.timestamp
Fix uneccessary rebuilds on incremental builds by touching the
same_vndk_variant.timestamp output file.

Test: m && m
Change-Id: Ieb1b47f8a6cc406139c326a527041239fdb627d0
2020-02-21 07:31:32 -08:00
Automerger Merge Worker
d8d9a50090 Merge "do not clear output kernel module directory" am: 733ad20963
Change-Id: I9de52a01cf0c04f909dcd711d8bd152fa3bf9b50
2020-02-21 01:17:24 +00:00
Treehugger Robot
733ad20963 Merge "do not clear output kernel module directory" 2020-02-21 01:02:09 +00:00
Automerger Merge Worker
e4d9c62b0d Merge "Load ike in system server classpath instead of bootclasspath" am: 77001add05
Change-Id: I8449124d6ec7a9d90386c25abb247db975277c3a
2020-02-20 19:00:03 +00:00
Yan Yan
77001add05 Merge "Load ike in system server classpath instead of bootclasspath" 2020-02-20 18:38:55 +00:00
Steve Muckle
5e0ff33d0f do not clear output kernel module directory
When using an archive to provide kernel modules, the archive is directly
expanded into the output directory. The output directory is currently
removed prior to that to ensure no stale modules are present if they
were removed as part of a change in an incremental build.

Unfortunately if kernel modules are also provided via the regular
BOARD_*_KERNEL_MODULES macros, the removal of the output kernel module
directory will race with the copying of kernel modules in
BOARD_*_KERNEL_MODULES, resulting in some of those kernel modules not
being present in the output.

Kernel modules removed from BOARD_*_KERNEL_MODULES do not currently get
removed from the output directory in an incremental build anyway. So in
order to support using BOARD_*_KERNEL_MODULES and
BOARD_*_KERNEL_MODULES_ARCHIVE conurrently, take out the removal of the
output directory prior to archive expansion.

Bug: 149866863
Change-Id: Ib373650ddcb0fb5782a13d68a8869a9117e42ccc
2020-02-20 10:19:06 -08:00
Automerger Merge Worker
84a1838b46 Merge "Adding new GSI public keys" am: 1f82728d94
Change-Id: I877229f94a92dc8c794b9df9c2a5b21676c66d72
2020-02-20 06:28:03 +00:00