Commit Graph

73630 Commits

Author SHA1 Message Date
Treehugger Robot
c7142be738 Merge "Show directories and files with most warnings." am: b2610d7ecd am: 756adcf38b
Original change: https://android-review.googlesource.com/c/platform/build/+/1927679

Change-Id: I7bddd25d4bf41bb0a7b744dc03567af077d3e599
2022-01-06 03:42:53 +00:00
Treehugger Robot
756adcf38b Merge "Show directories and files with most warnings." am: b2610d7ecd
Original change: https://android-review.googlesource.com/c/platform/build/+/1927679

Change-Id: I9689ecd94e9258444c35f144a41cf832f077cb67
2022-01-06 03:32:18 +00:00
Treehugger Robot
b2610d7ecd Merge "Show directories and files with most warnings." 2022-01-06 03:19:15 +00:00
Chih-Hung Hsieh
d4691ecfb6 Show directories and files with most warnings.
* Now with 4 sections that can be shown/hidden independently.
* After the 'selected_projects' section, add two more sections:
  * 'top_directory_section' contains
    * a table of directories with at least 1% warnings.
    * a 'selected_directory_warnings' subsection to show all warnings
      in the clicked directory from the directory table
  * 'top_file_section' contains
    * a table of files with at least 100 or 1% warnings.
    * a 'selected_file_warnings' subsection to show all warnings
      in the clicked file from the file table
* Adjust button/section spaces and reduce button font size to 100%.
* Rename drawTable to genTables.

Test: warn.py --url=http://cs/android --separator='?l=' build.log > warnings.html
Test: warn.py --gencsv build.log > warnings.csv
Change-Id: I765b09a46adc111cfe781719ba7aa0f917aa6ffc
2022-01-05 15:43:52 -08:00
Steven Moreland
45259cd69d Merge "Don't require current.txt order." am: 9ca3c34646 am: 8e9e313bf4
Original change: https://android-review.googlesource.com/c/platform/build/+/1932881

Change-Id: I7151ea279399186b7bf166029258666a424bf60d
2022-01-05 22:37:58 +00:00
Steven Moreland
8e9e313bf4 Merge "Don't require current.txt order." am: 9ca3c34646
Original change: https://android-review.googlesource.com/c/platform/build/+/1932881

Change-Id: I8b0516bc88a7ff47beff54f3c9ca5127b1244da1
2022-01-05 22:25:21 +00:00
Steven Moreland
9ca3c34646 Merge "Don't require current.txt order." 2022-01-05 22:09:27 +00:00
Wei Su
8623e17527 Merge "Write files in a temporary directory" am: 22ecce0658 am: 5d03df4516
Original change: https://android-review.googlesource.com/c/platform/build/+/1920697

Change-Id: I2a0f9b311ff91e5d781c3472e297d3c2836d923c
2022-01-05 20:29:21 +00:00
Wei Su
5d03df4516 Merge "Write files in a temporary directory" am: 22ecce0658
Original change: https://android-review.googlesource.com/c/platform/build/+/1920697

Change-Id: I1e9dad365256cab96ac06c35f4d87c9cb54704d1
2022-01-05 20:16:49 +00:00
Wei Su
22ecce0658 Merge "Write files in a temporary directory" 2022-01-05 20:03:07 +00:00
Treehugger Robot
053bce1c76 Merge "Convert generate-self-extracting-archive.py to python 3" am: 7ca77ea994 am: ecf39825f0
Original change: https://android-review.googlesource.com/c/platform/build/+/1935067

Change-Id: Ia5ca762889bc952b446a4fb11f26b21a349f3695
2022-01-05 19:32:31 +00:00
Treehugger Robot
ecf39825f0 Merge "Convert generate-self-extracting-archive.py to python 3" am: 7ca77ea994
Original change: https://android-review.googlesource.com/c/platform/build/+/1935067

Change-Id: I0ecbc11985f863f5e07b5ddce60f0d2ec21bca9c
2022-01-05 19:14:17 +00:00
Treehugger Robot
7ca77ea994 Merge "Convert generate-self-extracting-archive.py to python 3" 2022-01-05 18:58:58 +00:00
Devin Moore
92ff95e7a3 Merge "Add prebuilt init_boot.img to PREBUILT_IMAGES/" am: 1c33419ed0 am: ba7dcae84b
Original change: https://android-review.googlesource.com/c/platform/build/+/1936571

