Commit graph

341 commits

Author SHA1 Message Date
Danny Lin
e0eb317cfa Add support for GKI DLKM partitions (vendor_dlkm) 2021-11-13 14:22:42 -08:00
Danny Lin
f800919ed5 generate-full: Exclude our own modules from override checks
Subsequent runs on AOSP trees built *with* our generated vendor have
almost no modules left -- because they're all being removed as existing
overrides.
2021-11-11 20:30:37 -08:00
Danny Lin
9872391030 soong: Disable executable stripping
Fixes the following error:

[ 69% 1962/2832] //vendor/google_devices/raven/proprietary:init_citadel strip init_citadel
prebuilts/clang/host/linux-x86/clang-r416183b1/bin/llvm-strip: error: 'vendor/google_devices/raven/proprietary/vendor/bin/hw/init_citadel': The file was not recognized as a valid object file

Eventually, it might be worth checking the magic number to identify
shell scripts better and change them to sh_binary, but this works for
now.
2021-11-11 20:05:02 -08:00
Danny Lin
c16aa15589 make: Add SELinux policies as private instead of public 2021-11-11 19:53:37 -08:00
Danny Lin
e240461004 build: Fix symlink control flow 2021-11-11 19:49:37 -08:00
Danny Lin
517501c182 build: Fix cross-partition conflict avoidance 2021-11-11 19:29:17 -08:00
Danny Lin
8f37f72fd2 soong: Fix shell script props 2021-11-11 19:24:46 -08:00
Danny Lin
a2102b40df overlays: Remove empty XML declaration config 2021-11-11 19:01:54 -08:00
Danny Lin
9598a669ca overlays: Use more services from AiAi 2021-11-11 19:01:02 -08:00
Danny Lin
9e6f564102 overlays: Add attention service 2021-11-11 18:56:30 -08:00
Danny Lin
8a9d7db0c1 overlays: Preserve XML file reference info 2021-11-11 18:47:17 -08:00
Danny Lin
243d34e1c7 overlays: Don't parse hex color codes 2021-11-11 18:43:56 -08:00
Danny Lin
6aa1665061 soong: Remove support for namespace sub-imports
Namespaces can be imported in device.mk.
2021-11-11 18:41:40 -08:00
Danny Lin
7726c33d8f Rename factory to images
This does more than just factory images.
2021-11-11 18:36:18 -08:00
Danny Lin
bafabe92af soong: Switch to common file header 2021-11-11 18:15:46 -08:00
Danny Lin
f9366eee21 headers: Add XML declaration to all files 2021-11-11 18:14:40 -08:00
Danny Lin
5bd235fbfc overlays: Add auto-generated header 2021-11-11 18:11:12 -08:00
Danny Lin
d66dec97dc overlays: Fix lost keys and values within types 2021-11-11 17:56:53 -08:00
Danny Lin
a204881ec5 overlays: Simplify key filtering checks 2021-11-11 17:44:19 -08:00
Danny Lin
7fb374f1b8 package: Add type definitions for CJS node-fetch v2 2021-11-11 16:40:50 -08:00
Danny Lin
faecb79507 generate-full: Extract and create missing overlays 2021-11-11 16:29:30 -08:00
Danny Lin
e2910262dd overlays: Add filtering, diffing, exclusion, and XML RRO generation 2021-11-11 16:29:10 -08:00
Danny Lin
61f281f2e5 package: Add xml2js library 2021-11-11 16:28:44 -08:00
Danny Lin
da64e046e4 build: Create overlays directory and remove empty imports array 2021-11-11 16:28:21 -08:00
Danny Lin
ea260df6d3 soong: Add support for RRO modules and omitting namespace block 2021-11-11 16:27:53 -08:00
Danny Lin
0c5c2ee78b overlays: Fix string-array detection 2021-11-11 03:44:30 -08:00
Danny Lin
6ba46d4fab overlays: Work around error when parsing ID references 2021-11-11 03:40:15 -08:00
Danny Lin
3134a98b7d overlays: Add target package to resource keys 2021-11-11 03:31:06 -08:00
Danny Lin
1a06891516 system-state: Add parsed overlay APKs 2021-11-11 03:24:08 -08:00
Danny Lin
3e7e348e2f Add compiled overlay parsing using AAPT2 2021-11-11 03:21:13 -08:00
Danny Lin
a60c36178f util: Add common aapt2 helper 2021-11-11 01:28:35 -08:00
Danny Lin
c497401e80 make: Add variable to build vendor image when necessary 2021-11-11 00:36:42 -08:00
Danny Lin
20625202db make: Temporarily declare ELF prebuilts in PRODUCT_COPY_FILES 2021-11-11 00:35:18 -08:00
Danny Lin
df55592af7 entry: Re-enable Soong for ELF files on Android 12 2021-11-11 00:24:48 -08:00
Danny Lin
0263c6dbd4 soong: Add support for arbitrary prebuilt etc/ files 2021-11-11 00:23:42 -08:00
Danny Lin
07c454a717 firmware: Generate android-info.txt from device and version info 2021-11-11 00:23:23 -08:00
Danny Lin
5103d18865 build: Disable Soong for modules with cross-partition conflicts 2021-11-11 00:04:42 -08:00
Danny Lin
800822a9d8 firmware: Extract android-info.txt from nested ZIP 2021-11-10 20:18:10 -08:00
Danny Lin
a5d802a8fc check-presigned: Add support for writing new list 2021-11-10 19:39:56 -08:00
Danny Lin
3631344263 generate-full: Build missing SELinux policies 2021-11-10 19:06:29 -08:00
Danny Lin
bb9d59d06e make: Add support for SELinux policies 2021-11-10 19:06:26 -08:00
Danny Lin
f3aaa415ab system-state: Add SELinux contexts 2021-11-10 19:06:12 -08:00
Danny Lin
f28f1414af sepolicy: Add parser for SELinux contexts 2021-11-10 19:05:55 -08:00
Danny Lin
2cb253ac97 generate-full: Add support for loading system state 2021-11-10 17:00:00 -08:00
Danny Lin
02cbe922ba Add command to collect and save system state 2021-11-10 16:59:50 -08:00
Danny Lin
c7a165603c generate-full: Fix AB_OTA_PARTITIONS generation 2021-11-10 16:00:22 -08:00
Danny Lin
b2be62d539 generate-full: Add flag to skip file copying 2021-11-10 16:00:09 -08:00
Danny Lin
35702602d5 Add command to generate vendor from scratch with config 2021-11-10 15:39:07 -08:00
Danny Lin
a722371d72 factory: Add support for extracting firmware from factory ZIPs 2021-11-10 15:35:57 -08:00
Danny Lin
3263dc01c2 util: Add FileReader to use with unzipit 2021-11-10 15:35:39 -08:00