moz.build 751 B

12345678910111213141516171819202122232425262728293031323334
  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. toolkit = CONFIG['MOZ_WIDGET_TOOLKIT']
  6. if 'gtk' in toolkit:
  7. DIRS += ['atk']
  8. elif toolkit == 'windows':
  9. DIRS += ['windows']
  10. else:
  11. DIRS += ['other']
  12. DIRS += [ 'aom',
  13. 'base',
  14. 'generic',
  15. 'html',
  16. 'interfaces',
  17. 'ipc',
  18. 'jsat',
  19. 'xpcom'
  20. ]
  21. if CONFIG['MOZ_XUL']:
  22. DIRS += ['xul']
  23. TEST_DIRS += ['tests/mochitest']
  24. BROWSER_CHROME_MANIFESTS += [
  25. 'tests/browser/browser.ini',
  26. 'tests/browser/e10s/browser.ini'
  27. ]