tor-browser

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

branding-common.mozbuild (1180B)


      1 # -*- Mode: python; indent-tabs-mode: nil; tab-width: 40 -*-
      2 # vim: set filetype=python:
      3 # This Source Code Form is subject to the terms of the Mozilla Public
      4 # License, v. 2.0. If a copy of the MPL was not distributed with this
      5 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
      6 
      7 
      8 @template
      9 def FirefoxBranding():
     10     if CONFIG["MOZ_BRANDING_DIRECTORY"] == "browser/branding/official":
     11         JS_PREFERENCE_PP_FILES += [
     12             "pref/firefox-branding.js",
     13         ]
     14     else:
     15         JS_PREFERENCE_FILES += [
     16             "pref/firefox-branding.js",
     17         ]
     18 
     19     if CONFIG["MOZ_WIDGET_TOOLKIT"] == "windows":
     20         FINAL_TARGET_FILES[".."] += [
     21             "firefox.VisualElementsManifest.xml",
     22         ]
     23         FINAL_TARGET_FILES.VisualElements += [
     24             "VisualElements_150.png",
     25             "VisualElements_70.png",
     26         ]
     27     elif CONFIG["MOZ_WIDGET_TOOLKIT"] == "gtk":
     28         FINAL_TARGET_FILES.chrome.icons.default += [
     29             "content/about-logo.svg",
     30             "default128.png",
     31             "default16.png",
     32             "default256.png",
     33             "default32.png",
     34             "default48.png",
     35             "default64.png",
     36         ]