[tbb-bugs] #33973 [Applications/Tor Browser]: Create fat .aar for geckoview

Tor Bug Tracker & Wiki blackhole at torproject.org
Thu Apr 23 11:38:14 UTC 2020


#33973: Create fat .aar for geckoview
-------------------------------------------------+-------------------------
 Reporter:  gk                                   |          Owner:  gk
     Type:  task                                 |         Status:
                                                 |  assigned
 Priority:  Medium                               |      Milestone:
Component:  Applications/Tor Browser             |        Version:
 Severity:  Normal                               |     Resolution:
 Keywords:  tbb-mobile, tbb-rbm,                 |  Actual Points:
  TorBrowserTeam202004, GeorgKoppen202004        |
Parent ID:  #33626                               |         Points:
 Reviewer:                                       |        Sponsor:
-------------------------------------------------+-------------------------

Comment (by boklm):

 Replying to [comment:3 gk]:
 > boklm had the idea to just use a for loop in the `geckoview` project to
 build all the per arch .aar files and then merge them in a final step and
 use that one as output. I think that's the closest to what I had in mind
 and I'll start playing with that.

 I think the loop can be done in two ways. Either with the `for` from
 shell:
 {{{
 for arch in [% c('var/android_archs').join(' ') %]
 do
   cp $rootdir/mozconfig-android-$arch .mozconfig
   make
 done
 }}}

 or the `FOREACH` from template language:
 {{{
 [% FOREACH arch = c('var/android_archs') %]
   cp $rootdir/mozconfig-android-[% arch %] .mozconfig
   make
 [% END %]
 }}}

--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/33973#comment:4>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online


More information about the tbb-bugs mailing list