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