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

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

Issue 951983002: Reland "Enable libc++ on Android" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix clang+mesa Created 5 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
« no previous file with comments | « third_party/re2/util/util.h ('k') | tools/clang/scripts/update.sh » ('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': 'run_pie-unstripped', 8 'target_name': 'run_pie-unstripped',
9 'type': 'executable', 9 'type': 'executable',
10 'sources': [ 10 'sources': [
11 'run_pie.c', 11 'run_pie.c',
12 ], 12 ],
13 # See crbug.com/373219. This is the only Android executable which must be 13 # See crbug.com/373219. This is the only Android executable which must be
14 # non PIE. 14 # non PIE.
15 'cflags!': [ 15 'cflags!': [
16 '-fPIE', 16 '-fPIE',
17 ], 17 ],
18 'ldflags!': [ 18 'ldflags!': [
19 '-pie', 19 '-pie',
20 ], 20 ],
21 # Don't inherit unneeded dependencies on stlport.so, so the binary remains 21 # Don't inherit unneeded dependencies on libc++, so the binary remains
22 # self-contained also in component=shared_library builds. 22 # self-contained also in component=shared_library builds.
23 'libraries!': [ 23 'libraries!': [
24 '-l<(android_stlport_library)', 24 '-l<(android_libcpp_library)',
25 ], 25 ],
26 }, 26 },
27 { 27 {
28 'target_name': 'run_pie', 28 'target_name': 'run_pie',
29 'type': 'none', 29 'type': 'none',
30 'dependencies': [ 30 'dependencies': [
31 'run_pie-unstripped', 31 'run_pie-unstripped',
32 ], 32 ],
33 'actions': [ 33 'actions': [
34 { 34 {
35 'action_name': 'strip_run_pie', 35 'action_name': 'strip_run_pie',
36 'inputs': ['<(PRODUCT_DIR)/run_pie-unstripped'], 36 'inputs': ['<(PRODUCT_DIR)/run_pie-unstripped'],
37 'outputs': ['<(PRODUCT_DIR)/run_pie'], 37 'outputs': ['<(PRODUCT_DIR)/run_pie'],
38 'action': [ 38 'action': [
39 '<(android_strip)', 39 '<(android_strip)',
40 '--strip-unneeded', 40 '--strip-unneeded',
41 '<@(_inputs)', 41 '<@(_inputs)',
42 '-o', 42 '-o',
43 '<@(_outputs)', 43 '<@(_outputs)',
44 ], 44 ],
45 }, 45 },
46 ], 46 ],
47 }, 47 },
48 ], 48 ],
49 } 49 }
OLDNEW
« no previous file with comments | « third_party/re2/util/util.h ('k') | tools/clang/scripts/update.sh » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698