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

Side by Side Diff: tools/android/ps_ext/ps_ext.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/memdump/memdump.gyp ('k') | tools/android/purge_ashmem/purge_ashmem.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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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': 'ps_ext-unstripped', 8 'target_name': 'ps_ext-unstripped',
9 'type': 'executable', 9 'type': 'executable',
10 'conditions': [
11 # Warning: A PIE tool cannot run on ICS 4.0.4, so only
12 # build it as position-independent when ASAN
13 # is activated. See b/6587214 for details.
14 [ 'asan==1', {
15 'cflags': [
16 '-fPIE',
17 ],
18 'ldflags': [
19 '-pie',
20 ],
21 }],
22 ],
23 'sources': [ 10 'sources': [
24 'ps_ext.c', 11 'ps_ext.c',
25 ], 12 ],
26 }, 13 },
27 { 14 {
28 'target_name': 'ps_ext', 15 'target_name': 'ps_ext',
29 'type': 'none', 16 'type': 'none',
30 'dependencies': [ 17 'dependencies': [
31 'ps_ext-unstripped', 18 'ps_ext-unstripped',
32 ], 19 ],
33 'actions': [ 20 'actions': [
34 { 21 {
35 'action_name': 'strip_ps_ext', 22 'action_name': 'strip_ps_ext',
36 'inputs': ['<(PRODUCT_DIR)/ps_ext-unstripped'], 23 'inputs': ['<(PRODUCT_DIR)/ps_ext-unstripped'],
37 'outputs': ['<(PRODUCT_DIR)/ps_ext'], 24 'outputs': ['<(PRODUCT_DIR)/ps_ext'],
38 'action': [ 25 'action': [
39 '<(android_strip)', 26 '<(android_strip)',
40 '--strip-unneeded', 27 '--strip-unneeded',
41 '<@(_inputs)', 28 '<@(_inputs)',
42 '-o', 29 '-o',
43 '<@(_outputs)', 30 '<@(_outputs)',
44 ], 31 ],
45 }, 32 },
46 ], 33 ],
47 }, 34 },
48 ], 35 ],
49 } 36 }
OLDNEW
« no previous file with comments | « tools/android/memdump/memdump.gyp ('k') | tools/android/purge_ashmem/purge_ashmem.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698