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 769 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
780 ['werror==""', { | 780 ['werror==""', { |
781 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, | 781 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, |
782 }, { | 782 }, { |
783 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, | 783 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, |
784 }], | 784 }], |
785 ['clang==1', { | 785 ['clang==1', { |
786 'xcode_settings': { | 786 'xcode_settings': { |
787 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', | 787 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
788 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x | 788 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x |
789 }, | 789 }, |
| 790 'conditions': [ |
| 791 ['v8_target_arch=="x64" or v8_target_arch=="arm64" \ |
| 792 or v8_target_arch=="mips64el"', { |
| 793 'xcode_settings': {'WARNING_CFLAGS': ['-Wshorten-64-to-32']}, |
| 794 }], |
| 795 ], |
790 }], | 796 }], |
791 ], | 797 ], |
792 'target_conditions': [ | 798 'target_conditions': [ |
793 ['_type!="static_library"', { | 799 ['_type!="static_library"', { |
794 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, | 800 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, |
795 }], | 801 }], |
796 ], # target_conditions | 802 ], # target_conditions |
797 }, # target_defaults | 803 }, # target_defaults |
798 }], # OS=="mac" | 804 }], # OS=="mac" |
799 ['OS=="android"', { | 805 ['OS=="android"', { |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1055 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { | 1061 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { |
1056 'make_global_settings': [ | 1062 'make_global_settings': [ |
1057 ['CC_wrapper', '<(gomadir)/gomacc'], | 1063 ['CC_wrapper', '<(gomadir)/gomacc'], |
1058 ['CXX_wrapper', '<(gomadir)/gomacc'], | 1064 ['CXX_wrapper', '<(gomadir)/gomacc'], |
1059 ['CC.host_wrapper', '<(gomadir)/gomacc'], | 1065 ['CC.host_wrapper', '<(gomadir)/gomacc'], |
1060 ['CXX.host_wrapper', '<(gomadir)/gomacc'], | 1066 ['CXX.host_wrapper', '<(gomadir)/gomacc'], |
1061 ], | 1067 ], |
1062 }], | 1068 }], |
1063 ], | 1069 ], |
1064 } | 1070 } |
OLD | NEW |