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

Side by Side Diff: build/common.gypi

Issue 10383128: Prepare for using GYP build on buildbots (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: addressed comments Created 8 years, 7 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 | « SConstruct ('k') | build/gyp_v8 » ('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 262 matching lines...) Expand 10 before | Expand all | Expand 10 after
273 'WIN32', 273 'WIN32',
274 ], 274 ],
275 }], 275 }],
276 ['OS=="win" and v8_enable_prof==1', { 276 ['OS=="win" and v8_enable_prof==1', {
277 'msvs_settings': { 277 'msvs_settings': {
278 'VCLinkerTool': { 278 'VCLinkerTool': {
279 'GenerateMapFile': 'true', 279 'GenerateMapFile': 'true',
280 }, 280 },
281 }, 281 },
282 }], 282 }],
283 ['OS=="win" and v8_target_arch=="x64"', {
284 'msvs_settings': {
285 'VCLinkerTool': {
286 'StackReserveSize': '2097152',
287 },
288 },
289 }],
283 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \ 290 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris" \
284 or OS=="netbsd"', { 291 or OS=="netbsd"', {
285 'conditions': [ 292 'conditions': [
286 [ 'v8_target_arch!="x64"', { 293 [ 'v8_target_arch!="x64"', {
287 # Pass -m32 to the compiler iff it understands the flag. 294 # Pass -m32 to the compiler iff it understands the flag.
288 'variables': { 295 'variables': {
289 'm32flag': '<!((echo | $(echo ${CXX:-$(which g++)}) -m32 -E - > /d ev/null 2>&1) && echo -n "-m32" || true)', 296 'm32flag': '<!((echo | $(echo ${CXX:-$(which g++)}) -m32 -E - > /d ev/null 2>&1) && echo -n "-m32" || true)',
290 }, 297 },
291 'cflags': [ '<(m32flag)' ], 298 'cflags': [ '<(m32flag)' ],
292 'ldflags': [ '<(m32flag)' ], 299 'ldflags': [ '<(m32flag)' ],
(...skipping 22 matching lines...) Expand all
315 'conditions': [ 322 'conditions': [
316 ['OS=="win" and component=="shared_library"', { 323 ['OS=="win" and component=="shared_library"', {
317 'RuntimeLibrary': '3', # /MDd 324 'RuntimeLibrary': '3', # /MDd
318 }, { 325 }, {
319 'RuntimeLibrary': '1', # /MTd 326 'RuntimeLibrary': '1', # /MTd
320 }], 327 }],
321 ], 328 ],
322 }, 329 },
323 'VCLinkerTool': { 330 'VCLinkerTool': {
324 'LinkIncremental': '2', 331 'LinkIncremental': '2',
325 # For future reference, the stack size needs to be increased
326 # when building for Windows 64-bit, otherwise some test cases
327 # can cause stack overflow.
328 # 'StackReserveSize': '297152',
329 }, 332 },
330 }, 333 },
331 'conditions': [ 334 'conditions': [
332 ['OS=="freebsd" or OS=="openbsd"', { 335 ['OS=="freebsd" or OS=="openbsd"', {
333 'cflags': [ '-I/usr/local/include' ], 336 'cflags': [ '-I/usr/local/include' ],
334 }], 337 }],
335 ['OS=="netbsd"', { 338 ['OS=="netbsd"', {
336 'cflags': [ '-I/usr/pkg/include' ], 339 'cflags': [ '-I/usr/pkg/include' ],
337 }], 340 }],
338 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 341 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
400 ['OS=="win" and component=="shared_library"', { 403 ['OS=="win" and component=="shared_library"', {
401 'RuntimeLibrary': '2', #/MD 404 'RuntimeLibrary': '2', #/MD
402 }, { 405 }, {
403 'RuntimeLibrary': '0', #/MT 406 'RuntimeLibrary': '0', #/MT
404 }], 407 }],
405 ], 408 ],
406 }, 409 },
407 'VCLinkerTool': { 410 'VCLinkerTool': {
408 'LinkIncremental': '1', 411 'LinkIncremental': '1',
409 'OptimizeReferences': '2', 412 'OptimizeReferences': '2',
410 'OptimizeForWindows98': '1',
411 'EnableCOMDATFolding': '2', 413 'EnableCOMDATFolding': '2',
412 # For future reference, the stack size needs to be
413 # increased when building for Windows 64-bit, otherwise
414 # some test cases can cause stack overflow.
415 # 'StackReserveSize': '297152',
416 }, 414 },
417 }, 415 },
418 }], # OS=="win" 416 }], # OS=="win"
419 ], # conditions 417 ], # conditions
420 }, # Release 418 }, # Release
421 }, # configurations 419 }, # configurations
422 }, # target_defaults 420 }, # target_defaults
423 } 421 }
OLDNEW
« no previous file with comments | « SConstruct ('k') | build/gyp_v8 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698