Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(11)

Side by Side Diff: tools/android/purge_ashmem/purge_ashmem.gyp

Issue 52833002: Purge unpinned ashmem before parsing /proc/$pid/smaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update documentation Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/android/purge_ashmem/purge_ashmem.c ('k') | tools/bisect-perf-regression.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 'target_name': 'memdump', 8 'target_name': 'purge_ashmem',
9 'type': 'executable', 9 'type': 'executable',
10 'dependencies': [ 10 'dependencies': [
11 '../../../base/base.gyp:base', 11 '../../../third_party/ashmem/ashmem.gyp:ashmem',
12 ],
13 'include_dirs': [
14 '../../../',
12 ], 15 ],
13 'conditions': [ 16 'conditions': [
14 # Warning: A PIE tool cannot run on ICS 4.0.4, so only 17 # Warning: A PIE tool cannot run on ICS 4.0.4, so only
15 # build it as position-independent when ASAN 18 # build it as position-independent when ASAN
16 # is activated. See b/6587214 for details. 19 # is activated. See b/6587214 for details.
17 [ 'asan==1', { 20 [ 'asan==1', {
18 'cflags': [ 21 'cflags': [
19 '-fPIE', 22 '-fPIE',
20 ], 23 ],
21 'ldflags': [ 24 'ldflags': [
22 '-pie', 25 '-pie',
23 ], 26 ],
24 }], 27 }],
25 ], 28 ],
26 'sources': [ 29 'sources': [
27 'memdump.cc', 30 'purge_ashmem.c',
28 ], 31 ],
29 }, 32 },
30 ], 33 ],
31 } 34 }
OLDNEW
« no previous file with comments | « tools/android/purge_ashmem/purge_ashmem.c ('k') | tools/bisect-perf-regression.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698