xref: /aosp_15_r20/external/cronet/base/android/linker/config.gni (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1# Copyright 2014 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/config/android/config.gni")
6import("//build/config/compiler/compiler.gni")
7import("//build/config/sanitizers/sanitizers.gni")
8
9# Chromium linker doesn't reliably support loading multiple libraries;
10# disable for component builds, see crbug.com/657093.
11# Chromium linker causes instrumentation to return incorrect results.
12# Incompatible with incremental_install because it causes LibraryLoader to not
13# look for the .so files in their side-loaded location.
14chromium_linker_supported =
15    !incremental_install && !is_component_build && !enable_profiling &&
16    !use_order_profiling && !is_asan
17