Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 307 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 318 '-Wall', | 318 '-Wall', |
| 319 '<(werror)', | 319 '<(werror)', |
| 320 '-Wno-unused-parameter', | 320 '-Wno-unused-parameter', |
| 321 '-Wno-long-long', | 321 '-Wno-long-long', |
| 322 '-pthread', | 322 '-pthread', |
| 323 '-fno-exceptions', | 323 '-fno-exceptions', |
| 324 '-pedantic', | 324 '-pedantic', |
| 325 # Don't warn about the "struct foo f = {0};" initialization pattern. | 325 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 326 '-Wno-missing-field-initializers', | 326 '-Wno-missing-field-initializers', |
| 327 ], | 327 ], |
| 328 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], | 328 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++11' ], |
| 329 'ldflags': [ '-pthread', ], | 329 'ldflags': [ '-pthread', ], |
| 330 'conditions': [ | 330 'conditions': [ |
| 331 [ 'host_arch=="ppc64"', { | 331 [ 'host_arch=="ppc64"', { |
| 332 'cflags': [ '-mminimal-toc' ], | 332 'cflags': [ '-mminimal-toc' ], |
| 333 }], | 333 }], |
| 334 [ 'visibility=="hidden" and v8_enable_backtrace==0', { | 334 [ 'visibility=="hidden" and v8_enable_backtrace==0', { |
| 335 'cflags': [ '-fvisibility=hidden' ], | 335 'cflags': [ '-fvisibility=hidden' ], |
| 336 }], | 336 }], |
| 337 [ 'component=="shared_library"', { | 337 [ 'component=="shared_library"', { |
| 338 'cflags': [ '-fPIC', ], | 338 'cflags': [ '-fPIC', ], |
| (...skipping 26 matching lines...) Expand all Loading... | |
| 365 ['OS=="qnx"', { | 365 ['OS=="qnx"', { |
| 366 'target_defaults': { | 366 'target_defaults': { |
| 367 'cflags': [ | 367 'cflags': [ |
| 368 '-Wall', | 368 '-Wall', |
| 369 '<(werror)', | 369 '<(werror)', |
| 370 '-Wno-unused-parameter', | 370 '-Wno-unused-parameter', |
| 371 '-fno-exceptions', | 371 '-fno-exceptions', |
| 372 # Don't warn about the "struct foo f = {0};" initialization pattern. | 372 # Don't warn about the "struct foo f = {0};" initialization pattern. |
| 373 '-Wno-missing-field-initializers', | 373 '-Wno-missing-field-initializers', |
| 374 ], | 374 ], |
| 375 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++0x' ], | 375 'cflags_cc': [ '-Wnon-virtual-dtor', '-fno-rtti', '-std=gnu++11' ], |
| 376 'conditions': [ | 376 'conditions': [ |
| 377 [ 'visibility=="hidden"', { | 377 [ 'visibility=="hidden"', { |
| 378 'cflags': [ '-fvisibility=hidden' ], | 378 'cflags': [ '-fvisibility=hidden' ], |
| 379 }], | 379 }], |
| 380 [ 'component=="shared_library"', { | 380 [ 'component=="shared_library"', { |
| 381 'cflags': [ '-fPIC' ], | 381 'cflags': [ '-fPIC' ], |
| 382 }], | 382 }], |
| 383 ], | 383 ], |
| 384 'target_conditions': [ | 384 'target_conditions': [ |
| 385 [ '_toolset=="host" and host_os=="linux"', { | 385 [ '_toolset=="host" and host_os=="linux"', { |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 516 }, | 516 }, |
| 517 'conditions': [ | 517 'conditions': [ |
| 518 ['werror==""', { | 518 ['werror==""', { |
| 519 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, | 519 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, |
| 520 }, { | 520 }, { |
| 521 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, | 521 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, |
| 522 }], | 522 }], |
| 523 ['clang==1', { | 523 ['clang==1', { |
| 524 'xcode_settings': { | 524 'xcode_settings': { |
| 525 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', | 525 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
| 526 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x | 526 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11 |
| 527 }, | 527 'CLANG_CXX_LIBRARY': 'libc++', # -stdlib=libc++ |
|
jamesr
2015/03/04 18:52:37
We support OS X 10.6 which doesn't support C++11,
Nico
2015/03/04 18:57:56
Yes, this won't work in a chromium build. (standal
dcarney
2015/03/04 19:40:24
okay, good to know. I was just trying to get the
| |
| 528 }, | |
| 528 }], | 529 }], |
| 529 ], | 530 ], |
| 530 'target_conditions': [ | 531 'target_conditions': [ |
| 531 ['_type!="static_library"', { | 532 ['_type!="static_library"', { |
| 532 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 533 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
| 533 }], | 534 }], |
| 534 ], # target_conditions | 535 ], # target_conditions |
| 535 }, # target_defaults | 536 }, # target_defaults |
| 536 }], # OS=="mac" | 537 }], # OS=="mac" |
| 537 ['clang==1 and "<(GENERATOR)"=="ninja"', { | 538 ['clang==1 and "<(GENERATOR)"=="ninja"', { |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 571 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { | 572 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { |
| 572 'make_global_settings': [ | 573 'make_global_settings': [ |
| 573 ['CC_wrapper', '<(gomadir)/gomacc'], | 574 ['CC_wrapper', '<(gomadir)/gomacc'], |
| 574 ['CXX_wrapper', '<(gomadir)/gomacc'], | 575 ['CXX_wrapper', '<(gomadir)/gomacc'], |
| 575 ['CC.host_wrapper', '<(gomadir)/gomacc'], | 576 ['CC.host_wrapper', '<(gomadir)/gomacc'], |
| 576 ['CXX.host_wrapper', '<(gomadir)/gomacc'], | 577 ['CXX.host_wrapper', '<(gomadir)/gomacc'], |
| 577 ], | 578 ], |
| 578 }], | 579 }], |
| 579 ], | 580 ], |
| 580 } | 581 } |
| OLD | NEW |