tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

mozconfig.common (1124B)


      1 # This Source Code Form is subject to the terms of the Mozilla Public
      2 # License, v. 2.0. If a copy of the MPL was not distributed with this
      3 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      4 
      5 # Common mozconfig for official builds.
      6 #
      7 # Add options to this file that will be inherited by all in-tree mozconfigs.
      8 # This is useful for eg try builds with nondefault options that apply to all
      9 # architectures, though note that if you want to override options set in
     10 # another mozconfig file, you'll need to use mozconfig.common.override instead
     11 # of this file.
     12 
     13 if test -n "$USE_ARTIFACT"; then
     14 . "$topsrcdir/build/mozconfig.artifact.automation"
     15 fi
     16 
     17 mk_add_options AUTOCLOBBER=1
     18 
     19 ac_add_options --enable-js-shell
     20 
     21 . "$topsrcdir/build/mozconfig.automation"
     22 . "$topsrcdir/build/mozconfig.rust"
     23 . "$topsrcdir/build/mozconfig.cache"
     24 
     25 if [ -n "$TASKCLUSTER_PGO_PROFILE_USE" -a -z "$USE_ARTIFACT" ]; then
     26     export MOZ_LTO=cross
     27     ac_add_options --enable-profile-use=cross
     28     ac_add_options --with-pgo-jarlog="${MOZ_FETCHES_DIR}/en-US.log"
     29     ac_add_options --with-pgo-profile-path="${MOZ_FETCHES_DIR}/merged.profdata"
     30 fi