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

Side by Side Diff: build/standalone.gypi

Issue 1214753002: trybot-testing: Use third_party clang on Mac. DO NOT COMMIT Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 6 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 712 matching lines...) Expand 10 before | Expand all | Expand 10 after
723 }, 723 },
724 }, 724 },
725 }, 725 },
726 }], # OS=="win" 726 }], # OS=="win"
727 ['OS=="mac"', { 727 ['OS=="mac"', {
728 'xcode_settings': { 728 'xcode_settings': {
729 'SDKROOT': 'macosx', 729 'SDKROOT': 'macosx',
730 'SYMROOT': '<(DEPTH)/xcodebuild', 730 'SYMROOT': '<(DEPTH)/xcodebuild',
731 }, 731 },
732 'target_defaults': { 732 'target_defaults': {
733 'variables': {
734 'base_path%': '<!(cd <(DEPTH) && pwd -P)', # Mac requires full path.
735 },
733 'xcode_settings': { 736 'xcode_settings': {
734 'ALWAYS_SEARCH_USER_PATHS': 'NO', 737 'ALWAYS_SEARCH_USER_PATHS': 'NO',
735 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99 738 'GCC_C_LANGUAGE_STANDARD': 'c99', # -std=c99
736 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks 739 'GCC_CW_ASM_SYNTAX': 'NO', # No -fasm-blocks
737 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic 740 'GCC_DYNAMIC_NO_PIC': 'NO', # No -mdynamic-no-pic
738 # (Equivalent to -fPIC) 741 # (Equivalent to -fPIC)
739 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions 742 'GCC_ENABLE_CPP_EXCEPTIONS': 'NO', # -fno-exceptions
740 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti 743 'GCC_ENABLE_CPP_RTTI': 'NO', # -fno-rtti
741 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings 744 'GCC_ENABLE_PASCAL_STRINGS': 'NO', # No -mpascal-strings
742 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden 745 # GCC_INLINES_ARE_PRIVATE_EXTERN maps to -fvisibility-inlines-hidden
(...skipping 18 matching lines...) Expand all
761 ], 764 ],
762 }, 765 },
763 'conditions': [ 766 'conditions': [
764 ['werror==""', { 767 ['werror==""', {
765 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'}, 768 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'NO'},
766 }, { 769 }, {
767 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'}, 770 'xcode_settings': {'GCC_TREAT_WARNINGS_AS_ERRORS': 'YES'},
768 }], 771 }],
769 ['clang==1', { 772 ['clang==1', {
770 'xcode_settings': { 773 'xcode_settings': {
774 'CC': '<(base_path)/<(clang_dir)/bin/clang',
775 'LDPLUSPLUS': '<(base_path)/<(clang_dir)/bin/clang++',
771 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0', 776 'GCC_VERSION': 'com.apple.compilers.llvm.clang.1_0',
772 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x 777 'CLANG_CXX_LANGUAGE_STANDARD': 'gnu++0x', # -std=gnu++0x
778 'CLANG_CXX_LIBRARY': 'libc++'
773 }, 779 },
774 }], 780 }],
775 ], 781 ],
776 'target_conditions': [ 782 'target_conditions': [
777 ['_type!="static_library"', { 783 ['_type!="static_library"', {
778 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']}, 784 'xcode_settings': {'OTHER_LDFLAGS': ['-Wl,-search_paths_first']},
779 }], 785 }],
780 ], # target_conditions 786 ], # target_conditions
781 }, # target_defaults 787 }, # target_defaults
782 }], # OS=="mac" 788 }], # OS=="mac"
(...skipping 256 matching lines...) Expand 10 before | Expand all | Expand 10 after
1039 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', { 1045 ['use_goma==1 and ("<(GENERATOR)"=="ninja" or clang==1)', {
1040 'make_global_settings': [ 1046 'make_global_settings': [
1041 ['CC_wrapper', '<(gomadir)/gomacc'], 1047 ['CC_wrapper', '<(gomadir)/gomacc'],
1042 ['CXX_wrapper', '<(gomadir)/gomacc'], 1048 ['CXX_wrapper', '<(gomadir)/gomacc'],
1043 ['CC.host_wrapper', '<(gomadir)/gomacc'], 1049 ['CC.host_wrapper', '<(gomadir)/gomacc'],
1044 ['CXX.host_wrapper', '<(gomadir)/gomacc'], 1050 ['CXX.host_wrapper', '<(gomadir)/gomacc'],
1045 ], 1051 ],
1046 }], 1052 }],
1047 ], 1053 ],
1048 } 1054 }
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