diff options
author | 2022-04-13 20:41:01 +0800 | |
---|---|---|
committer | 2022-04-18 10:23:28 +0800 | |
commit | f628202aabf55d989b6ab1a1ccb6a33967ec969e (patch) | |
tree | c0cdd7f4eb7c1aab0c3dfca9b69a09ade4c6bed6 /android/module.go | |
parent | fa8e9cc3a19c60e36945432fa8eece5a4a12c112 (diff) |
Export Java library dependency information
Write `static_libs` and `libs` of Java library and Android app modules to module_bp_java_deps.json. This enables downstream tools to correctly set up the runtime environment. Note that while static libraries don't need to be on the Java classpath these modules could have non-static library dependencies that do need to be present.
Test: m out/soong/module_bp_java_deps.json
Bug: 227538646
Change-Id: I7c4aecb2fb03c890f0d2aaae80e619f6176809ef
Diffstat (limited to 'android/module.go')
-rw-r--r-- | android/module.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/android/module.go b/android/module.go index 66a5f60ad..ab68e24f1 100644 --- a/android/module.go +++ b/android/module.go @@ -3734,6 +3734,8 @@ type IdeInfo struct { Installed_paths []string `json:"installed,omitempty"` SrcJars []string `json:"srcjars,omitempty"` Paths []string `json:"path,omitempty"` + Static_libs []string `json:"static_libs,omitempty"` + Libs []string `json:"libs,omitempty"` } func CheckBlueprintSyntax(ctx BaseModuleContext, filename string, contents string) []error { |