michael@0: # Copyright (c) 2012 The Chromium Authors. All rights reserved. michael@0: # Use of this source code is governed by a BSD-style license that can be michael@0: # found in the LICENSE file. michael@0: michael@0: # This GYP file should be included for every target in Chromium that is built michael@0: # using the NaCl toolchain. michael@0: { michael@0: 'includes': [ michael@0: '../native_client/build/untrusted.gypi', michael@0: ], michael@0: 'target_defaults': { michael@0: 'conditions': [ michael@0: ['target_arch=="arm"', { michael@0: 'variables': { michael@0: 'clang': 1, michael@0: }, michael@0: 'defines': [ michael@0: # Needed by build/build_config.h processor architecture detection. michael@0: '__ARMEL__', michael@0: # Needed by base/third_party/nspr/prtime.cc. michael@0: '__arm__', michael@0: # Disable ValGrind. The assembly code it generates causes the build michael@0: # to fail. michael@0: 'NVALGRIND', michael@0: ], michael@0: }], michael@0: ], michael@0: }, michael@0: }