Danny Lin
1997833649
generate-full: Simplify state fallbacks
2021-11-13 18:09:06 -08:00
Danny Lin
5637ee5475
system-state: Add vintf manifests and matrices
2021-11-13 18:05:53 -08:00
Danny Lin
3f819ea776
Add command to diff vintf manifests
2021-11-13 18:05:18 -08:00
Danny Lin
1f4002d070
Add support for parsing vintf manifests and matrices
2021-11-13 18:05:04 -08:00
Danny Lin
b1174aa7f3
overlays: Reuse xml2js builder instance
2021-11-13 18:02:48 -08:00
Danny Lin
97bbbb8d4a
check-presigned: Remove unnecessary await
2021-11-13 18:02:28 -08:00
Danny Lin
f532ea6707
make: Build GKI DLKM partitions when necessary
2021-11-13 18:01:38 -08:00
Danny Lin
f728ad3eef
file_list: Exclude vendor DLKMs
2021-11-13 14:26:47 -08:00
Danny Lin
e911041e22
diff-files: Handle missing partitions better
2021-11-13 14:24:05 -08:00
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
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
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