Add android_info module type
This is heavily inspired by the implementation in https://r.android.com/3081436. `android_info` will generate a .txt file with board specific information which will subsequently be used to generate build.prop file for vendor. The key differences are 1. `android_info` is not a singleton module. 2. Create android_info.prop from android_info.txt. The .prop file will be passed to --prop-files when generating /vendor/build.prop 3. Board info properties like `TARGET_BOARD_INFO_FILES` will not be added to android.Config API. (But they will be added to the unstable `PartitionVarsForSoongMigrationOnlyDoNotUse` in a followup CL) 3. android-info.txt will _not_ be installed via ctx.InstallFile, atleast for now. This file is created in $PRODUCT_OUT, but not installed on device. Test: m nothing --no-skip-soong-tests Bug: 375500423 Change-Id: Ie79f4f5fe828d7876c12e224f4dff1cc17e1b4d4
Loading
Please register or sign in to comment