| OLD | NEW |
| (Empty) | |
| 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. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'memdump', |
| 9 'type': 'executable', |
| 10 'include_dirs': [ |
| 11 '../../..', |
| 12 ], |
| 13 'dependencies': [ |
| 14 '../../../base/base.gyp:base', |
| 15 '../../../third_party/re2/re2.gyp:re2', |
| 16 ], |
| 17 'conditions': [ |
| 18 # Warning: A PIE tool cannot run on ICS 4.0.4, so only |
| 19 # build it as position-independent when ASAN |
| 20 # is activated. See b/6587214 for details. |
| 21 [ 'asan==1', { |
| 22 'cflags': [ |
| 23 '-fPIE', |
| 24 ], |
| 25 'ldflags': [ |
| 26 '-pie', |
| 27 ], |
| 28 }], |
| 29 ], |
| 30 'sources': [ |
| 31 'memdump.cc', |
| 32 ], |
| 33 }, |
| 34 ], |
| 35 } |
| OLD | NEW |