moz.build 812 B

12345678910111213141516171819202122232425262728293031
  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. EXTRA_COMPONENTS += [
  6. 'nsDNSServiceDiscovery.js',
  7. 'nsDNSServiceDiscovery.manifest',
  8. ]
  9. EXTRA_JS_MODULES += [
  10. 'fallback/DataReader.jsm',
  11. 'fallback/DataWriter.jsm',
  12. 'fallback/DNSPacket.jsm',
  13. 'fallback/DNSRecord.jsm',
  14. 'fallback/DNSResourceRecord.jsm',
  15. 'fallback/DNSTypes.jsm',
  16. 'fallback/MulticastDNS.jsm',
  17. ]
  18. SOURCES += [
  19. 'nsDNSServiceInfo.cpp',
  20. 'nsMulticastDNSModule.cpp',
  21. ]
  22. include('/ipc/chromium/chromium-config.mozbuild')
  23. FINAL_LIBRARY = 'xul'
  24. if CONFIG['GNU_CXX']:
  25. CXXFLAGS += ['-Wno-error=shadow']