summaryrefslogtreecommitdiff
path: root/android/module_info_json.go
AgeCommit message (Collapse)Author
2025-03-04Build test_module_config modules' module_info_json in soong Cole Faust
To be able to run these tests in soong-only builds. This cl produces the following diff: https://paste.googleplex.com/4917659043627008 The diff is enitrely additional host dependencies. Without the line adding the ExtraHostRequired modules it becomes a diff of missing host dependencies. Of the two I chose the extras. It's difficult to get the required list exactly matching make. Fixes: 400731860 Test: The diff + atest CtsWifiTestCases_NoNonMainlineTest Change-Id: Idbbfbf7f74eb2eeaf68d64c0bcfbc97ddae3e2ea
2025-02-05Add getters for Installed and Class from ModuleInfoJson mrziwang
Test: CI Bug: 388850000 Change-Id: Ie483ece3341287ece6488ad81a4ab7fd320fd9b5
2025-01-28Convert java modules' module-info.json to Soong Jihoon Kang
This change converts the module-info.json of java_library and other java modules that call java_library's GenerateAndroidBuildActions() in its GenerateAndroidBuildActions() to Soong. Bug: 389720048 Test: Inspect module-info.json diff, CI Change-Id: I0db5ae3a5fb41bb60dc538aea2d8e614c9ae23d4
2025-01-23Convert android_app and android_test's module-info.json to soong Cole Faust
This produces the following diffs, which I beleive are benign: https://paste.googleplex.com/5631028455276544 We need to convert these to soong so that you can run these tests with atest in soong-only builds. Bug: 389720048 Test: diff'd out/target/product/vsoc_x86_64/module-info.json Change-Id: Ic25e14d2cfbb56d9527302baefa6f69f55f113ee
2024-10-29Fix a bug where ModuleInfoJSON was not serialized correctly because Yu Liu
core was not exported. Bug: 358427516 Test: Manually verified generated mk and ninja files. Change-Id: If388ba2cbb149984e817ceb66bf33cd951a7bcdf
2024-05-20Dump the required modules into module-info.json Hugo Drumond Jacob
Certain applications, like tracking the dependency chain of modules, knowing the "required" dependencies is required. In this context, "required" here means the `required` field in Android.bp files. Bug: 339193439 Test: Inspect module-info.json for the `required` field Change-Id: I420c781d410e715ef86823278f99e4ffe51f8022
2024-01-02Support generating module_info.json in Soong Colin Cross
Generate module_info.json for some Soong modules in Soong in order to pass fewer properties to Kati, which can prevent Kati reanalysis when some Android.bp changes are made. Soong modules can export a ModuleInfoJSONProvider containing the data that should be included in module-info.json. During the androidmk singleton the providers are collected and written to a single JSON file. Make then merges the Soong modules into its own modules. For now, to keep the result as similar as possible to the module-info.json currently being generated by Make, only modules that are exported to Make are written to the Soong module-info.json. Bug: 309006256 Test: Compare module-info.json Change-Id: I996520eb48e04743d43ac11c9aba0f3ada7745de