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

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

Issue 13129002: Update NaCl ARM build flags now that gcc used as default compiler. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 9 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 | « no previous file | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.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 'includes': [ 6 'includes': [
7 '../../build/common_untrusted.gypi', 7 '../../build/common_untrusted.gypi',
8 ], 8 ],
9 'conditions': [ 9 'conditions': [
10 ['disable_nacl==0 and disable_nacl_untrusted==0', { 10 ['disable_nacl==0 and disable_nacl_untrusted==0', {
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
107 '-lgpu_ipc_untrusted', 107 '-lgpu_ipc_untrusted',
108 '-lipc_untrusted', 108 '-lipc_untrusted',
109 '-lbase_untrusted', 109 '-lbase_untrusted',
110 '-lshared_memory_support_untrusted', 110 '-lshared_memory_support_untrusted',
111 '-lsrpc', 111 '-lsrpc',
112 '-limc_syscalls', 112 '-limc_syscalls',
113 '-lplatform', 113 '-lplatform',
114 '-lgio', 114 '-lgio',
115 '-Wl,--end-group', 115 '-Wl,--end-group',
116 '-lm', 116 '-lm',
117 '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
118 '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)',
117 ], 119 ],
118 # See http://code.google.com/p/nativeclient/issues/detail?id=2691.
119 # The PNaCl linker (gold) does not implement the "-Ttext-segment"
120 # option. However, with the linker for x86, the "-Ttext" option
121 # does not affect the executable's base address.
122 # TODO(olonho): simplify flags handling and avoid duplication
123 # with NaCl logic.
124 'conditions': [ 120 'conditions': [
125 ['target_arch!="arm"', 121 ['target_arch=="arm"',
126 { 122 { # TODO(mcgrathr): This knowledge really belongs in
127 'link_flags': [
128 '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
129 '-Wl,-Ttext-segment=<(NACL_IRT_TEXT_START)',
130 ]
131 }, { # target_arch == "arm"
132 # TODO(mcgrathr): This knowledge really belongs in
133 # native_client/src/untrusted/irt/irt.gyp instead of here. 123 # native_client/src/untrusted/irt/irt.gyp instead of here.
134 # But that builds libirt_browser.a as bitcode, so a native 124 # But that builds libirt_browser.a as bitcode, so a native
135 # object does not fit happily there. 125 # object does not fit happily there.
136 'sources': [ 126 'sources': [
137 '../../native_client/src/untrusted/irt/aeabi_read_tp.S', 127 '../../native_client/src/untrusted/irt/aeabi_read_tp.S',
Derek Schuff 2013/03/29 05:43:36 This should probably still be moved to irt.gyp per
Sam Clegg 2013/03/29 18:29:21 Done.
138 ], 128 ],
139 'link_flags': [
140 '-Wl,--section-start,.rodata=<(NACL_IRT_DATA_START)',
141 '-Wl,-Ttext=<(NACL_IRT_TEXT_START)',
142 '--pnacl-allow-native',
143 '-arch', 'arm',
144 '-Wt,-mtls-use-call',
145 '-Wl,--pnacl-irt-link',
146 ],
147 }, 129 },
148 ], 130 ],
149 # untrusted.gypi and build_nexe.py currently build 131 # untrusted.gypi and build_nexe.py currently build
150 # both x86-32 and x86-64 whenever target_arch is some 132 # both x86-32 and x86-64 whenever target_arch is some
151 # flavor of x86. However, on non-windows platforms 133 # flavor of x86. However, on non-windows platforms
152 # we only need one architecture. 134 # we only need one architecture.
153 ['OS!="win" and target_arch=="ia32"', 135 ['OS!="win" and target_arch=="ia32"',
154 { 136 {
155 'enable_x86_64': 0 137 'enable_x86_64': 0
156 } 138 }
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
327 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib', 309 '../../native_client/src/shared/srpc/srpc.gyp:srpc_lib',
328 '../../native_client/src/shared/platform/platform.gyp:platform_lib', 310 '../../native_client/src/shared/platform/platform.gyp:platform_lib',
329 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib', 311 '../../native_client/src/untrusted/nacl/nacl.gyp:imc_syscalls_lib',
330 '../../native_client/src/shared/gio/gio.gyp:gio_lib', 312 '../../native_client/src/shared/gio/gio.gyp:gio_lib',
331 ], 313 ],
332 }, 314 },
333 ], 315 ],
334 }], 316 }],
335 ], 317 ],
336 } 318 }
OLDNEW
« no previous file with comments | « no previous file | ppapi/native_client/src/untrusted/pnacl_irt_shim/pnacl_irt_shim.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698