Commit graph

67404 commits

Author SHA1 Message Date
Calin Juravle
a0e8fb0856 Merge "Update the default compiler filter used at boot time" am: 95f5213202
Original change: https://android-review.googlesource.com/c/platform/build/+/1573378

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I3938cdf840c5eea160abdebe0be91641dbeba343
2021-02-11 02:23:10 +00:00
Calin Juravle
95f5213202 Merge "Update the default compiler filter used at boot time" 2021-02-11 02:07:59 +00:00
Yan Yan
a83dcf43ca Merge "Add IKE to bcp and remove it from system server classpath" am: 57b9916d03
Original change: https://android-review.googlesource.com/c/platform/build/+/1546302

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I81fc0d279ec97a8af74628bbd67a280fa74e3bc9
2021-02-10 19:20:15 +00:00
Treehugger Robot
477a835861 Merge "Make common.py python3 compatible" am: 7b6988c026
Original change: https://android-review.googlesource.com/c/platform/build/+/1582503

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I387a41eb29c5573855f376448c4b4958904849a5
2021-02-10 19:17:06 +00:00
Yan Yan
57b9916d03 Merge "Add IKE to bcp and remove it from system server classpath" 2021-02-10 18:41:41 +00:00
Treehugger Robot
7b6988c026 Merge "Make common.py python3 compatible" 2021-02-10 18:29:43 +00:00
Bob Badour
671d3dc72f Merge "Fix license_type. Contains GPL" am: dd163df3d0
Original change: https://android-review.googlesource.com/c/platform/build/+/1573036

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie2b9a381bc6a463fbaf892672ec183c648403bfa
2021-02-10 08:01:19 +00:00
Bob Badour
dd163df3d0 Merge "Fix license_type. Contains GPL" 2021-02-10 07:03:17 +00:00
Jose "Pepe" Galmes
3f5fba61f0 Merge "Implement directed recovery snapshot." am: 836c091756
Original change: https://android-review.googlesource.com/c/platform/build/+/1579114

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I58a4d66ad55f5ef49962be4a48786e3a494a2170
2021-02-10 00:30:02 +00:00
Jose "Pepe" Galmes
836c091756 Merge "Implement directed recovery snapshot." 2021-02-09 23:58:28 +00:00
Treehugger Robot
2f81984b9f Merge "Updates merge_target_files soong_zip to use -r instead of -l." am: e51dcceae1
Original change: https://android-review.googlesource.com/c/platform/build/+/1579117

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic75f27f1426f0c49f9baba504fced5e00695e1b1
2021-02-09 23:52:44 +00:00
Treehugger Robot
e51dcceae1 Merge "Updates merge_target_files soong_zip to use -r instead of -l." 2021-02-09 23:11:09 +00:00
Kelvin Zhang
645dcb8264 Make common.py python3 compatible
Test: th
Change-Id: Ibe4db0a367b7b8df5eeb7f2a6d0816e8e18bf342
2021-02-09 17:53:09 -05:00
Treehugger Robot
8a5a7e4f0c Merge changes from topic "ps 2.0 cp" am: 1975c1ba63
Original change: https://android-review.googlesource.com/c/platform/build/+/1576337

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2e4b7155879773bd24fea5b6767dbd6ffc5b101e
2021-02-09 22:21:24 +00:00
Benjamin Schwartz
8d7107dcb1 powerstats: PowerStats HAL has been renamed am: 2430e7e3a3
Original change: https://android-review.googlesource.com/c/platform/build/+/1575998

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I6bb91b7e1c07ab1b187fb2d5259277db9302ed90
2021-02-09 22:21:19 +00:00
Benjamin Schwartz
5f59ddf5dc Create Power Stats AIDL interface am: 0cca4d0211
Original change: https://android-review.googlesource.com/c/platform/build/+/1575997

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I1937f0aa03f90d418b7061245d955cee05628f4c
2021-02-09 22:20:57 +00:00
Bob Badour
5feee0e957 Fix license_type. Contains GPL
See: http://go/android-license-checking-v2-lsc

Test: m all

Bug: 151953481
Bug: 151177513
Bug: 67772237

Exempt-From-Owner-Approval: janitorial work
Change-Id: I43f76a40157a912aaab7429225a2bd1fdf6646d6
2021-02-09 14:00:16 -08:00
Treehugger Robot
1975c1ba63 Merge changes from topic "ps 2.0 cp"
* changes:
  update vndk list
  powerstats: PowerStats HAL has been renamed
  Create Power Stats AIDL interface
