Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
B
Bitmask Core Android
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
leap
Android Libs
Bitmask Core Android
Commits
41bc651d
Commit
41bc651d
authored
Jul 24, 2024
by
cyberta
Browse files
Options
Downloads
Patches
Plain Diff
build mobile package of bitmask-core
parent
8a8156f0
Branches
Branches containing commit
No related tags found
1 merge request
!4
take into GOBIN env variable into account when using gomobile
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
build_core.sh
+6
-6
6 additions, 6 deletions
build_core.sh
build_core_dev.sh
+6
-7
6 additions, 7 deletions
build_core_dev.sh
with
12 additions
and
13 deletions
build_core.sh
+
6
−
6
View file @
41bc651d
...
...
@@ -120,19 +120,19 @@ fi
showtitle
"Building Bitmask Core Android as full aar"
gomobile
bind
-x
-target
android
-ldflags
=
"-s -w"
-tags
=
netcgo
-androidapi
=
21
-v
-trimpath
-o
lib/bitmaskcore.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-x
-target
android
-ldflags
=
"-s -w"
-tags
=
netcgo
-androidapi
=
21
-v
-trimpath
-o
lib/bitmaskcore.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android Web as full aar including pgpverify"
gomobile
bind
-x
-target
=
'android'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_web.aar
-v
./pgpverify ./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-x
-target
=
'android'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_web.aar
-v
./pgpverify ./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for armv7"
gomobile
bind
-target
=
'android/arm'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/arm'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for x86"
gomobile
bind
-target
=
'android/386'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/386'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for arm64"
gomobile
bind
-target
=
'android/arm64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/arm64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for x86_64"
gomobile
bind
-target
=
'android/amd64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86_64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/amd64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86_64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
This diff is collapsed.
Click to expand it.
build_core_dev.sh
+
6
−
7
View file @
41bc651d
...
...
@@ -127,22 +127,21 @@ fi
showtitle
"Building Bitmask Core Android as full aar"
gomobile
bind
-x
-target
android
-ldflags
=
"-s -w"
-tags
=
netcgo
-androidapi
=
21
-v
-trimpath
-o
lib/bitmaskcore.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go ./bitmask-core/pkg/bootstrap ./bitmask-core/pkg/models
gomobile
bind
-x
-target
android
-ldflags
=
"-s -w"
-tags
=
netcgo
-androidapi
=
21
-v
-trimpath
-o
lib/bitmaskcore.aar ./obfsvpn/client/ ./motd ./IPtProxy/IPtProxy.go ./bitmask-core/pkg/mobile
showtitle
"Building Bitmask Core Android Web as full aar including pgpverify"
gomobile
bind
-x
-target
=
'android'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_web.aar
-v
./pgpverify ./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-x
-target
=
'android'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_web.aar
-v
./pgpverify ./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for armv7"
gomobile
bind
-target
=
'android/arm'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/arm'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for x86"
gomobile
bind
-target
=
'android/386'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/386'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for arm64"
gomobile
bind
-target
=
'android/arm64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/arm64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_arm64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
showtitle
"Building Bitmask Core Android for x86_64"
gomobile
bind
-target
=
'android/amd64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86_64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
bootstrap ./bitmask-core/pkg/models
gomobile
bind
-target
=
'android/amd64'
-ldflags
=
"-s -w"
-androidapi
=
21
-v
-tags
=
netcgo
-trimpath
-o
./lib/bitmaskcore_x86_64.aar
-v
./obfsvpn/client ./IPtProxy/IPtProxy.go ./motd ./bitmask-core/pkg/
mobile
if
[[
"bitmask_android"
==
`
pwd
| rev |
cut
-d
/
-f
2 | rev
`
]]
;
then
showtitle
"Copying to bitmask_android main repository"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment