Applies only to chromium_code for now. There's some characters in
third_party that cl.exe claims aren't representable in code page 65001
(which is its way of saying UTF-8 without a BOM).

R=brucedawson@chromium.org
BUG=454858,637203

Review-Url: https://codereview.chromium.org/2488853002
Cr-Original-Commit-Position: refs/heads/master@{#434212}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: 63384a79de37f89a88cfc02ff61eb649e4abe535
This commit is contained in:
scottmg 2016-11-23 10:51:41 -08:00 коммит произвёл Commit bot
Родитель b3393b81da
Коммит 67807749bc
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -1057,6 +1057,9 @@ config("default_warnings") {
config("chromium_code") {
if (is_win) {
cflags = [ "/W4" ] # Warning level 4.
# Assume UTF-8 by default to avoid code page dependencies.
cflags += [ "/utf-8" ]
} else {
cflags = [ "-Wall" ]
if (treat_warnings_as_errors) {