2021-02-09 19:20:10 +00:00
Daniel Norman
eaf5c1dca2 Updates merge_target_files soong_zip to use -r instead of -l.
This is needed due to output artifacts in the zip that confuse globbing,
such as [.

(Also changes this call to RunAndCheckOutput, which prints the stderror
by default instead of RunAndWait which does not. Removes RunAndWait
which is now unused)

Bug: 179799226
Test: Run merge_target_files to merge two partial builds
Change-Id: Ibf8a5b0c013c9cd8b1e61195d97583f247d97c6f
2021-02-09 11:01:42 -08:00
Jose Galmes
7185c6c500 Implement directed recovery snapshot.
Bug: 177451657
Test: m -j nothing
Change-Id: I902afe71e7577c1c41371f1422512170edf6e492
2021-02-09 07:41:40 -08:00
Treehugger Robot
fb1b971b36 Merge "Add flag to manually disable vabc" am: 41f416d326
Original change: https://android-review.googlesource.com/c/platform/build/+/1573760

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ia850c8a015ca601f3f981959fe265b0903494f68
2021-02-09 02:05:48 +00:00
Treehugger Robot
41f416d326 Merge "Add flag to manually disable vabc" 2021-02-09 01:14:50 +00:00
Treehugger Robot
8f28dc0e5e Merge "extract_kernel: make it py2/py3 compatible" am: 6c9e319da7
Original change: https://android-review.googlesource.com/c/platform/build/+/1562760

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie29e7a9451924a0191a63e7817a78c71c61148ae
2021-02-09 00:31:24 +00:00
Treehugger Robot
6c9e319da7 Merge "extract_kernel: make it py2/py3 compatible" 2021-02-08 23:49:15 +00:00
Calin Juravle
b7e744cd82 Update the default compiler filter used at boot time
For the first-boot (happening after upgrades) use verify as quicken is deprecated.

For the usual boot operations use extract instead of the verify. Under normal behaviour all apps should already be optimized (either with the first-boot option, a/b option or in bg-dexopt). This will speed up the boot process in corner cases and reduce resource contention that could make the device janky in at boot time.

Bug: 172114559
Change-Id: I33f204911bdc825bf6731feb5cea7c260382798b
Test: m
2021-02-08 14:25:46 -08:00
Treehugger Robot
5829d7764c Merge "Turn missing jarjar output files into errors" am: a5dcac761f
Original change: https://android-review.googlesource.com/c/platform/build/+/1580661

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ic33981279baae6651063b91dbceaf110363a296a
2021-02-08 22:12:56 +00:00
Treehugger Robot
a5dcac761f Merge "Turn missing jarjar output files into errors" 2021-02-08 22:00:02 +00:00
Julien Desprez
c11f680b07 Merge "Clean TEST_MAPPING config based on go/a-unit-tests" am: 1514b9a581
Original change: https://android-review.googlesource.com/c/platform/build/+/1574711

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4a3812bd2494d218ea7f756b5b90cd0841b59ad7
2021-02-08 21:37:45 +00:00
Julien Desprez
1514b9a581 Merge "Clean TEST_MAPPING config based on go/a-unit-tests" 2021-02-08 21:25:05 +00:00
Treehugger Robot
90bd66aad9 Merge "Remove Use_lmkd_stats_log from build" am: c5bbb1ead1
Original change: https://android-review.googlesource.com/c/platform/build/+/1579530

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ie8698d82da31a5d52d0161b307f30e8a75e99306
2021-02-08 21:06:38 +00:00
Treehugger Robot
c5bbb1ead1 Merge "Remove Use_lmkd_stats_log from build" 2021-02-08 20:58:19 +00:00
Treehugger Robot
38aea6ebe4 Merge "Keystore 2.0: Disable keystore 2 by default (for now)" am: 7ef7116014
Original change: https://android-review.googlesource.com/c/platform/build/+/1578147

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I4449c53ee87eaefaf9be7ef202e8735995fb4b24
2021-02-08 20:52:01 +00:00
Treehugger Robot
7ef7116014 Merge "Keystore 2.0: Disable keystore 2 by default (for now)" 2021-02-08 20:04:38 +00:00
Colin Cross
a1271eb343 Turn missing jarjar output files into errors
Jarjar doesn't exit with a nonzero return code when there is a syntax
error in a rules file and doesn't write the output file.  Without a
nonzero return code ninja prints a warning but continues, which leads
to stale results on incremental builds where the output file already
exists, or delayed errors on clean builds whre the output file didn't
exist.

Delete the output file before running jarjar, and then check if it
exists after running jarjar.

Fixes: 119516143
Test: m out/target/common/obj/JAVA_LIBRARIES/noto-emoji-compat-java_intermediates/classes-jarjar.jar
Change-Id: Ib99167403948ee11f039dd4d2d7e63052bb92136
2021-02-08 10:55:05 -08:00
Ioannis Ilkos
8e568c52ab Remove Use_lmkd_stats_log from build
Use_lmkd_stats_log used to control LMKD_LOG_STATS when compiling lmkd.

However, for newer Android releases, we mandate that lmkd informs statsd of process kills (change id I8cb123b9488fbc6e88863c2f0e75f1422bcd282e)
After aosp/1555318 we compile lmkd with statsd by default, so this setting is a noop.

Change-Id: I91bd08198fe2275fb8aca77ae5ea637df360d416
Test: build
Bug: 177985094
2021-02-08 11:17:55 +00:00
Yo Chiang
ecaa592310 Set PRODUCT_SHIPPING_API_LEVEL in gsi_release.mk
Set PRODUCT_SHIPPING_API_LEVEL to the latest value (instead of empty) so
that GSIs are always built with the latest build system default configs,
such as PRODUCT_FULL_TREBLE := true and
PRODUCT_ENFORCE_PRODUCT_PARTITION_INTERFACE := true.

Bug: 177495407
Test: Presubmit build_test
Change-Id: Iabd67656c5ed1de8327c40f0f9f604841f24764b
2021-02-08 12:45:15 +08:00
Kelvin Zhang
bbfa182995 Add flag to manually disable vabc
Test: ota_from_target_files --disable_vabc
Change-Id: I9ae9ce2c3173909c335708329e787ae45dc5da6b
2021-02-07 10:43:15 -05:00
cfig
791378cda1
extract_kernel: make it py2/py3 compatible
use py3 for AOSP build, while the script itself can be
executed under py2/py3 environment directly.

TEST: extract info from Pixel 4 kernel

Change-Id: I00db6dabb1ff93f0758017a666c476816caefae7
2021-02-07 17:05:53 +08:00
Treehugger Robot
c29df1c8d1 Merge "Adding repack_bootimg into otatools.zip" am: bff5273dd0
Original change: https://android-review.googlesource.com/c/platform/build/+/1576989

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2bea6fab99d2fe54f8ff14130a93087fcfe3a4e4
2021-02-06 08:28:24 +00:00
Treehugger Robot
bff5273dd0 Merge "Adding repack_bootimg into otatools.zip" 2021-02-06 08:00:55 +00:00
Janis Danisevskis
a3c5395672 Keystore 2.0: Disable keystore 2 by default (for now)
Test: System starts without keystore 2 running.
Bug: 160623310
Change-Id: I83d54de602a0f70acc91fd8e55b07706e1b4e55b
2021-02-05 14:39:43 -08:00
Colin Cross
c5af7ef2bd Merge "Use RSP file for soong_zip in target_files.zip" am: effaa0414b
Original change: https://android-review.googlesource.com/c/platform/build/+/1573860

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I85b8ae001ab1f2a1bc62405991621dff0b6058c0
2021-02-05 21:54:46 +00:00
Colin Cross
effaa0414b Merge "Use RSP file for soong_zip in target_files.zip" 2021-02-05 21:33:37 +00:00
Treehugger Robot
519547ea53 Merge "GSI: enable dynamic partitions" am: e174dca416
Original change: https://android-review.googlesource.com/c/platform/build/+/1576992

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2ac305fda8a1470f7d4c8f42f86d3391bd1405b1
2021-02-05 18:59:27 +00:00
Treehugger Robot
e174dca416 Merge "GSI: enable dynamic partitions" 2021-02-05 18:34:38 +00:00
Jeongik Cha
de2d7b11e6 update vndk list
Bug: 150578172
Test: m
Change-Id: Ifc160fc225883cc226bfcbacc8607f6f96d9501a
Merged-In: I76e73668faf248ca33a37eb221973d2164d9c9b8
2021-02-05 10:05:49 -08:00
Treehugger Robot
83d70e8b9c Merge "Add logic to ensure the ART APEXes are built from source in coverage builds." am: 530b39afc9
Original change: https://android-review.googlesource.com/c/platform/build/+/1570740

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: Ib2614febe66e93d485912f85488b2b1394e68f23
2021-02-05 14:22:13 +00:00
Treehugger Robot
530b39afc9 Merge "Add logic to ensure the ART APEXes are built from source in coverage builds." 2021-02-05 13:49:53 +00:00
Ulyana Trafimovich
14bd7995f9 Merge "Don't patch build path to DEX jar in dex_preopt_config_merger.py." am: 966928196d
Original change: https://android-review.googlesource.com/c/platform/build/+/1574724

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I2e5429dbf32b90ef3ee20b1299d9891da6dd6deb
2021-02-05 11:50:59 +00:00
Ulyana Trafimovich
966928196d Merge "Don't patch build path to DEX jar in dex_preopt_config_merger.py." 2021-02-05 11:10:03 +00:00