Merge "Add sdk_version:"none" to replace no_standard_libs:true" am: b11c72b0b8

am: e34bbae1ca

Change-Id: I9465a810dad7f3ea95b6c883844358d817f8cc8e
This commit is contained in:
Paul Duffin
2019-06-14 01:32:45 -07:00
committed by android-build-merger
8 changed files with 96 additions and 15 deletions

View File

@@ -842,6 +842,19 @@ func TestExcludeFileGroupInSrcs(t *testing.T) {
}
}
func TestJavaLibrary(t *testing.T) {
config := testConfig(nil)
ctx := testContext(config, "", map[string][]byte{
"libcore/Android.bp": []byte(`
java_library {
name: "core",
sdk_version: "none",
system_modules: "none",
}`),
})
run(t, ctx, config)
}
func TestJavaSdkLibrary(t *testing.T) {
ctx := testJava(t, `
droiddoc_template {