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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
|
# Copyright (c) 2012 The Native Client Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'includes': [
'../../../build/common.gypi',
],
'conditions': [
['target_arch!="arm"', {
'targets' : [
{
'target_name': 'valgrind_lib',
'type': 'none',
'dependencies': [
'<(DEPTH)/native_client/tools.gyp:prep_toolchain',
],
'variables': {
'nlib_target': 'libvalgrind.a',
'nso_target': 'libvalgrind.so',
'build_glibc': 1,
'build_newlib': 1,
},
'sources': [
'valgrind_interceptors.c',
],
},
{
'target_name': 'dynamic_annotations_lib',
'type': 'none',
'dependencies': [
'<(DEPTH)/native_client/tools.gyp:prep_toolchain',
],
'variables': {
'nlib_target': 'libdynamic_annotations.a',
'nso_target': 'libdynamic_annotations.so',
'build_glibc': 1,
'build_newlib': 0,
},
'sources': [
'dynamic_annotations.c',
],
}
],
}],
],
}
|