summaryrefslogtreecommitdiff
path: root/java/java_resources.go
diff options
context:
space:
mode:
author Sam Delmerico <delmerico@google.com> 2022-01-31 14:37:29 +0000
committer Sam Delmerico <delmerico@google.com> 2022-02-03 19:25:12 +0000
commit75539d62ae709549aa24dcf93bd648388454815a (patch)
tree4c892c5750006224eca0a27245d14e3e4a8a55cc /java/java_resources.go
parentd519b331f24c8967841db7fa1d46e1bc5956fd10 (diff)
add target_compatible_with stanza for host targets
Soong modules that are specific for the host platform (e.g. java_library_host, cc_binary_host, java_genrule_host, etc.) should not be built on the target platform (Android), so we add a target_compatible_with attribute to skip this type of module on an Android target build. Bug: 215229742 Test: go test ./bp2build Change-Id: Ifb76ef4e0dc4cb3adb6a64b5c375ce36f7973e48
Diffstat (limited to 'java/java_resources.go')
0 files changed, 0 insertions, 0 deletions