branding.mozbuild 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
  2. @template
  3. def ApplicationBranding():
  4. JS_PREFERENCE_PP_FILES += [
  5. 'pref/palemoon-branding.js',
  6. ]
  7. if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
  8. FINAL_TARGET_FILES['..'] += [
  9. 'palemoon.VisualElementsManifest.xml',
  10. ]
  11. FINAL_TARGET_FILES.VisualElements += [
  12. 'VisualElements_150.png',
  13. 'VisualElements_70.png',
  14. ]
  15. BRANDING_FILES += [
  16. '../shared/newtab.ico',
  17. '../shared/newwindow.ico',
  18. '../shared/pbmode.ico',
  19. 'appname.bmp',
  20. 'branding.nsi',
  21. 'document.ico',
  22. 'firefox.ico',
  23. 'wizHeader.bmp',
  24. 'wizHeaderRTL.bmp',
  25. 'wizWatermark.bmp',
  26. ]
  27. elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
  28. BRANDING_FILES += [
  29. 'default16.png',
  30. 'default32.png',
  31. 'default48.png',
  32. 'mozicon128.png',
  33. ]
  34. FINAL_TARGET_FILES.icons += ['mozicon128.png']
  35. FINAL_TARGET_FILES.chrome.icons.default += [
  36. 'default16.png',
  37. 'default32.png',
  38. 'default48.png',
  39. ]
  40. DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
  41. DEFINES['MOZ_BRANDING_DIRECTORY'] = CONFIG['MOZ_BRANDING_DIRECTORY']
  42. DEFINES['MOZILLA_UAVERSION_U'] = CONFIG['MOZILLA_UAVERSION_U']
  43. DEFINES['MOZILLA_COMPATVERSION_U'] = "68.9"