common_untrusted.gypi 824 B

1234567891011121314151617181920212223242526272829
  1. # Copyright (c) 2012 The Chromium Authors. All rights reserved.
  2. # Use of this source code is governed by a BSD-style license that can be
  3. # found in the LICENSE file.
  4. # This GYP file should be included for every target in Chromium that is built
  5. # using the NaCl toolchain.
  6. {
  7. 'includes': [
  8. '../native_client/build/untrusted.gypi',
  9. ],
  10. 'target_defaults': {
  11. 'conditions': [
  12. ['target_arch=="arm"', {
  13. 'variables': {
  14. 'clang': 1,
  15. },
  16. 'defines': [
  17. # Needed by build/build_config.h processor architecture detection.
  18. '__ARMEL__',
  19. # Needed by base/third_party/nspr/prtime.cc.
  20. '__arm__',
  21. # Disable ValGrind. The assembly code it generates causes the build
  22. # to fail.
  23. 'NVALGRIND',
  24. ],
  25. }],
  26. ],
  27. },
  28. }