summaryrefslogtreecommitdiffstats
path: root/media/webrtc/trunk/build/common_untrusted.gypi
blob: 086264e032771a26e8771a17ff7487982a633b3e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# 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': {
    'conditions': [
      ['target_arch=="arm"', {
        'variables': {
          'clang': 1,
        },
        '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',
        ],
      }],
    ],
  },
}