[email protected] | 12d5e6f7f | 2012-08-23 21:27:45 | [diff] [blame] | 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 | |
| 5 | # This GYP file should be included for every target in Chromium that is built |
| 6 | # using the NaCl toolchain. |
| 7 | { |
| 8 | 'includes': [ |
| 9 | '../native_client/build/untrusted.gypi', |
| 10 | ], |
| 11 | 'target_defaults': { |
[email protected] | 8510d28 | 2012-08-30 19:47:38 | [diff] [blame] | 12 | 'conditions': [ |
| 13 | ['target_arch=="arm"', { |
| 14 | 'variables': { |
[email protected] | 12d5e6f7f | 2012-08-23 21:27:45 | [diff] [blame] | 15 | 'clang': 1, |
[email protected] | 8510d28 | 2012-08-30 19:47:38 | [diff] [blame] | 16 | }, |
| 17 | 'defines': [ |
| 18 | # Needed by build/build_config.h processor architecture detection. |
| 19 | '__ARMEL__', |
| 20 | # Needed by base/third_party/nspr/prtime.cc. |
| 21 | '__arm__', |
| 22 | # Disable ValGrind. The assembly code it generates causes the build |
| 23 | # to fail. |
| 24 | 'NVALGRIND', |
| 25 | ], |
| 26 | }], |
| 27 | ], |
[email protected] | 12d5e6f7f | 2012-08-23 21:27:45 | [diff] [blame] | 28 | }, |
| 29 | } |