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

Side by Side Diff: ppapi/native_client/native_client.gyp

Issue 8538036: Revert 109764 - Fix size regression due to missing strip. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 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 | « chrome/strip_nacl_irt.py ('k') | 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) 2011 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2011 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/common.gypi', 7 '../../native_client/build/common.gypi',
8 ], 8 ],
9 'conditions': [ 9 'conditions': [
10 ['disable_nacl!=1', { 10 ['disable_nacl!=1', {
(...skipping 14 matching lines...) Expand all
25 }, 25 },
26 { 26 {
27 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64', 27 'destination': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/lib64',
28 'files': [ 28 'files': [
29 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a', 29 '<(DEPTH)/native_client/src/untrusted/irt_stub/libppapi.a',
30 ], 30 ],
31 }, 31 },
32 ], 32 ],
33 }, 33 },
34 { 34 {
35 'target_name': 'nacl_irt_unstripped', 35 'target_name': 'nacl_irt',
36 'type': 'none', 36 'type': 'none',
37 'variables': { 37 'variables': {
38 'nexe_target': 'nacl_irt', 38 'nexe_target': 'nacl_irt',
39 'out64': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_64.nexe' , 39 'out64': '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
40 'out32': '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe' , 40 'out32': '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe',
41 'build_glibc': 0, 41 'build_glibc': 0,
42 'build_newlib': 1, 42 'build_newlib': 1,
43 'include_dirs': [ 43 'include_dirs': [
44 'lib/gl/include', 44 'lib/gl/include',
45 '..', 45 '..',
46 ], 46 ],
47 # Link offsets taken from native_client/build/untrusted.gypi 47 # Link offsets taken from native_client/build/untrusted.gypi
48 'link_flags': [ 48 'link_flags': [
49 '-lirt_browser', 49 '-lirt_browser',
50 '-lppruntime', 50 '-lppruntime',
(...skipping 26 matching lines...) Expand all
77 }, 77 },
78 'dependencies': [ 78 'dependencies': [
79 'src/shared/ppapi_proxy/ppapi_proxy.gyp:ppruntime_lib', 79 'src/shared/ppapi_proxy/ppapi_proxy.gyp:ppruntime_lib',
80 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib', 80 '../../native_client/src/untrusted/irt/irt.gyp:irt_browser_lib',
81 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', 81 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib',
82 '../../native_client/src/shared/platform/platform.gyp:platform_lib', 82 '../../native_client/src/shared/platform/platform.gyp:platform_lib',
83 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', 83 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
84 '../../native_client/src/shared/gio/gio.gyp:gio_lib', 84 '../../native_client/src/shared/gio/gio.gyp:gio_lib',
85 ], 85 ],
86 }, 86 },
87 {
88 'target_name': 'nacl_irt',
89 'type': 'none',
90 'dependencies': [
91 'nacl_irt_unstripped',
92 ],
93 'conditions': [
94 ['target_arch=="ia32"', {
95 'actions': [
96 {
97 'action_name': 'strip x86-32 irt',
98 'msvs_cygwin_shell': 0,
99 'description': 'Strip x86-32 nacl_irt)',
100 'inputs': [
101 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe' ,
102 '../../chrome/strip_nacl_irt.py',
103 ],
104 'outputs': [
105 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe',
106 ],
107 'action': [
108 '>(python_exe)',
109 '../../chrome/strip_nacl_irt.py',
110 '--platform',
111 'x86-32'
112 '--src',
113 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_32.nexe' ,
114 '--dst',
115 '<(PRODUCT_DIR)/nacl_irt_x86_32.nexe'
116 ],
117 },
118 ],
119 }],
120 ['target_arch=="x64" or OS=="win"', {
121 'actions': [
122 {
123 'action_name': 'strip x86-64 irt',
124 'msvs_cygwin_shell': 0,
125 'description': 'Strip x86-64 nacl_irt)',
126 'inputs': [
127 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_64.nexe' ,
128 '../../chrome/strip_nacl_irt.py',
129 ],
130 'outputs': [
131 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe',
132 ],
133 'action': [
134 '>(python_exe)',
135 '../../chrome/strip_nacl_irt.py',
136 '--platform',
137 'x86-64',
138 '--src',
139 '<(SHARED_INTERMEDIATE_DIR)/tc_newlib/nacl_irt_x86_64.nexe' ,
140 '--dst',
141 '<(PRODUCT_DIR)/nacl_irt_x86_64.nexe'
142 ],
143 },
144 ],
145 }],
146 ],
147 },
148 ], 87 ],
149 }], 88 }],
150 ], 89 ],
151 } 90 }
OLDNEW
« no previous file with comments | « chrome/strip_nacl_irt.py ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698