Commit d9dfb671 authored by Patrik Höglund's avatar Patrik Höglund Committed by Commit Bot

Make empty_main work on clang ASAN.

Bug: chromium:811764
Change-Id: I2d41e6941135dc9bd23f840a0ed7d992b85afa95
Reviewed-on: https://chromium-review.googlesource.com/920992Reviewed-by: default avatarHans Wennborg <hans@chromium.org>
Reviewed-by: default avatarDirk Pranke <dpranke@chromium.org>
Commit-Queue: Patrik Höglund <phoglund@chromium.org>
Cr-Commit-Position: refs/heads/master@{#537629}
parent ca7c7202
......@@ -401,12 +401,9 @@ group("gn_all") {
"//net:quic_server",
"//sandbox/linux:chrome_sandbox",
"//sandbox/linux:sandbox_linux_unittests",
"//testing:empty_main",
]
if (!is_clang) {
deps += [ "//testing:empty_main" ]
}
if (use_dbus) {
deps += [
"//dbus:dbus_test_server",
......
......@@ -12,13 +12,14 @@ source_set("gmock_mutant") {
]
}
if (!is_clang) {
# Used by linux-gcc-rel to ensure gcc doesn't choke on clang-only flags.
executable("empty_main") {
sources = [
"empty_main.cc",
]
}
# Used by linux-gcc-rel to ensure gcc doesn't choke on clang-only flags.
executable("empty_main") {
sources = [
"empty_main.cc",
]
deps = [
"//build/config:exe_and_shlib_deps",
]
}
# Targets needed for isolate script to execute.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment