Fix CFI buildbot: import chrome_build.gni for is_official_build.

BUG=481692,561677

Review URL: https://codereview.chromium.org/1491113002

Cr-Original-Commit-Position: refs/heads/master@{#362753}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: b84bb501f83db00e48e2b2a43b2f326afb179e98
This commit is contained in:
krasin 2015-12-02 10:31:01 -08:00 коммит произвёл Commit bot
Родитель 2740a35a7e
Коммит 5b08a08671
1 изменённых файлов: 3 добавлений и 0 удалений

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

@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/chrome_build.gni")
import("//build/config/sanitizers/sanitizers.gni")
# Contains the dependencies needed for sanitizers to link into executables and
@ -37,6 +38,7 @@ config("sanitizer_options_link_helper") {
if (is_msan) {
ldflags += [
"-fsanitize=memory",
# TODO(eugenis): Remove when msan migrates to new ABI (crbug.com/560589).
"-pie",
]
@ -142,6 +144,7 @@ config("default_sanitizer_flags") {
"-fsanitize=memory",
"-fsanitize-memory-track-origins=$msan_track_origins",
"-fsanitize-blacklist=$msan_blacklist_path",
# TODO(eugenis): Remove when msan migrates to new ABI (crbug.com/560589).
"-fPIC",
]