Skip to content

Commit

Permalink
Fix ophan bytecode in product partition
Browse files Browse the repository at this point in the history
I notice files  weren't being included because it thought it was an orphan bytcode in /product
  • Loading branch information
shareefalis authored and danielfullmer committed Oct 3, 2019
1 parent 4108ef9 commit 8b55b68
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion scripts/generate-vendor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -660,6 +660,10 @@ gen_mk_for_bytecode() {
origin="$inDir/system/$relSubRoot"
lcMPath="\$(PRODUCT_OUT)/\$(TARGET_COPY_OUT_SYSTEM)/$relSubRoot"
dsoRootBase="/system"
elif [[ "$relRoot" == "product" ]]; then
origin="$inDir/product/$relSubRoot"
lcMPath="\$(PRODUCT_OUT)/\$(TARGET_COPY_OUT_PRODUCT)/$relSubRoot"
dsoRootBase="/product"
else
echo "[-] Invalid '$relRoot' relative directory"
abort 1
Expand Down Expand Up @@ -1037,7 +1041,7 @@ gen_android_mk() {
echo "include vendor/$VENDOR_DIR/$DEVICE/AndroidBoardVendor.mk"
} >> "$ANDROID_MK"

for root in "vendor" "proprietary"
for root in "vendor" "proprietary" "product"
do
for path in "${SUBDIRS_WITH_BC[@]}"
do
Expand Down

0 comments on commit 8b55b68

Please sign in to comment.