summaryrefslogtreecommitdiff
path: root/java/java_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2018-08-29 14:10:52 -0700
committer Colin Cross <ccross@android.com> 2018-08-30 16:31:02 +0000
commit42d48b7b8b94e301d703656db0b25bc5ee7eb3bc (patch)
tree377b5bdf4556fbb6a04bb436230fe6abcbe64157 /java/java_test.go
parentb69575b1f697edae9f9b78765d50c8117d21f7d1 (diff)
Enforce dependencies have right architecture
ctx.AddDependency will succeed if the named dependency only has a single variant, even if that variant is the wrong architecture. Use ctx.AddVariationDependency(nil, ...) instead, which requires that all variations of the calling module match the dependency. Bug: 112707915 Test: no change to out/soong/build.ninja Test: using a device dependency in a host java module is an error Change-Id: I70b661a57d4412eb63b8c9841febfb756e9e025d
Diffstat (limited to 'java/java_test.go')
0 files changed, 0 insertions, 0 deletions