1*635a8641SAndroid Build Coastguard Worker# Copyright 2014 The Chromium Authors. All rights reserved. 2*635a8641SAndroid Build Coastguard Worker# Use of this source code is governed by a BSD-style license that can be 3*635a8641SAndroid Build Coastguard Worker# found in the LICENSE file. 4*635a8641SAndroid Build Coastguard Worker 5*635a8641SAndroid Build Coastguard Workerimport("//build/config/android/config.gni") 6*635a8641SAndroid Build Coastguard Workerimport("//build/config/compiler/compiler.gni") 7*635a8641SAndroid Build Coastguard Workerimport("//build/config/sanitizers/sanitizers.gni") 8*635a8641SAndroid Build Coastguard Worker 9*635a8641SAndroid Build Coastguard Worker# Chromium linker doesn't reliably support loading multiple libraries; 10*635a8641SAndroid Build Coastguard Worker# disable for component builds, see crbug.com/657093. 11*635a8641SAndroid Build Coastguard Worker# Chromium linker causes instrumentation to return incorrect results. 12*635a8641SAndroid Build Coastguard Workerchromium_linker_supported = 13*635a8641SAndroid Build Coastguard Worker !is_component_build && !enable_profiling && !use_order_profiling && !is_asan 14