Skip to content

Commit

Permalink
Adding device target to the Android.bp file (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
melcz authored May 7, 2024
1 parent 01a6240 commit ede4aac
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions dexlib2/Android.bp
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,7 @@
],

static_libs: [
"guava",
"jsr305",
"auto_android_annotation_stubs",
],
}

Expand All @@ -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",
],
}

apex_available: [
"//apex_available:anyapex",
],
}

0 comments on commit ede4aac

Please sign in to comment.