moz.build 843 B

1234567891011121314151617181920212223242526272829303132333435
  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. EXPORTS += ['nsBrowserCompsCID.h']
  6. SOURCES += ['nsModule.cpp']
  7. XPCOMBinaryComponent('browsercomps')
  8. LOCAL_INCLUDES += [
  9. '../dirprovider',
  10. '../feeds',
  11. '../shell',
  12. ]
  13. if CONFIG['OS_ARCH'] == 'WINNT':
  14. OS_LIBS += [
  15. 'esent',
  16. 'netapi32',
  17. 'ole32',
  18. 'shell32',
  19. 'shlwapi',
  20. 'version',
  21. ]
  22. DELAYLOAD_DLLS += [
  23. 'esent.dll',
  24. 'netapi32.dll',
  25. ]
  26. # GTK: Need to link with glib for GNOME shell service
  27. if CONFIG['MOZ_WIDGET_TOOLKIT'] in ('gtk2', 'gtk3'):
  28. OS_LIBS += CONFIG['TK_LIBS']