Commit graph

405 commits

Author SHA1 Message Date
Danny Lin
e3e44fcff8 configs: Add Pixel 6/Pro, GMS, and mainline system configs 2021-11-28 23:01:40 -08:00
Danny Lin
c2df8ab95e Use filters from config instead of hard-coded lists 2021-11-28 23:01:05 -08:00
Danny Lin
b68bfa1f82 config: device: Add overlay file filters
Temporary workaround for unsupported overlay contents.
2021-11-28 22:32:34 -08:00
Danny Lin
ff9eeec190 config: device: Add presigned app filters 2021-11-28 22:31:42 -08:00
Danny Lin
7f62b4cd24 generate-all: Follow generate rules in config 2021-11-28 22:28:28 -08:00
Danny Lin
fbf3fc532e firmware: Fix unzipit import 2021-11-28 22:28:07 -08:00
Danny Lin
69a300f69d util: cli: Add function wrapper with spinner 2021-11-28 22:27:26 -08:00
Danny Lin
f4dee594a7 config: device: Update config format and fix parsing 2021-11-28 22:27:10 -08:00
Danny Lin
0b9b0b55c4 generate-all: Use new config format 2021-11-28 19:59:24 -08:00
Danny Lin
12265d63b1 config: device: Add comprehensive config with recursive overlays 2021-11-28 19:55:44 -08:00
Danny Lin
04546ff39e Use common readFile helper 2021-11-28 19:52:55 -08:00
Danny Lin
b53430871a config: filters: Add generic filter processing 2021-11-28 19:49:35 -08:00
Danny Lin
e307b06982 util: fs: Add generic file read helper 2021-11-28 19:48:48 -08:00
Danny Lin
5ad4cad307 partitions: Describe partitions with TypeScript types 2021-11-28 18:47:02 -08:00
Danny Lin
53520850f9 Use ES module interop for all default imports 2021-11-28 18:28:05 -08:00
Danny Lin
f3d69cc9af generate-full: Rename command to generate-all 2021-11-23 20:17:36 -08:00
Danny Lin
37fcd8b273 gitignore: Ignore all state JSONs 2021-11-23 20:14:10 -08:00
Danny Lin
0f88711fcd generate-full: Extract and re-label flattened APEXs 2021-11-23 20:14:10 -08:00
Danny Lin
6a5a9a5388 apex: Extract SELinux labels and update progress interactively 2021-11-23 20:14:10 -08:00
Danny Lin
5f0e1a86ab selinux: Add code to read and serialize labels recursively 2021-11-23 20:14:10 -08:00
Danny Lin
f0cae588f5 blobs: build: Create sepolicy directory 2021-11-23 20:14:10 -08:00
Danny Lin
66390d9e63 util: parse: Add support for ignoring comments 2021-11-23 20:14:10 -08:00
Danny Lin
4d5bc8fded package: Add lodash dependency 2021-11-23 20:14:10 -08:00
Danny Lin
267d90066a tsconfig: Enable ES module interop 2021-11-23 20:14:09 -08:00
Danny Lin
0a85ac882a sepolicy: Rename to selinux 2021-11-23 20:14:09 -08:00
Danny Lin
ec580e9957 generate-full: Add support for flattening APEX modules 2021-11-21 19:59:31 -08:00
Danny Lin
de09864601 blobs: Add code to extract, mount, and flatten APEX modules 2021-11-21 19:59:31 -08:00
Danny Lin
dca5d152d8 blobs: file_list: Fix entry return type 2021-11-21 19:59:31 -08:00
Danny Lin
8df802a846 blobs: Add support for force-disabling Soong per entry 2021-11-21 19:59:31 -08:00
Danny Lin
b49d32c4dd blobs: Add support for separate entry source path on disk 2021-11-21 19:59:31 -08:00
Danny Lin
a644a921c9 util: fs: Add temporary directory and mountpoint management 2021-11-21 19:59:31 -08:00
Danny Lin
31a18c6697 util: Add general subprocess helper 2021-11-21 19:59:31 -08:00
Danny Lin
e29ddb5baf generate-full: Fix AB_OTA_PARTITIONS 2021-11-21 00:42:52 -08:00
Danny Lin
3457d6205d build: Split root and proprietary blob blueprints 2021-11-21 00:42:52 -08:00
Danny Lin
d19312df01 build: Move firmware, overlays, and manifests out of proprietary/ 2021-11-20 23:37:50 -08:00
Danny Lin
4029c6b384 generate-full: Generate device product makefiles 2021-11-20 23:08:53 -08:00
Danny Lin
a2f2869563 make: Add device product makefile and AndroidProducts.mk 2021-11-20 23:08:32 -08:00
Danny Lin
d6a8eedfcb make: Product -> device makefile
We're going to add an actual product makefile. Rename this to be less
confusing.
2021-11-20 22:09:13 -08:00
Danny Lin
dba9b12ef9 make: Fix symlink generation
TODO: fix ninja warning
2021-11-18 20:48:33 -08:00
Danny Lin
7237186561 package: Update dependencies within bounds 2021-11-15 18:08:28 -08:00
Danny Lin
992884bfef overlays: Propagate target overlayable config names
Fixes the following errors:

