diff options
author | Mel Carr Zúñiga <melisacz@google.com> | 2024-05-07 17:29:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-07 17:29:07 +0200 |
commit | ede4aac34cad828dc0d6185bec078e9d9f821dda (patch) | |
tree | 3ee0fbbc571dacb3e4783b780ec39a321afa68da | |
parent | 01a62402bb7d751f2ec8d9786fe54838a3f83844 (diff) | |
download | google-smali-ede4aac34cad828dc0d6185bec078e9d9f821dda.tar.gz |
Adding device target to the Android.bp file (#50)
-rw-r--r-- | dexlib2/Android.bp | 25 |
1 files changed, 19 insertions, 6 deletions
diff --git a/dexlib2/Android.bp b/dexlib2/Android.bp index 8c26eea7..d4085b50 100644 --- a/dexlib2/Android.bp +++ b/dexlib2/Android.bp @@ -23,9 +23,7 @@ ], static_libs: [ - "guava", "jsr305", - "auto_android_annotation_stubs", ], } @@ -37,12 +35,27 @@ java_library_host { ":third_party-smali-dexlib2", ], - libs: [ - "guava", + static_libs: [ + "jsr305", ], +} + +java_library { + name: "smali-dexlib2-device", + + srcs: [ + "src/main/java/**/*.java", + ":third_party-smali-dexlib2", + ], + + sdk_version: "system_server_current", + min_sdk_version: "33", static_libs: [ "jsr305", - "auto_android_annotation_stubs", ], -}
\ No newline at end of file + + apex_available: [ + "//apex_available:anyapex", + ], +} |