summaryrefslogtreecommitdiff
path: root/sdk/sdk_test.go
diff options
context:
space:
mode:
author Paul Duffin <paulduffin@google.com> 2019-12-05 11:25:53 +0000
committer Paul Duffin <paulduffin@google.com> 2019-12-06 16:13:58 +0000
commita0dbf43a82684ec9055b8798e49b4b6c0936652d (patch)
tree2582e9511989c0a0628fad48cb60882bafd1b6f8 /sdk/sdk_test.go
parentd835daaadeb87761a064fc8bb0fe5ed74ab36da0 (diff)
Support header and implementation jars in sdk
Add a new java_header_libs property that exports header jars (as java_libs currently does) and switch java_libs to export implementation jars instead. Refactors implementation of the existing library sdk member type so both properties can be supported from common code as they differ only on the jar being exported. Bug: 143678475 Test: m nothing Change-Id: I04642122f72d083bbdfd3290624f957b71ee8875
Diffstat (limited to 'sdk/sdk_test.go')
-rw-r--r--sdk/sdk_test.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/sdk/sdk_test.go b/sdk/sdk_test.go
index 0a9dfb10c..f4e944a80 100644
--- a/sdk/sdk_test.go
+++ b/sdk/sdk_test.go
@@ -27,12 +27,12 @@ func TestDepNotInRequiredSdks(t *testing.T) {
testSdkError(t, `module "myjavalib".*depends on "otherlib".*that isn't part of the required SDKs:.*`, `
sdk {
name: "mysdk",
- java_libs: ["sdkmember"],
+ java_header_libs: ["sdkmember"],
}
sdk_snapshot {
name: "mysdk@1",
- java_libs: ["sdkmember_mysdk_1"],
+ java_header_libs: ["sdkmember_mysdk_1"],
}
java_import {