moz.build 644 B

1234567891011121314151617181920212223242526
  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. # dummy library name to avoid skipping building the source here, which
  6. # we only need the object for.
  7. Library('elfhack_inject')
  8. DIST_INSTALL = False
  9. if CONFIG['TARGET_CPU'].endswith('86'):
  10. cpu = 'x86'
  11. elif CONFIG['TARGET_CPU'].startswith('arm'):
  12. cpu = 'arm'
  13. else:
  14. cpu = CONFIG['TARGET_CPU']
  15. SOURCES += [
  16. "!%s.c" % cpu,
  17. ]
  18. NO_PGO = True
  19. NO_VISIBILITY_FLAGS = True