Commit graph

623 commits

Author SHA1 Message Date
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
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