Disallow shared libraries in bootclasspath_fragment contents

Bug: 177892522
Test: m nothing
Change-Id: I78c8ef8664ec1eb0fe3456a2de2cb956162ca0da
This commit is contained in:
Paul Duffin
2021-05-13 22:34:45 +01:00
parent 0589914135
commit f4600f6e6a
4 changed files with 37 additions and 22 deletions

View File

@@ -231,7 +231,7 @@ func TestBootclasspathFragment_StubLibs(t *testing.T) {
java_sdk_library {
name: "mysdklibrary",
srcs: ["a.java"],
compile_dex: true,
shared_library: false,
public: {enabled: true},
system: {enabled: true},
}
@@ -239,7 +239,7 @@ func TestBootclasspathFragment_StubLibs(t *testing.T) {
java_sdk_library {
name: "mycoreplatform",
srcs: ["a.java"],
compile_dex: true,
shared_library: false,
public: {enabled: true},
}
`)