Commit graph

264 commits

Author SHA1 Message Date
Danny Lin
a1697cfc6f config: device: Rename loadDevicesConfig -> loadDeviceConfigs
The function was originally intended to refer to a "DevicesConfig"
type, but this makes more sense with the current naming and semantics.
2021-12-16 20:50:12 -08:00
Danny Lin
4f9b58664f generate: Log devices in multi-device runs 2021-12-16 20:24:59 -08:00
Danny Lin
7bc3ff5bd6 config: pixel: Add multi-device configs for each generation 2021-12-16 20:24:46 -08:00
Danny Lin
64dfb3f0d0 config: device: Add support for device-list configs 2021-12-16 20:24:13 -08:00
Danny Lin
d8cff5ccee config: Add initial configs for Pixel 2019 and 2020 devices 2021-12-16 20:12:40 -08:00
Danny Lin
aedcfe3305 config: device: Prepare for multi-device support 2021-12-16 20:02:27 -08:00
Danny Lin
1d33f1cb02 state: Add device name to state 2021-12-16 19:57:28 -08:00
Danny Lin
d7beec10b6 frontend: source: Delete unnecessary files to reduce /tmp usage 2021-12-16 19:45:29 -08:00
Danny Lin
9742a2a6fa generate: Document all possible stockSrc values 2021-12-16 19:43:52 -08:00
Danny Lin
89bea07d00 frontend: source: Propagate path to factory images zip 2021-12-16 19:37:40 -08:00
Danny Lin
b0526ab92f frontend: source: Clean up paths and progress text 2021-12-16 19:15:44 -08:00
Danny Lin
8046f18f15 frontend: source: Add support for pre-converted raw images 2021-12-16 19:10:36 -08:00
Danny Lin
54cce1b8f6 generate: Accept flexible source paths 2021-12-16 19:10:36 -08:00
Danny Lin
7a63260914 frontend: Add flexible system source loader 2021-12-16 19:10:36 -08:00
Danny Lin
954374861d fs: Limit random tmp suffix to 8 digits 2021-12-16 19:10:36 -08:00
Danny Lin
ce64f175c4 zip: Fix NodeFileReader code style 2021-12-16 19:10:36 -08:00
Danny Lin
1977e0d954 zip: Add helper to list zip files as string[] 2021-12-16 19:10:36 -08:00
Danny Lin
c6eea8085b util: Add function to check for Android sparse image magic 2021-12-16 19:10:36 -08:00
Danny Lin
941d892c6e apex: Migrate to new sub-temp and mount APIs 2021-12-16 17:46:11 -08:00
Danny Lin
3eb96aebec apex: Fix unzipit import 2021-12-16 17:46:11 -08:00
Danny Lin
4c69202c7e fs: Add sub-temp and mount APIs 2021-12-16 17:46:06 -08:00
Danny Lin
69d6f0e50f generate-all: Create temp dir early 2021-12-16 17:42:27 -08:00
Danny Lin
bd4e56ac67 generate-prep: Create temp dir and fix frontend API usage 2021-12-16 17:42:08 -08:00
Danny Lin
a940128fa8 generate: Use module info from state file 2021-12-16 14:55:19 -08:00
Danny Lin
c6911a8e26 generate: Unify state/src path 2021-12-16 14:54:03 -08:00
Danny Lin
ed02997e6f generate: Override PRODUCT_ENFORCE_RRO_TARGETS in product makefile 2021-12-14 20:20:14 -08:00
Danny Lin
0234ddbeca config: pixel: Restore Turbo sepolicy
The googlebattery sepolicy doesn't build without this.
2021-12-14 18:45:06 -08:00
Danny Lin
821e8c36f0 config: pixel: Add Flipendo to non-minimal builds 2021-12-14 18:44:20 -08:00
Danny Lin
9c9f232bd9 config: pixel: 2021: Add libOpenCL for ARM NN HAL in prep mode 2021-12-14 18:43:43 -08:00
Danny Lin
fb83441e35 scripts: Add script to list updated system apps
Useful for deriving a list of presigned apps.
2021-12-14 18:43:43 -08:00
Danny Lin
408917a92e config: pixel: Mark apps updated by Play Store as presigned 2021-12-14 18:43:43 -08:00
Danny Lin
b404ecec72 state: Bump to version 2
- Added minimized Soong module-info
2021-12-13 20:10:55 -08:00
Danny Lin
a32d06a43d generate-prep: Remove unused imports 2021-12-13 20:09:17 -08:00
Danny Lin
9d71cfc36e build: Reduce empty blocks and files 2021-12-13 19:52:42 -08:00
Danny Lin
a1df9e718f generate-all: Force-include dependency files 2021-12-13 19:46:17 -08:00
Danny Lin
7e38e2402e build: Remove obsolete prepare_aosp.mk 2021-12-13 19:32:12 -08:00
Danny Lin
6ece4e9ef4 generate-prep: Enforce all RROs for prep build
adevtool only supports parsing RROs.
2021-12-13 19:32:02 -08:00
Danny Lin
dc70aad5d7 commands: Add command to generate prep vendor for reference AOSP build 2021-12-13 19:29:35 -08:00
Danny Lin
5725430c9a config: device: Add filters for explicit dependency files 2021-12-13 19:29:00 -08:00
Danny Lin
9f149d2136 generate-all: Fix missing PropResults type 2021-12-13 19:27:40 -08:00
Danny Lin
a934cf7a4b frontend: Support disabling stock<->custom comparison 2021-12-13 19:27:22 -08:00
Danny Lin
57c4059924 generate-all: Move logic into frontend/generate 2021-12-13 19:03:42 -08:00
Danny Lin
c077899b1c config: pixel: Clarify EuiccSupportPixelPermissions presigned status 2021-12-13 19:03:22 -08:00
Danny Lin
ff79f64a6e build: make: Separate built and A/B OTA partitions 2021-12-13 19:03:03 -08:00
Danny Lin
d1a2c403c0 generate-all: Prepare for unified state path 2021-12-13 18:47:58 -08:00
Danny Lin
007c49f639 build: make: Add support for PRODUCT_ENFORCE_RRO_TARGETS 2021-12-13 18:47:49 -08:00
Danny Lin
3a267498f2 collect-state: Move logic to config/system-state 2021-12-13 17:21:48 -08:00
Danny Lin
eb02404e94 config: pixel: Exclude unnecessary sepolicy dirs 2021-12-13 15:29:38 -08:00
Danny Lin
6dd19b9cc7 selinux: Add support for filtering built sepolicy dirs 2021-12-13 15:29:07 -08:00
Danny Lin
5ff5620c43 build: soong: Exclude tests and other modules in minimized module info 2021-12-13 11:17:39 -08:00