Merge "Add sdk_version:"none" to replace no_standard_libs:true" am: b11c72b0b8
am: e34bbae1ca
Change-Id: I9465a810dad7f3ea95b6c883844358d817f8cc8e
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user