moz.build 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. # -*- Mode: python; 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. if CONFIG['MOZ_PHOENIX']:
  6. DEFINES['MOZ_BUILD_APP_IS_BROWSER'] = True
  7. XPIDL_SOURCES += [
  8. 'nsILoginInfo.idl',
  9. 'nsILoginManager.idl',
  10. 'nsILoginManagerCrypto.idl',
  11. 'nsILoginManagerPrompter.idl',
  12. 'nsILoginManagerStorage.idl',
  13. 'nsILoginMetaInfo.idl',
  14. ]
  15. XPIDL_MODULE = 'loginmgr'
  16. EXTRA_COMPONENTS += [
  17. 'crypto-SDR.js',
  18. 'nsLoginInfo.js',
  19. 'nsLoginManager.js',
  20. 'nsLoginManagerPrompter.js',
  21. 'passwordmgr.manifest'
  22. ]
  23. EXTRA_JS_MODULES += [
  24. 'InsecurePasswordUtils.jsm',
  25. 'LoginHelper.jsm',
  26. 'LoginManagerContent.jsm',
  27. 'LoginManagerParent.jsm',
  28. 'LoginRecipes.jsm',
  29. ]
  30. EXTRA_PP_JS_MODULES += ['OSCrypto.jsm']
  31. EXTRA_COMPONENTS += [
  32. 'storage-json.js',
  33. ]
  34. EXTRA_JS_MODULES += [
  35. 'LoginImport.jsm',
  36. 'LoginStore.jsm',
  37. ]
  38. if CONFIG['OS_TARGET'] == 'WINNT':
  39. EXTRA_JS_MODULES += [
  40. 'OSCrypto_win.js',
  41. ]
  42. if CONFIG['MOZ_PHOENIX']:
  43. EXTRA_JS_MODULES += [
  44. 'LoginManagerContextMenu.jsm',
  45. ]
  46. JAR_MANIFESTS += ['jar.mn']