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
|
# 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.
{
'targets': [
{
'target_name': 'memdump',
'type': 'executable',
'dependencies': [
'../../../base/base.gyp:base',
],
'conditions': [
# Warning: A PIE tool cannot run on ICS 4.0.4, so only
# build it as position-independent when ASAN
# is activated. See b/6587214 for details.
[ 'asan==1', {
'cflags': [
'-fPIE',
],
'ldflags': [
'-pie',
],
}],
],
'sources': [
'memdump.cc',
],
},
],
}
|