moz.build 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. # -*- Mode: python; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 40 -*-
  2. # This Source Code Form is subject to the terms of the Mozilla Public
  3. # License, v. 2.0. If a copy of the MPL was not distributed with this
  4. # file, You can obtain one at http://mozilla.org/MPL/2.0/.
  5. DIRS += ['content', 'locales']
  6. DIST_SUBDIR = 'browser'
  7. export('DIST_SUBDIR')
  8. JS_PREFERENCE_PP_FILES += [
  9. 'pref/palemoon-branding.js',
  10. ]
  11. if CONFIG['MOZ_WIDGET_TOOLKIT'] == 'windows':
  12. FINAL_TARGET_FILES['..'] += [
  13. 'palemoon.VisualElementsManifest.xml',
  14. ]
  15. FINAL_TARGET_FILES.VisualElements += [
  16. 'VisualElements_150.png',
  17. 'VisualElements_70.png',
  18. ]
  19. BRANDING_FILES += [
  20. 'appname.bmp',
  21. 'branding.nsi',
  22. 'document.ico',
  23. 'firefox.ico',
  24. 'newtab.ico',
  25. 'newwindow.ico',
  26. 'pbmode.ico',
  27. 'wizHeader.bmp',
  28. 'wizHeaderRTL.bmp',
  29. 'wizWatermark.bmp',
  30. ]
  31. elif 'gtk' in CONFIG['MOZ_WIDGET_TOOLKIT']:
  32. BRANDING_FILES += [
  33. 'default16.png',
  34. 'default32.png',
  35. 'default48.png',
  36. 'mozicon128.png',
  37. ]
  38. FINAL_TARGET_FILES.icons += ['mozicon128.png']
  39. FINAL_TARGET_FILES.chrome.icons.default += [
  40. 'default16.png',
  41. 'default32.png',
  42. 'default48.png',
  43. ]
  44. DEFINES['MOZ_APP_VERSION'] = CONFIG['MOZ_APP_VERSION']
  45. DEFINES['MOZ_BRANDING_DIRECTORY'] = CONFIG['MOZ_BRANDING_DIRECTORY']
  46. DEFINES['MOZILLA_UAVERSION_U'] = CONFIG['MOZILLA_UAVERSION_U']
  47. DEFINES['MOZILLA_COMPATVERSION_U'] = "52.9"