Skip to content
Snippets Groups Projects
Commit aa79c9c2 authored by Pratik Lagaskar's avatar Pratik Lagaskar
Browse files

adapt build_core.sh to vpn-hole

parent 00b59c08
No related branches found
No related tags found
1 merge request!5Draft: Integrate vpn-hole
...@@ -104,6 +104,10 @@ patch --directory=obfsvpn --strip=1 < obfsvpn.patch || quit ...@@ -104,6 +104,10 @@ patch --directory=obfsvpn --strip=1 < obfsvpn.patch || quit
showtitle "Applying patch to shapeshifter" showtitle "Applying patch to shapeshifter"
patch --directory=shapeshifter --strip=1 < shapeshifter.patch || quit patch --directory=shapeshifter --strip=1 < shapeshifter.patch || quit
# -------- preparing vpn-hole ---------------
showtitle "Applying patch to vpn-hole"
patch --directory=vpn-hole --strip=1 < vpn-hole.patch || quit
# -------- build core --------------- # -------- build core ---------------
...@@ -119,19 +123,19 @@ fi ...@@ -119,19 +123,19 @@ fi
showtitle "Building Bitmask core as full aar" showtitle "Building Bitmask core as full aar"
gomobile bind -target='android' -o ./lib/bitmaskcore.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go gomobile bind -target='android' -o ./lib/bitmaskcore.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go org.0xacab/leap/vpn-hole
showtitle "Building Bitmask web core as full aar including pgpverify" showtitle "Building Bitmask web core as full aar including pgpverify"
gomobile bind -target='android' -o ./lib/bitmaskcore_web.aar -v org.0xacab/leap/bitmaskcore/pgpverify org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go gomobile bind -target='android' -o ./lib/bitmaskcore_web.aar -v org.0xacab/leap/bitmaskcore/pgpverify org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go org.0xacab/leap/vpn-hole
showtitle "Building Bitmask core for armv7" showtitle "Building Bitmask core for armv7"
gomobile bind -target='android/arm' -o ./lib/bitmaskcore_arm.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go gomobile bind -target='android/arm' -o ./lib/bitmaskcore_arm.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go org.0xacab/leap/vpn-hole
showtitle "Building Bitmask core for x86" showtitle "Building Bitmask core for x86"
gomobile bind -target='android/386' -o ./lib/bitmaskcore_x86.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go gomobile bind -target='android/386' -o ./lib/bitmaskcore_x86.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go org.0xacab/leap/vpn-hole
showtitle "Building Bitmask core for arm64" showtitle "Building Bitmask core for arm64"
gomobile bind -target='android/arm64' -o ./lib/bitmaskcore_arm64.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go gomobile bind -target='android/arm64' -o ./lib/bitmaskcore_arm64.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go org.0xacab/leap/vpn-hole
showtitle "Building Bitmask core for x86_64" showtitle "Building Bitmask core for x86_64"
gomobile bind -target='android/amd64' -o ./lib/bitmaskcore_x86_64.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go gomobile bind -target='android/amd64' -o ./lib/bitmaskcore_x86_64.aar -v org.0xacab/leap/bitmaskcore/shapeshifter org.0xacab/leap/bitmaskcore/obfsvpn/client org.0xacab/leap/bitmaskcore/IPtProxy/IPtProxy.go org.0xacab/leap/vpn-hole
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment