update makefile to copy into proper native lib location
This commit is contained in:
parent
1b1f64d376
commit
542e5a700c
|
@ -280,18 +280,16 @@ tor-clean:
|
||||||
git reset HEAD --hard
|
git reset HEAD --hard
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
#create and clean assets: FYI - tor is stored as a ZIP file with an mp3 extension
|
#create and clean assets: FYI - tor is stored as a ZIP file with an so extension
|
||||||
#in order to stop Android OS (older devices) from trying to compress/decompress it
|
#in the libs directly, so it is handled like a shared library for local installation
|
||||||
#this is related to a bug in compression of assets and resources > 1MB
|
|
||||||
|
|
||||||
assets: tor
|
assets: tor
|
||||||
install -d ../tor-android-binary/src/main/assets/$(APP_ABI)
|
install -d ../tor-android-binary/src/main/libs/$(APP_ABI)
|
||||||
-$(STRIP) bin/tor
|
-$(STRIP) bin/tor
|
||||||
-zip ../tor-android-binary/src/main/assets/$(APP_ABI)/tor.mp3 bin/tor
|
-zip ../tor-android-binary/src/main/libs/$(APP_ABI)/tor.so bin/tor
|
||||||
|
|
||||||
assets-clean:
|
assets-clean:
|
||||||
-rm ../tor-android-binary/src/main/assets/$(APP_ABI)/tor.mp3
|
-rm ../tor-android-binary/src/main/libs/$(APP_ABI)/tor.so
|
||||||
|
|
||||||
|
|
||||||
#------------------------------------------------------------------------------#
|
#------------------------------------------------------------------------------#
|
||||||
# cleanup, cleanup, put the toys away
|
# cleanup, cleanup, put the toys away
|
||||||
|
|
Loading…
Reference in New Issue