Change-Id: I26964a077c8ed0e8a461e6b9de43297cc533f21a
2022-01-05 17:40:07 +00:00
Devin Moore
ba7dcae84b Merge "Add prebuilt init_boot.img to PREBUILT_IMAGES/" am: 1c33419ed0
Original change: https://android-review.googlesource.com/c/platform/build/+/1936571

Change-Id: I01cc13d6fa40602cc52ad06ee38edcdbd29bd788
2022-01-05 17:34:45 +00:00
Treehugger Robot
259deaacd8 Merge "Remove GKI_SIGNING args from recovery & debug boot image build rules" am: 5203f2b1e0 am: af48f4be53
Original change: https://android-review.googlesource.com/c/platform/build/+/1934208

Change-Id: I7e89eb2089c29eae549af1712ad60f8c619232b4
2022-01-05 17:33:56 +00:00
Devin Moore
1c33419ed0 Merge "Add prebuilt init_boot.img to PREBUILT_IMAGES/" 2022-01-05 17:22:17 +00:00
Treehugger Robot
af48f4be53 Merge "Remove GKI_SIGNING args from recovery & debug boot image build rules" am: 5203f2b1e0
Original change: https://android-review.googlesource.com/c/platform/build/+/1934208

Change-Id: I6864296552846e9fc85d807c62fb12b613b3fa15
2022-01-05 17:16:07 +00:00
Treehugger Robot
5203f2b1e0 Merge "Remove GKI_SIGNING args from recovery & debug boot image build rules" 2022-01-05 17:00:26 +00:00
Yi-Yo Chiang
cd6de3d8bb Remove GKI_SIGNING args from recovery & debug boot image build rules
These options are for certifying official GKI release, so they should
never be added to build command of recovery.img and boot-debug.img.

Also define gki_signing_signature_args in misc_info.txt iff.
BOARD_GKI_SIGNING_KEY_PATH is defined, so there's one less conditional.
We need to define it even if BOARD_GKI_SIGNING_SIGNATURE_ARGS is empty,
so that sign_target_files_apks.py can modify the option during image
signing.

Bug: 210367929
Test: Presubmit
Change-Id: I9546fcda796586d97af244955e15c1b8dc9f6d92
2022-01-05 02:59:45 +00:00
Treehugger Robot
8949fd3676 Merge "Fix images-for-partitions() for 'init_boot'" am: 8beddf2e7e am: a2b19d4e51
Original change: https://android-review.googlesource.com/c/platform/build/+/1934174

Change-Id: Ica4eb30dc21573c675db7e6585c5f0043bf32572
2022-01-05 01:50:23 +00:00
Treehugger Robot
a2b19d4e51 Merge "Fix images-for-partitions() for 'init_boot'" am: 8beddf2e7e
Original change: https://android-review.googlesource.com/c/platform/build/+/1934174

Change-Id: Ib09c4b73cdcc1b4da56161f37b7dd8bdf4f029d0
2022-01-05 01:34:10 +00:00
Treehugger Robot
8beddf2e7e Merge "Fix images-for-partitions() for 'init_boot'" 2022-01-05 01:21:00 +00:00
Devin Moore
cda41f0709 Add prebuilt init_boot.img to PREBUILT_IMAGES/
It was incorrectly being added to IMAGES/

Bug: 203698939
Test: m
Change-Id: I3c4ae46388a7f043c7bb22b78795277868422a01
2022-01-05 00:22:55 +00:00
Treehugger Robot
681241456f Merge "Add Soong variable for optimizing SystemUI Java" am: 3293a959ad am: eeb0c000b6
Original change: https://android-review.googlesource.com/c/platform/build/+/1931304

Change-Id: I518efcfe2946713b9e26f27f3b930a80e0ee6719
2022-01-04 19:14:49 +00:00
Treehugger Robot
eeb0c000b6 Merge "Add Soong variable for optimizing SystemUI Java" am: 3293a959ad
Original change: https://android-review.googlesource.com/c/platform/build/+/1931304

Change-Id: I47784b38692b7ae11fc433eefbca6fee636abd1c
2022-01-04 18:55:59 +00:00
Treehugger Robot
3293a959ad Merge "Add Soong variable for optimizing SystemUI Java" 2022-01-04 18:40:09 +00:00
Bowgo Tsai
4f62aa0899 Fix images-for-partitions() for 'init_boot'
Macro images-for-partitions() returns $(INSTALLED_INIT_BOOTIMAGE_TARGET)
for the 'init_boot' partition, which is empty. It should return
$(INSTALLED_INIT_BOOT_IMAGE_TARGET) instead.

Bug: 203698939
Test: `make` without chaining 'init_boot' partition
Change-Id: I387813283dfad7e1b2f762a5fa4065775977caf7
2022-01-04 17:29:03 +08:00
Cole Faust
547ca205ae Convert generate-self-extracting-archive.py to python 3
Test: Add a VENDOR_BLOBS_LICENSE entry to an existing product, then `m with-license`
Bug: 203436762
Change-Id: I4bbe77bda7789b6c44bea141518b1cd2e699d326
2021-12-29 13:58:28 -08:00
Treehugger Robot
6c73a8ae5f Merge "Re-landing "removing gsi_keys.mk"" am: 8c861cec97 am: 87d6967714
Original change: https://android-review.googlesource.com/c/platform/build/+/1931644

Change-Id: I361cd63a88c88c52b3cb71fa4ef712cfe5cfe3cb
2021-12-27 03:33:19 +00:00
Treehugger Robot
87d6967714 Merge "Re-landing "removing gsi_keys.mk"" am: 8c861cec97
Original change: https://android-review.googlesource.com/c/platform/build/+/1931644

Change-Id: I5166c67417fd03ea1c77a7015f9413c7c2596cba
2021-12-27 03:09:46 +00:00
Treehugger Robot
8c861cec97 Merge "Re-landing "removing gsi_keys.mk"" 2021-12-27 02:50:48 +00:00
Treehugger Robot
676de41c33 Merge "--sign_tool is an optional flag applicable to virtApex." am: ff3a1c73cf am: aabf327615
Original change: https://android-review.googlesource.com/c/platform/build/+/1933021

Change-Id: If3fb5c7ab8c9301f3d5875a88559a317dd741549
2021-12-24 11:39:35 +00:00
Treehugger Robot
aabf327615 Merge "--sign_tool is an optional flag applicable to virtApex." am: ff3a1c73cf
Original change: https://android-review.googlesource.com/c/platform/build/+/1933021

Change-Id: I121cb833348795c7dc64ef774456da8e171fb5bc
2021-12-24 11:22:08 +00:00
Treehugger Robot
ff3a1c73cf Merge "--sign_tool is an optional flag applicable to virtApex." 2021-12-24 10:59:21 +00:00
Baligh Uddin
06cc018629 --sign_tool is an optional flag applicable to virtApex.
For not virtApex, this results in a KeyError.
line 151, in <module>\n', '  File
"/usr/local/google/home/baligh/clients/goog/master/out/host/linux-x86/bin/sign_apex/sign_apex.py",
line 144, in main\n', "KeyError: 'sign_tool'\n"]

BUG: 193504286
Test: TH
Change-Id: Id982e5c57086ada78168163d2293813df121847d
2021-12-24 06:17:47 +00:00
Bowgo Tsai
b30a23cca2 Re-landing "removing gsi_keys.mk"
It's no longer required to install the compliance GSI
public keys into the ramdisk. Those public keys just need
to be included in the VTS test suite for GSI verification.

