diff options
| author | 2021-09-24 09:32:24 +0000 | |
|---|---|---|
| committer | 2021-09-24 09:32:24 +0000 | |
| commit | cf6bf37d0448919e752c3068a4c47adde42dc7f8 (patch) | |
| tree | 72f81e463e1992b304c06aaf7adba43e0b54fff1 /java/hiddenapi_singleton_test.go | |
| parent | e1bb74e72445557e4dbdcc321072f15a45b5e005 (diff) | |
| parent | 4482560cc73f16f09eecda42751cf2f8dc72e7de (diff) | |
Merge changes I957f3df8,I68986dcc
* changes:
Consolidate the code to resolve a deapexer module dependency.
Propagate the dex jar path as an OptionalPath which is either valid or invalid with a message.
Diffstat (limited to 'java/hiddenapi_singleton_test.go')
| -rw-r--r-- | java/hiddenapi_singleton_test.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/java/hiddenapi_singleton_test.go b/java/hiddenapi_singleton_test.go index dcd363c2c..75b7bb7c8 100644 --- a/java/hiddenapi_singleton_test.go +++ b/java/hiddenapi_singleton_test.go @@ -20,6 +20,7 @@ import ( "testing" "android/soong/android" + "github.com/google/blueprint/proptools" ) @@ -306,7 +307,7 @@ func TestHiddenAPIEncoding_JavaSdkLibrary(t *testing.T) { android.AssertStringEquals(t, "encode embedded java_library", unencodedDexJar, actualUnencodedDexJar.String()) // Make sure that the encoded dex jar is the exported one. - exportedDexJar := moduleForTests.Module().(UsesLibraryDependency).DexJarBuildPath() + exportedDexJar := moduleForTests.Module().(UsesLibraryDependency).DexJarBuildPath().Path() android.AssertPathRelativeToTopEquals(t, "encode embedded java_library", encodedDexJar, exportedDexJar) } |