Description[iOS/GN] Allow compilation with system clang.
The official Chrome on iOS build are build using the version of clang
shipped with Xcode (a.k.a. the system version of clang). This CL adds
a flag to allow building with this version of clang instead of the
hermetic shipped with Chromium source (i.e. ToT clang).
When building with system version of clang, some compiler warning have
to be flipped as they are unsupported and the plugins are disabled (as
they only work for a single version of clang).
Refactor the definition of the toolchain for iOS and correctly set the
default_toolchain when targetting iOS based on target_cpu (used to be
incorrectly set to "//build/toolchain/mac:ios_clang_arm").
BUG=620376
Committed: https://crrev.com/fe65591ff09b9180898e303ec4831d4e7dfb10e9
Cr-Commit-Position: refs/heads/master@{#401119}
Patch Set 1 #Patch Set 2 : Add missing import #Patch Set 3 : Pass -isystem when building with system clang on iOS #
Total comments: 4
Patch Set 4 : Address typos #
Total comments: 4
Patch Set 5 : Rename use_system_clang to is_clang_xcode #
Total comments: 3
Patch Set 6 : Remove unrelated changes #
Total comments: 2
Patch Set 7 : Rename use_system_clang to use_clang_xcode #Patch Set 8 : use_clang_xcode cannot be conditional #Patch Set 9 : sed -i '' -e 's@use_clang_xcode@use_xcode_clang@g' #Patch Set 10 : Rebase #
Dependent Patchsets: Messages
Total messages: 31 (10 generated)
|