diff options
author | Colin Cross <ccross@android.com> | 2019-04-24 13:41:45 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2019-04-24 20:43:14 +0000 |
commit | 7f87f4fdeb30f612d74001acb26c466cbb452467 (patch) | |
tree | 956b27e83005dd0dc123bdbf51e308ad45e1aac0 /java/java.go | |
parent | 28c3eb6829f6516ff3bb94d8c59ecd0b8ff16f17 (diff) |
Support target.hostdex.required
Hostdex modules sometimes need extra required modules, add
target.hostdex.required.
Bug: 131167818
Test: manual
Change-Id: I599f3499f0b738556baeb27185371a42b4c2701b
Diffstat (limited to 'java/java.go')
-rw-r--r-- | java/java.go | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/java/java.go b/java/java.go index d6c759b45..be0f4d2a5 100644 --- a/java/java.go +++ b/java/java.go @@ -221,6 +221,13 @@ type CompilerDeviceProperties struct { // If true, export a copy of the module as a -hostdex module for host testing. Hostdex *bool + Target struct { + Hostdex struct { + // Additional required dependencies to add to -hostdex modules. + Required []string + } + } + // If set to true, compile dex regardless of installable. Defaults to false. Compile_dex *bool |