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

Side by Side Diff: build/standalone.gypi

Issue 1926633004: Use third_party clang on Mac. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Tie it to clang_xcode. Created 4 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
« no previous file with comments | « no previous file | no next file » | 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 1021 matching lines...) Expand 10 before | Expand all | Expand 10 after
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': {
1038 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 1038 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
1039 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11 1039 'CLANG_CXX_LANGUAGE_STANDARD': 'c++11', # -std=c++11
1040 }, 1040 },
1041 'conditions': [ 1041 'conditions': [
1042 ['clang_xcode==0', {
1043 'xcode_settings': {
1044 'CC': '<(clang_dir)/bin/clang',
1045 'LDPLUSPLUS': '<(clang_dir)/bin/clang++',
1046 'CLANG_CXX_LIBRARY': 'libc++'
1047 },
1048 }],
1042 ['v8_target_arch=="x64" or v8_target_arch=="arm64" \ 1049 ['v8_target_arch=="x64" or v8_target_arch=="arm64" \
1043 or v8_target_arch=="mips64el"', { 1050 or v8_target_arch=="mips64el"', {
1044 'xcode_settings': {'WARNING_CFLAGS': ['-Wshorten-64-to-32']}, 1051 'xcode_settings': {'WARNING_CFLAGS': ['-Wshorten-64-to-32']},
1045 }], 1052 }],
1046 ], 1053 ],
1047 }], 1054 }],
1048 ], 1055 ],
1049 'target_conditions': [ 1056 'target_conditions': [
1050 ['_type!="static_library"', { 1057 ['_type!="static_library"', {
1051 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 1058 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after
1445 '-fsanitize=cfi-vcall', 1452 '-fsanitize=cfi-vcall',
1446 '-fsanitize=cfi-derived-cast', 1453 '-fsanitize=cfi-derived-cast',
1447 '-fsanitize=cfi-unrelated-cast', 1454 '-fsanitize=cfi-unrelated-cast',
1448 ], 1455 ],
1449 }], 1456 }],
1450 ], 1457 ],
1451 }, 1458 },
1452 }], 1459 }],
1453 ], 1460 ],
1454 } 1461 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698