Chromium Code Reviews| Index: build/config/BUILD.gn |
| diff --git a/build/config/BUILD.gn b/build/config/BUILD.gn |
| index 6a3133d9ecc6bcd02848a45b4a1803ce15627bf4..872410987bc0e51ea9340949d18bdac4fdaff9d4 100644 |
| --- a/build/config/BUILD.gn |
| +++ b/build/config/BUILD.gn |
| @@ -408,6 +408,7 @@ config("executable_config") { |
| if (use_locally_built_instrumented_libraries) { |
| configs += [ "//third_party/instrumented_libraries:locally_built_ldflags" ] |
| } |
| + configs += [ "//build/config/sanitizers:asan_link_executable" ] |
|
Dirk Pranke
2016/08/03 22:13:19
nit: can we avoid having "asan" in the names of th
Nico
2016/08/03 22:16:42
Sure, done.
Out of curiosity: WHy? It an asan-spe
Dirk Pranke
2016/08/03 22:27:34
Yes, or there might be multiple things that need t
|
| } |
| # Shared library configs ------------------------------------------------------- |
| @@ -434,6 +435,7 @@ config("shared_library_config") { |
| if (use_locally_built_instrumented_libraries) { |
| configs += [ "//third_party/instrumented_libraries:locally_built_ldflags" ] |
| } |
| + configs += [ "//build/config/sanitizers:asan_link_shared_library" ] |
| } |
| # Add this config to your target to enable precompiled headers. |