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

Side by Side Diff: build/android.gypi

Issue 12248014: MIPS: Add android build support for mips in gyp. (Closed) Base URL: git://github.com/v8/v8.git@gbleed
Patch Set: Remove duplication with common.gypi, per code review. Created 7 years, 10 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 | « Makefile.android ('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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 the V8 project authors. All rights reserved.
2 # Redistribution and use in source and binary forms, with or without 2 # Redistribution and use in source and binary forms, with or without
3 # modification, are permitted provided that the following conditions are 3 # modification, are permitted provided that the following conditions are
4 # met: 4 # met:
5 # 5 #
6 # * Redistributions of source code must retain the above copyright 6 # * Redistributions of source code must retain the above copyright
7 # notice, this list of conditions and the following disclaimer. 7 # notice, this list of conditions and the following disclaimer.
8 # * Redistributions in binary form must reproduce the above 8 # * Redistributions in binary form must reproduce the above
9 # copyright notice, this list of conditions and the following 9 # copyright notice, this list of conditions and the following
10 # disclaimer in the documentation and/or other materials provided 10 # disclaimer in the documentation and/or other materials provided
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 ['target_arch=="arm" and armv7==1', { 174 ['target_arch=="arm" and armv7==1', {
175 'ldflags': [ 175 'ldflags': [
176 '-L<(android_stlport_libs)/armeabi-v7a', 176 '-L<(android_stlport_libs)/armeabi-v7a',
177 ], 177 ],
178 }], 178 }],
179 ['target_arch=="arm" and armv7==0', { 179 ['target_arch=="arm" and armv7==0', {
180 'ldflags': [ 180 'ldflags': [
181 '-L<(android_stlport_libs)/armeabi', 181 '-L<(android_stlport_libs)/armeabi',
182 ], 182 ],
183 }], 183 }],
184 ['target_arch=="mipsel"', {
185 'ldflags': [
186 '-L<(android_stlport_libs)/mips',
187 ],
188 }],
184 ['target_arch=="ia32"', { 189 ['target_arch=="ia32"', {
185 'ldflags': [ 190 'ldflags': [
186 '-L<(android_stlport_libs)/x86', 191 '-L<(android_stlport_libs)/x86',
187 ], 192 ],
188 }], 193 }],
189 ], 194 ],
190 }], 195 }],
191 ['target_arch=="ia32"', { 196 ['target_arch=="ia32"', {
192 # The x86 toolchain currently has problems with stack-protector. 197 # The x86 toolchain currently has problems with stack-protector.
193 'cflags!': [ 198 'cflags!': [
194 '-fstack-protector', 199 '-fstack-protector',
195 ], 200 ],
196 'cflags': [ 201 'cflags': [
197 '-fno-stack-protector', 202 '-fno-stack-protector',
198 ], 203 ],
199 }], 204 }],
205 ['target_arch=="mipsel"', {
206 # The mips toolchain currently has problems with stack-protector.
207 'cflags!': [
208 '-fstack-protector',
209 '-U__linux__'
210 ],
211 'cflags': [
212 '-fno-stack-protector',
213 ],
214 }],
200 ], 215 ],
201 'target_conditions': [ 216 'target_conditions': [
202 ['_type=="executable"', { 217 ['_type=="executable"', {
203 'ldflags': [ 218 'ldflags': [
204 '-Bdynamic', 219 '-Bdynamic',
205 '-Wl,-dynamic-linker,/system/bin/linker', 220 '-Wl,-dynamic-linker,/system/bin/linker',
206 '-Wl,--gc-sections', 221 '-Wl,--gc-sections',
207 '-Wl,-z,nocopyreloc', 222 '-Wl,-z,nocopyreloc',
208 # crtbegin_dynamic.o should be the last item in ldflags. 223 # crtbegin_dynamic.o should be the last item in ldflags.
209 '<(android_lib)/crtbegin_dynamic.o', 224 '<(android_lib)/crtbegin_dynamic.o',
(...skipping 25 matching lines...) Expand all
235 'ldflags!': [ 250 'ldflags!': [
236 '-Wl,-z,noexecstack', 251 '-Wl,-z,noexecstack',
237 '-Wl,--gc-sections', 252 '-Wl,--gc-sections',
238 '-Wl,-O1', 253 '-Wl,-O1',
239 '-Wl,--as-needed', 254 '-Wl,--as-needed',
240 ], 255 ],
241 }], 256 }],
242 ], # target_conditions 257 ], # target_conditions
243 }, # target_defaults 258 }, # target_defaults
244 } 259 }
OLDNEW
« no previous file with comments | « Makefile.android ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698