Created
February 28, 2018 17:47
-
-
Save Nokius/fc44221fa337684fd0e69d184155c3ff to your computer and use it in GitHub Desktop.
[droidmedia] 64bit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/helpers/pack_source_droidmedia-localbuild.sh b/helpers/pack_source_droidmedia-localbuild.sh | |
index c215712..ad78f6a 100755 | |
--- a/helpers/pack_source_droidmedia-localbuild.sh | |
+++ b/helpers/pack_source_droidmedia-localbuild.sh | |
@@ -1,4 +1,4 @@ | |
-if [ ! -f ./out/target/product/${DEVICE}/system/lib/libdroidmedia.so ]; then | |
+if [ ! -f ./out/target/product/${DEVICE}/system/lib64/libdroidmedia.so ]; then | |
echo "Please build droidmedia as per HADK instructions" | |
exit 1 | |
fi | |
@@ -9,6 +9,7 @@ rm -rf $fold | |
mkdir $fold | |
mkdir -p $fold/out/target/product/${DEVICE}/system/lib | |
+mkdir -p $fold/out/target/product/${DEVICE}/system/lib64 | |
mkdir -p $fold/out/target/product/${DEVICE}/system/bin | |
mkdir -p $fold/external/droidmedia | |
@@ -16,6 +17,7 @@ cp ./external/droidmedia/*.h $fold/external/droidmedia/ | |
cp ./external/droidmedia/hybris.c $fold/external/droidmedia/ | |
# Remove droidmedia bits from out/ (otherwise it would cause a conflict within droid-hal-$DEVICE): | |
mv ./out/target/product/${DEVICE}/system/lib/libdroidmedia.so $fold/out/target/product/${DEVICE}/system/lib/ | |
+mv ./out/target/product/${DEVICE}/system/lib64/libdroidmedia.so $fold/out/target/product/${DEVICE}/system/lib64/ | |
mv ./out/target/product/${DEVICE}/system/bin/minimediaservice $fold/out/target/product/${DEVICE}/system/bin/ | |
mv ./out/target/product/${DEVICE}/system/bin/minisfservice $fold/out/target/product/${DEVICE}/system/bin/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment