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

Side by Side Diff: ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp

Issue 11566017: Use --strip-debug on pnacl_irt_shim archive to reduce size of chrome bundle. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years 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 | « no previous file | no next file » | 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 'includes': [ 6 'includes': [
7 '../../../../../native_client/build/untrusted.gypi', 7 '../../../../../native_client/build/untrusted.gypi',
8 ], 8 ],
9 'targets': [ 9 'targets': [
10 { 10 {
11 'target_name': 'pnacl_irt_shim', 11 'target_name': 'pnacl_irt_shim',
12 'type': 'none', 12 'type': 'none',
13 # TODO(jvoung): should be able to --strip-debug
14 # this archive to reduce the size to 25% of what
15 # it is now.
16 'variables': { 13 'variables': {
17 'nlib_target': 'libpnacl_irt_shim.a', 14 'nlib_target': 'libpnacl_irt_shim.a',
18 'out_newlib_arm': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-arm /libpnacl_irt_shim.a', 15 'out_newlib_arm': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-arm /libpnacl_irt_shim.a',
19 'out_newlib32': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-3 2/libpnacl_irt_shim.a', 16 'out_newlib32': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-3 2/libpnacl_irt_shim.a',
20 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-6 4/libpnacl_irt_shim.a', 17 'out_newlib64': '<(SHARED_INTERMEDIATE_DIR)/tc_pnacl_translate/lib-x86-6 4/libpnacl_irt_shim.a',
21 'build_glibc': 0, 18 'build_glibc': 0,
22 'build_newlib': 1, 19 'build_newlib': 1,
23 'sources': [ 20 'sources': [
24 'pnacl_shim.c', 21 'pnacl_shim.c',
25 'shim_entry.c', 22 'shim_entry.c',
26 'shim_ppapi.c', 23 'shim_ppapi.c',
27 ], 24 ],
28 'include_dirs': [ 25 'include_dirs': [
29 '../../../..', 26 '../../../..',
30 ], 27 ],
28 'extra_args': [
29 '--strip-debug',
30 ],
31 'conditions': [ 31 'conditions': [
32 ['target_arch=="arm"', { 32 ['target_arch=="arm"', {
33 'compile_flags': [ 33 'compile_flags': [
34 '--pnacl-allow-translate', 34 '--pnacl-allow-translate',
35 '--pnacl-allow-native', 35 '--pnacl-allow-native',
36 '-arch', 'arm', 36 '-arch', 'arm',
37 ], 37 ],
38 }], 38 }],
39 ], 39 ],
40 }, 40 },
41 'dependencies': [ 41 'dependencies': [
42 '<(DEPTH)/native_client/tools.gyp:prep_toolchain', 42 '<(DEPTH)/native_client/tools.gyp:prep_toolchain',
43 ], 43 ],
44 }, 44 },
45 ], 45 ],
46 } 46 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698