morgan pushed to branch main at The Tor Project / Applications / tor-browser-build
Commits: 9f4afa27 by Cecylia Bocovich at 2024-08-21T12:04:24-04:00 Bug 41221: Use Go build tags to reduce PT binary sizes
- - - - -
2 changed files:
- projects/conjure/build - projects/snowflake/build
Changes:
===================================== projects/conjure/build ===================================== @@ -18,7 +18,7 @@ cd /var/tmp/build/[% project %]-[% c('version') %] tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %]
cd client -go build -ldflags '-s' +go build -ldflags '-s' -tags 'protoreflect,nacl' cp -a client[% IF c("var/windows") %].exe[% END %] $distdir/conjure-client[% IF c("var/windows") %].exe[% END %]
cd ..
===================================== projects/snowflake/build ===================================== @@ -18,7 +18,7 @@ cd /var/tmp/build/[% project %]-[% c('version') %] tar -xf $rootdir/[% c('input_files_by_name/go_vendor') %]
cd client -go build -ldflags '-s' +go build -ldflags '-s' -tags 'nopshufb,noasm,packetioSizeHardlimit,purego,safe,appengine,disableunsafe' cp -a client[% IF c("var/windows") %].exe[% END %] $distdir/snowflake-client[% IF c("var/windows") %].exe[% END %]
cd ..
View it on GitLab: https://gitlab.torproject.org/tpo/applications/tor-browser-build/-/commit/9f...
tor-commits@lists.torproject.org