| Index: tools/android/memdump/memdump.gyp
|
| diff --git a/tools/android/memdump/memdump.gyp b/tools/android/memdump/memdump.gyp
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1c4234b5e2a3e2f8ce4bc9e9adbd8bd2cb8fea89
|
| --- /dev/null
|
| +++ b/tools/android/memdump/memdump.gyp
|
| @@ -0,0 +1,35 @@
|
| +# 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',
|
| + 'include_dirs': [
|
| + '../../..',
|
| + ],
|
| + 'dependencies': [
|
| + '../../../base/base.gyp:base',
|
| + '../../../third_party/re2/re2.gyp:re2',
|
| + ],
|
| + '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',
|
| + ],
|
| + },
|
| + ],
|
| +}
|
|
|