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 1016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1027 '-Wno-gnu-zero-variadic-macro-arguments', | 1027 '-Wno-gnu-zero-variadic-macro-arguments', |
1028 ], | 1028 ], |
1029 }, | 1029 }, |
1030 'conditions': [ | 1030 'conditions': [ |
1031 ['werror==""', { | 1031 ['werror==""', { |
1032 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, | 1032 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, |
1033 }, { | 1033 }, { |
1034 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, | 1034 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, |
1035 }], | 1035 }], |
1036 ['clang==1', { | 1036 ['clang==1', { |
1037 'xcode_settings': { | 1037 'xcode_settings': { |
Michael Achenbach
2016/04/28 12:08:00
I'm hesitant doing things different than in chromi
| |
1038 'CC': '<(clang_dir)/bin/clang', | |
1039 'LDPLUSPLUS': '<(clang_dir)/bin/clang++', | |
1038 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', | 1040 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', |
1039 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11 | 1041 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11 |
1042 'CLANG_CXX_LIBRARY': 'libc++' | |
1040 }, | 1043 }, |
1041 'conditions': [ | 1044 'conditions': [ |
1042 ['v8_target_arch=="x64" or v8_target_arch=="arm64" \ | 1045 ['v8_target_arch=="x64" or v8_target_arch=="arm64" \ |
1043 or v8_target_arch=="mips64el"', { | 1046 or v8_target_arch=="mips64el"', { |
1044 'xcode_settings': {'WARNING_CFLAGS': ['-Wshorten-64-to-32']}, | 1047 'xcode_settings': {'WARNING_CFLAGS': ['-Wshorten-64-to-32']}, |
1045 }], | 1048 }], |
1046 ], | 1049 ], |
1047 }], | 1050 }], |
1048 ], | 1051 ], |
1049 'target_conditions': [ | 1052 'target_conditions': [ |
(...skipping 395 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1445 '-fsanitize=cfi-vcall', | 1448 '-fsanitize=cfi-vcall', |
1446 '-fsanitize=cfi-derived-cast', | 1449 '-fsanitize=cfi-derived-cast', |
1447 '-fsanitize=cfi-unrelated-cast', | 1450 '-fsanitize=cfi-unrelated-cast', |
1448 ], | 1451 ], |
1449 }], | 1452 }], |
1450 ], | 1453 ], |
1451 }, | 1454 }, |
1452 }], | 1455 }], |
1453 ], | 1456 ], |
1454 } | 1457 } |
OLD | NEW |