| # Copyright 2014 The Chromium Authors. All rights reserved. |
| # Use of this source code is governed by a BSD-style license that can be |
| # found in the LICENSE file. |
| |
| import("//build/config/android/config.gni") |
| import("//build/config/compiler/compiler.gni") |
| import("//build/config/sanitizers/sanitizers.gni") |
| |
| # Chromium linker doesn't reliably support loading multiple libraries; |
| # disable for component builds, see crbug.com/657093. |
| # Chromium linker causes instrumentation to return incorrect results. |
| # Incompatible with incremental_install because it causes LibraryLoader to not |
| # look for the .so files in their side-loaded location. |
| chromium_linker_supported = |
| !incremental_install && !is_component_build && !enable_profiling && |
| !use_order_profiling && !is_asan |