Roll src/third_party/WebKit fa9891a:39f20ce (svn 202560:202561)
[chromium-blink-merge.git] / build / common_untrusted.gypi
blobbcc368646bce021fad55a20d5594cb5a993bdda2
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.
5 # This GYP file should be included for every target in Chromium that is built
6 # using the NaCl toolchain.
8   'includes': [
9     '../native_client/build/untrusted.gypi',
10   ],
11   'target_defaults': {
12     'conditions': [
13       # TODO(bradnelson): Drop this once the nacl side does the same.
14       ['target_arch=="x64"', {
15         'variables': {
16           'enable_x86_32': 0,
17         },
18       }],
19       ['target_arch=="ia32" and OS!="win"', {
20         'variables': {
21           'enable_x86_64': 0,
22         },
23       }],
24       ['target_arch=="arm"', {
25         'variables': {
26           'clang': 1,
27         },
28         'defines': [
29           # Needed by build/build_config.h processor architecture detection.
30           '__ARMEL__',
31           # Needed by base/third_party/nspr/prtime.cc.
32           '__arm__',
33           # Disable ValGrind. The assembly code it generates causes the build
34           # to fail.
35           'NVALGRIND',
36         ],
37       }],
38     ],
39   },