W idmap2d : failed to parse idmap header of '/data/resource-cache/product@overlay@com.android.networkstack.tethering.auto_generated_rro_product_adevtool__.apk@idmap'
W idmap2d : overlay '/product/overlay/com.android.networkstack.tethering.auto_generated_rro_product_adevtool__.apk' is not allowed to overlay resource 'array/config_tether_ncm_regexs' in target: <overlay> andr
oid:targetName "" does not match overlayable name "TetheringConfig"
W idmap2d : overlay '/product/overlay/com.android.networkstack.tethering.auto_generated_rro_product_adevtool__.apk' is not allowed to overlay resource 'array/config_tether_usb_regexs' in target: <overlay> andr
oid:targetName "" does not match overlayable name "TetheringConfig"
W idmap2d : overlay '/product/overlay/com.android.networkstack.tethering.auto_generated_rro_product_adevtool__.apk' is not allowed to overlay resource 'array/config_tether_wifi_p2p_regexs' in target: <overlay>
 android:targetName "" does not match overlayable name "TetheringConfig"
W idmap2d : overlay '/product/overlay/com.android.networkstack.tethering.auto_generated_rro_product_adevtool__.apk' is not allowed to overlay resource 'integer/config_tether_usb_functions' in target: <overlay>
 android:targetName "" does not match overlayable name "TetheringConfig"
E idmap2d : no resources were overlaid
2021-11-14 22:01:47 -08:00
Danny Lin
d6d9bf5c58 file_list: Exclude Pixel 6 allowlist for Google Camera APEX updates
We're not shipping GCam anymore.
2021-11-14 16:24:41 -08:00
Danny Lin
29c866e0bd entry: Force Soong for prebuilt APEXs 2021-11-14 16:23:48 -08:00
Danny Lin
43bb6e6443 file_list: Exclude Google Camera
The Play Store version works fine.
2021-11-14 04:20:56 -08:00
Danny Lin
4bce919e7d Add command to fix SELinux presigned app keys 2021-11-14 03:26:48 -08:00
Danny Lin
3961bde95f selinux: Add support for parsing mac_permissions.xml and keys.conf 2021-11-14 03:26:07 -08:00
Danny Lin
fe09189d55 partitions: Organize partitions 2021-11-14 01:49:14 -08:00
Danny Lin
59069aa220 overlays: Exclude app prediction service
We don't have a config UI for this on Android 12.
2021-11-14 00:31:36 -08:00
Danny Lin
8ad82a37d5 file_list: Exclude Google Dialer support framework 2021-11-13 19:21:41 -08:00
Danny Lin
b415b86787 generate-full: Add missing vintf manifests 2021-11-13 18:46:55 -08:00