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