Bug: 176869478
Test: TreeHugger
Change-Id: I3714de75b94be43a1364b89b92d893b336aa014b
2021-12-24 12:28:32 +08:00
Jiyong Park
7563ad7b11 Merge "Reland: Add NEED_AIDL_NDK_PLATFORM_BACKEND" into sc-qpr1-dev-plus-aosp 2021-12-24 02:34:34 +00:00
Steven Moreland
15b89d8fcd Don't require current.txt order.
There have been a lot of merge conflicts because of this file (and a
few cases of people needing to merge changes internally because of
it). Though, we really don't care about the order of the file. So,
compare ignoring order. If there is a merge conflict in the future,
we can change the order slightly, and we can gradually clean up the
order over time, as needed (really, it's not important).

Bug: N/A
Test: file reordered as build-time check
Change-Id: I955a2bd78872ff6d975bc494f10b2ed5e532c680
2021-12-23 22:18:42 +00:00
Jared Duke
9c261d0b07 Add Soong variable for optimizing SystemUI Java
Introduce a Soong variable to allow selective enabling of Java
optimizations for SystemUI. This is analogous to the
`SYSTEM_OPTIMIZE_JAVA` flag, but scoped just to SystemUI,
decoupling the feature from system server-related development.

Opting in to optimizations can be achieved with either:
  * Env:
export SYSTEMUI_OPTIMIZE_JAVA=true
  * Make:
$(call add_soong_config_var_value,ANDROID,SYSTEMUI_OPTIMIZE_JAVA,true)

Note that the build rule changes to hook into this variable will
land separately.

Bug: 203088572
Test: `SYSTEMUI_OPTIMIZE_JAVA=true m` (observe env variable change log)
Change-Id: I24b4b76cdf844e3c00735e19e69898867162c81d
2021-12-23 09:29:30 -08:00
Devin Moore
2bc48d1025 Merge changes from topic "init_boot_img" am: 6363a04e79 am: 1368d81efa
Original change: https://android-review.googlesource.com/c/platform/build/+/1920818

Change-Id: Ibca1c0c3105c0d2ee53f7db6795ac567a17a0269
2021-12-22 23:56:55 +00:00
Devin Moore
1368d81efa Merge changes from topic "init_boot_img" am: 6363a04e79
Original change: https://android-review.googlesource.com/c/platform/build/+/1920818

Change-Id: Ib49ac64a178ce649011a20709e44c8f1f4837bb4
2021-12-22 23:33:33 +00:00
Devin Moore
6363a04e79 Merge changes from topic "init_boot_img"
* changes:
  Update releasetools for new init_boot.img
  Build a new init_boot.img that contains the boot ramdisk
2021-12-22 23:21:17 +00:00
Treehugger Robot
dbe5fcc828 Merge "Update comments for Makefile variables about APEX jars." am: e685560087 am: 3cc272c031
Original change: https://android-review.googlesource.com/c/platform/build/+/1931602

Change-Id: I77c3c8e180d1134db2cf86010954c16e1870d85e
2021-12-22 19:19:19 +00:00
Treehugger Robot
3cc272c031 Merge "Update comments for Makefile variables about APEX jars." am: e685560087
Original change: https://android-review.googlesource.com/c/platform/build/+/1931602

Change-Id: I11bff7adff7233683daa605bfc9c34d0d6cfcaf6
2021-12-22 18:54:20 +00:00
Treehugger Robot
e685560087 Merge "Update comments for Makefile variables about APEX jars." 2021-12-22 18:37:28 +00:00
Treehugger Robot
f2bf87a8ff Merge "Fix make conditional" am: 3e315b9afc am: b5560e2fc4
Original change: https://android-review.googlesource.com/c/platform/build/+/1931200

Change-Id: I41dcc99125aa10d800c9df8cf83f308b085747d4
2021-12-22 18:23:08 +00:00
Treehugger Robot
b5560e2fc4 Merge "Fix make conditional" am: 3e315b9afc
Original change: https://android-review.googlesource.com/c/platform/build/+/1931200

Change-Id: I3a1ef516c731fa3fa3841a5a652bf2468c94c6cf
2021-12-22 18:11:07 +00:00
Treehugger Robot
3e315b9afc Merge "Fix make conditional" 2021-12-22 17:53:54 +00:00
Jiakai Zhang
49377db572 Update comments for Makefile variables about APEX jars.
Modules available in Q should not add new entries to
PRODUCT_APEX_*_JARS. Otherwise, there will be problems when a Q device
gets new modules and then OTAs to S, in which case, the device will have
the S version of SdkExtension (because SdkExtension is not available in
Q, see go/mainline-ota-problem), and the S version of SdkExtension
cannot consume those new entries correctly.

Bug: 203198541
Test: N/A
Change-Id: I15367ca59a06b4ee5fdb3803f2e4615b5d03b458
2021-12-22 13:38:17 +00:00