mirror of
https://github.com/dart-lang/sdk
synced 2024-10-06 13:35:05 +00:00
Reland "Update clang and gn to match Fuchsia."
This reverts commit a99b0f6c09
.
To fix culprit for the revert, it no longer rolls zlib, instead adds
an option to ignore clang warnings in zlib source code.
TEST=ci
Change-Id: I9a877ff0c08af961bc49fcacaad5b01f1ed0a743
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/249542
Reviewed-by: Ryan Macnak <rmacnak@google.com>
Commit-Queue: Alexander Aprelev <aam@google.com>
This commit is contained in:
parent
3f104a2ab4
commit
413f60a8b6
4
DEPS
4
DEPS
|
@ -66,8 +66,8 @@ vars = {
|
|||
# The list of revisions for these tools comes from Fuchsia, here:
|
||||
# https://fuchsia.googlesource.com/integration/+/HEAD/toolchain
|
||||
# If there are problems with the toolchain, contact fuchsia-toolchain@.
|
||||
"clang_revision": "c2592c374e469f343ecea82d6728609650924259",
|
||||
"gn_revision": "d7c2209cebcfe37f46dba7be4e1a7000ffc342fb",
|
||||
"clang_revision": "aaaf8e4c409f080f35ea227b20dc6ac8a45c2fa4",
|
||||
"gn_revision": "e62d4e1938a45babc9afb6db543f388cd1802a52",
|
||||
|
||||
# Scripts that make 'git cl format' work.
|
||||
"clang_format_scripts_rev": "bb994c6f067340c1135eb43eed84f4b33cfa7397",
|
||||
|
|
|
@ -545,6 +545,7 @@ if (is_win) {
|
|||
"-Wno-microsoft-unqualified-friend",
|
||||
"-Wno-unknown-argument", # icu
|
||||
"-Wno-unused-value", # crashpad
|
||||
"-Wno-deprecated-non-prototype", # zlib
|
||||
]
|
||||
} else {
|
||||
default_warning_flags += [
|
||||
|
@ -576,6 +577,7 @@ if (is_win) {
|
|||
default_warning_flags += [
|
||||
"-Wno-tautological-constant-compare",
|
||||
"-Wno-unused-but-set-variable", # icu
|
||||
"-Wno-deprecated-non-prototype", # zlib
|
||||
]
|
||||
} else {
|
||||
default_warning_flags +=
|
||||
|
|
|
@ -11,9 +11,9 @@
|
|||
namespace dart {
|
||||
|
||||
#if defined(DEBUG)
|
||||
const intptr_t kSkipCount = 6;
|
||||
const intptr_t kSkipCount = 7;
|
||||
#elif !(defined(PRODUCT) || defined(DEBUG))
|
||||
const intptr_t kSkipCount = 5;
|
||||
const intptr_t kSkipCount = 6;
|
||||
#endif
|
||||
|
||||
} // namespace dart
|
||||
|
|
Loading…
Reference in a new issue