[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [Git][tpo/applications/tor-browser-build][main] Bug 40874: Include the commit information in GeckoView



Title: GitLab

ma1 pushed to branch main at The Tor Project / Applications / tor-browser-build

Commits:

  • f4227713
    by Pier Angelo Vendrame at 2023-06-07T19:10:03+02:00
    Bug 40874: Include the commit information in GeckoView
    
    Add the commit hash and GitLab URL to the mozconfig to make them appear
    in about:buildconfig on Android, too.
    

2 changed files:

Changes:

  • projects/geckoview/build
    ... ... @@ -41,7 +41,13 @@ export PATH="/var/tmp/dist/rust/bin:/var/tmp/dist/cbindgen:/var/tmp/dist/nasm/bi
    41 41
     tar -C /var/tmp/build -xf [% project %]-[% c('version') %].tar.gz
    
    42 42
     
    
    43 43
     cd /var/tmp/build/[% project %]-[% c("version") %]
    
    44
    -ln -s mozconfig-[% c("var/osname") %] .mozconfig
    
    44
    +cat > .mozconfig << 'MOZCONFIG_EOF'
    
    45
    +. $topsrcdir/mozconfig-[% c("var/osname") %]
    
    46
    +
    
    47
    +export MOZ_INCLUDE_SOURCE_INFO=1
    
    48
    +export MOZ_SOURCE_REPO="[% c('var/gitlab_project') %]"
    
    49
    +export MOZ_SOURCE_CHANGESET=[% c("var/git_commit") %]
    
    50
    +MOZCONFIG_EOF
    
    45 51
     
    
    46 52
     eval $(perl $rootdir/get-moz-build-date [% c("var/copyright_year") %] [% c("var/torbrowser_version") %])
    
    47 53
     if [ -z $MOZ_BUILD_DATE ]
    

  • projects/geckoview/config
    ... ... @@ -15,6 +15,8 @@ var:
    15 15
       browser_branch: 12.5-1
    
    16 16
       browser_build: 3
    
    17 17
       copyright_year: '[% exec("git show -s --format=%ci").remove("-.*") %]'
    
    18
    +  gitlab_project: https://gitlab.torproject.org/tpo/applications/tor-browser
    
    19
    +  git_commit: '[% exec("git rev-parse HEAD") %]'
    
    18 20
       deps:
    
    19 21
         - build-essential
    
    20 22
         - unzip
    

  • _______________________________________________
    tor-commits mailing list
    tor-commits@xxxxxxxxxxxxxxxxxxxx
    https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits