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

Side by Side Diff: build/android.gypi

Issue 400573002: Reland "Remove erroneous uses of CXX / CXX_target / CXX_host from gyp." (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 6 years, 5 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 | build/toolchain.gypi » ('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 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 247 matching lines...) Expand 10 before | Expand all | Expand 10 after
258 ['_type=="static_library"', { 258 ['_type=="static_library"', {
259 'ldflags': [ 259 'ldflags': [
260 # Don't export symbols from statically linked libraries. 260 # Don't export symbols from statically linked libraries.
261 '-Wl,--exclude-libs=ALL', 261 '-Wl,--exclude-libs=ALL',
262 ], 262 ],
263 }], 263 }],
264 ], 264 ],
265 }], # _toolset=="target" 265 }], # _toolset=="target"
266 # Settings for building host targets using the system toolchain. 266 # Settings for building host targets using the system toolchain.
267 ['_toolset=="host"', { 267 ['_toolset=="host"', {
268 'conditions': [ 268 'cflags': [ '-pthread' ],
269 ['target_arch=="x64"', { 269 'ldflags': [ '-pthread' ],
270 'cflags': [ '-m64', '-pthread' ],
271 'ldflags': [ '-m64', '-pthread' ],
272 }, {
273 'cflags': [ '-m32', '-pthread' ],
274 'ldflags': [ '-m32', '-pthread' ],
275 }],
276 ],
277 'ldflags!': [ 270 'ldflags!': [
278 '-Wl,-z,noexecstack', 271 '-Wl,-z,noexecstack',
279 '-Wl,--gc-sections', 272 '-Wl,--gc-sections',
280 '-Wl,-O1', 273 '-Wl,-O1',
281 '-Wl,--as-needed', 274 '-Wl,--as-needed',
282 ], 275 ],
283 }], 276 }],
284 ], # target_conditions 277 ], # target_conditions
285 }, # target_defaults 278 }, # target_defaults
286 } 279 }
OLDNEW
« no previous file with comments | « no previous file | build/toolchain.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698