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

Side by Side Diff: build/common.gypi

Issue 9808065: Add support for Mac OS X 64bit builds with GYP (Closed) Base URL: git://github.com/v8/v8.git@bleeding_edge
Patch Set: Fixed typo in commit message Created 8 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
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 301 matching lines...) Expand 10 before | Expand all | Expand 10 after
312 ['OS=="freebsd" or OS=="openbsd"', { 312 ['OS=="freebsd" or OS=="openbsd"', {
313 'cflags': [ '-I/usr/local/include' ], 313 'cflags': [ '-I/usr/local/include' ],
314 }], 314 }],
315 ['OS=="netbsd"', { 315 ['OS=="netbsd"', {
316 'cflags': [ '-I/usr/pkg/include' ], 316 'cflags': [ '-I/usr/pkg/include' ],
317 }], 317 }],
318 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { 318 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
319 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', 319 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter',
320 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], 320 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ],
321 }], 321 }],
322 ['OS=="mac" and target_arch=="ia32"', {
Jakob Kummerow 2012/03/28 16:08:51 Since these definitions (here and below) are indep
323 'xcode_settings': {
324 'ARCHS': ['i386']
325 }
326 }],
327 ['OS=="mac" and target_arch=="x64"', {
328 'xcode_settings': {
329 'ARCHS': ['x86_64']
330 }
331 }],
322 ], 332 ],
323 }, # Debug 333 }, # Debug
324 'Release': { 334 'Release': {
325 'conditions': [ 335 'conditions': [
326 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \ 336 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd" \
327 or OS=="android"', { 337 or OS=="android"', {
328 'cflags!': [ 338 'cflags!': [
329 '-O2', 339 '-O2',
330 '-Os', 340 '-Os',
331 ], 341 ],
(...skipping 21 matching lines...) Expand all
353 ['OS=="mac"', { 363 ['OS=="mac"', {
354 'xcode_settings': { 364 'xcode_settings': {
355 'GCC_OPTIMIZATION_LEVEL': '3', # -O3 365 'GCC_OPTIMIZATION_LEVEL': '3', # -O3
356 366
357 # -fstrict-aliasing. Mainline gcc 367 # -fstrict-aliasing. Mainline gcc
358 # enables this at -O2 and above, 368 # enables this at -O2 and above,
359 # but Apple gcc does not unless it 369 # but Apple gcc does not unless it
360 # is specified explicitly. 370 # is specified explicitly.
361 'GCC_STRICT_ALIASING': 'YES', 371 'GCC_STRICT_ALIASING': 'YES',
362 }, 372 },
373 'conditions': [
374 ['target_arch=="ia32"', {
375 'xcode_settings': {
376 'ARCHS': ['i386']
377 }
378 }],
379 ['target_arch=="x64"', {
380 'xcode_settings': {
381 'ARCHS': ['x86_64']
382 }
383 }],
384 ],
363 }], # OS=="mac" 385 }], # OS=="mac"
364 ['OS=="win"', { 386 ['OS=="win"', {
365 'msvs_configuration_attributes': { 387 'msvs_configuration_attributes': {
366 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)', 388 'OutputDirectory': '<(DEPTH)\\build\\$(ConfigurationName)',
367 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)', 389 'IntermediateDirectory': '$(OutDir)\\obj\\$(ProjectName)',
368 'CharacterSet': '1', 390 'CharacterSet': '1',
369 }, 391 },
370 'msvs_settings': { 392 'msvs_settings': {
371 'VCCLCompilerTool': { 393 'VCCLCompilerTool': {
372 'Optimization': '2', 394 'Optimization': '2',
(...skipping 21 matching lines...) Expand all
394 # some test cases can cause stack overflow. 416 # some test cases can cause stack overflow.
395 # 'StackReserveSize': '297152', 417 # 'StackReserveSize': '297152',
396 }, 418 },
397 }, 419 },
398 }], # OS=="win" 420 }], # OS=="win"
399 ], # conditions 421 ], # conditions
400 }, # Release 422 }, # Release
401 }, # configurations 423 }, # configurations
402 }, # target_defaults 424 }, # target_defaults
403 } 425 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698