Skip to content

Commit

Permalink
Include library dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
phhusson committed Oct 19, 2021
1 parent 4119283 commit 953244a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ LOCAL_MODULE_CLASS := APPS
LOCAL_CERTIFICATE := PRESIGNED
LOCAL_OVERRIDES_PACKAGES := $3
$addition
$(aapt d badging "bin/$1" |sed -nE "s/uses-library-not-required:'(.*)'/LOCAL_OPTIONAL_USES_LIBRARIES += \1/p")
$(aapt d badging "bin/$1" |sed -nE "s/uses-library:'(.*)'/LOCAL_USES_LIBRARIES += \1/p")
include \$(BUILD_PREBUILT)
EOF
Expand Down

0 comments on commit 953244a

Please sign in to comment.