Commit graph

264 commits

Author SHA1 Message Date
Danny Lin
59ee962811 state: Add minimized module info 2021-12-13 10:30:23 -08:00
Danny Lin
6885229ee8 config: Update to use relative include paths 2021-12-03 20:33:03 -08:00
Danny Lin
c279a5d773 config: device: Resolve overlay paths relative to root 2021-12-03 20:29:14 -08:00
Danny Lin
d2494b9bf2 configs: Rename to config/ 2021-11-30 18:27:36 -08:00
Danny Lin
d93f4fde39 config: minimal: Exclude AiAi and apps that crash without GMS 2021-11-30 18:27:00 -08:00
Danny Lin
ce13670c2b blobs: Rename file_list to file-list
Match naming convention.
2021-11-30 17:48:03 -08:00
Danny Lin
12dbf7b659 util: cli: Fix action spinners 2021-11-29 22:03:27 -08:00
Danny Lin
8bbea69310 configs: Add minimal variants of Pixel 6 series 2021-11-29 09:57:57 -08:00
Danny Lin
3e32a22b97 configs: Rename filters to snippets 2021-11-29 09:15:39 -08:00
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