moz.build 1018 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  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. with Files('**'):
  6. BUG_COMPONENT = ('Mozilla Services', 'Firefox: Common')
  7. TEST_DIRS += ['tests']
  8. EXTRA_COMPONENTS += [
  9. 'servicesComponents.manifest',
  10. ]
  11. EXTRA_JS_MODULES['services-common'] += [
  12. 'async.js',
  13. 'logmanager.js',
  14. 'observers.js',
  15. 'rest.js',
  16. 'stringbundle.js',
  17. 'utils.js',
  18. ]
  19. if CONFIG['MOZ_WIDGET_TOOLKIT'] != 'android':
  20. EXTRA_JS_MODULES['services-common'] += [
  21. 'hawkclient.js',
  22. 'hawkrequest.js',
  23. 'tokenserverclient.js',
  24. ]
  25. TESTING_JS_MODULES.services.common += [
  26. 'modules-testing/storageserver.js',
  27. ]
  28. TESTING_JS_MODULES.services.common += [
  29. 'modules-testing/logging.js',
  30. 'modules-testing/utils.js',
  31. ]
  32. JS_PREFERENCE_FILES += [
  33. 'services-common.js',
  34. ]