Commit graph

195 commits

Author SHA1 Message Date
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
Danny Lin
8d32be55a6 make: Add support for vintf manifest files 2021-11-13 18:46:43 -08:00
Danny Lin
f6eed35673 build: Create vintf output directory 2021-11-13 18:45:44 -08:00
Danny Lin
4ef4411dd2 vintf: Add support for diffing and writing partition manifests 2021-11-13 18:45:23 -08:00
Danny Lin
b4ccae0946 system-setate: Fix Map parsing error on null values 2021-11-13 18:44:37 -08:00
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
4bb6dd10e4 Add product Makefile for AOSP build preparation 2021-11-13 18:04:07 -08:00
Danny Lin
b1174aa7f3 overlays: Reuse xml2js builder instance 2021-11-13 18:02:48 -08:00