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

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

Issue 287513002: [Android] Build android tools as PIE and add a wrapper for ICS (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 7 months 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/forwarder2/forwarder.gyp ('k') | tools/android/ps_ext/ps_ext.gyp » ('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 (c) 2012 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-unstripped', 8 'target_name': 'memdump-unstripped',
9 'type': 'executable', 9 'type': 'executable',
10 'dependencies': [ 10 'dependencies': [
11 '../../../base/base.gyp:base', 11 '../../../base/base.gyp:base',
12 ], 12 ],
13 'conditions': [
14 # Warning: A PIE tool cannot run on ICS 4.0.4, so only
15 # build it as position-independent when ASAN
16 # is activated. See b/6587214 for details.
17 [ 'asan==1', {
18 'cflags': [
19 '-fPIE',
20 ],
21 'ldflags': [
22 '-pie',
23 ],
24 }],
25 ],
26 'sources': [ 13 'sources': [
27 'memdump.cc', 14 'memdump.cc',
28 ], 15 ],
29 }, 16 },
30 { 17 {
31 'target_name': 'memdump', 18 'target_name': 'memdump',
32 'type': 'none', 19 'type': 'none',
33 'dependencies': [ 20 'dependencies': [
34 'memdump-unstripped', 21 'memdump-unstripped',
35 ], 22 ],
36 'actions': [ 23 'actions': [
37 { 24 {
38 'action_name': 'strip_memdump', 25 'action_name': 'strip_memdump',
39 'inputs': ['<(PRODUCT_DIR)/memdump-unstripped'], 26 'inputs': ['<(PRODUCT_DIR)/memdump-unstripped'],
40 'outputs': ['<(PRODUCT_DIR)/memdump'], 27 'outputs': ['<(PRODUCT_DIR)/memdump'],
41 'action': [ 28 'action': [
42 '<(android_strip)', 29 '<(android_strip)',
43 '--strip-unneeded', 30 '--strip-unneeded',
44 '<@(_inputs)', 31 '<@(_inputs)',
45 '-o', 32 '-o',
46 '<@(_outputs)', 33 '<@(_outputs)',
47 ], 34 ],
48 }, 35 },
49 ], 36 ],
50 }, 37 },
51 ], 38 ],
52 } 39 }
OLDNEW
« no previous file with comments | « tools/android/forwarder2/forwarder.gyp ('k') | tools/android/ps_ext/ps_ext.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698