diff options
author | Treehugger Robot <treehugger-gerrit@google.com> | 2021-02-22 22:40:31 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2021-02-22 22:40:31 +0000 |
commit | 277303f042e84a47cd2196126c9d85b05b3cf5c2 (patch) | |
tree | 091a6e5dcbc4bdd769124be156950ca0cb8e3192 /java/java_test.go | |
parent | a61a042fa667a74034f2310a8807f2a5fd98a305 (diff) | |
parent | aa2555387d214fc0292406d10714558054d794f3 (diff) |
Merge "Add ctx to AndroidMkExtraEntriesFunc"
Diffstat (limited to 'java/java_test.go')
-rw-r--r-- | java/java_test.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/java/java_test.go b/java/java_test.go index 0ef4db680..11f6a7c21 100644 --- a/java/java_test.go +++ b/java/java_test.go @@ -2509,7 +2509,7 @@ func TestAidlFlagsArePassedToTheAidlCompiler(t *testing.T) { } func TestDataNativeBinaries(t *testing.T) { - ctx, config := testJava(t, ` + ctx, _ := testJava(t, ` java_test_host { name: "foo", srcs: ["a.java"], @@ -2525,7 +2525,7 @@ func TestDataNativeBinaries(t *testing.T) { buildOS := android.BuildOs.String() test := ctx.ModuleForTests("foo", buildOS+"_common").Module().(*TestHost) - entries := android.AndroidMkEntriesForTest(t, config, "", test)[0] + entries := android.AndroidMkEntriesForTest(t, ctx, test)[0] expected := []string{buildDir + "/.intermediates/bin/" + buildOS + "_x86_64_PY3/bin:bin"} actual := entries.EntryMap["LOCAL_COMPATIBILITY_SUPPORT_FILES"] if !reflect.DeepEqual(expected, actual) { |