1# Copyright 2014 The Chromium Authors. All rights reserved. 2# Use of this source code is governed by a BSD-style license that can be 3# found in the LICENSE file. 4 5# All binary targets will get this list of configs by default. 6_shared_binary_target_configs = [ 7 "//build:compiler_defaults", 8] 9 10# Apply that default list to the binary target types. 11set_defaults("executable") { 12 configs = _shared_binary_target_configs 13 # Executables get this additional configuration. 14 configs += [ "//build:executable_ldconfig" ] 15} 16set_defaults("static_library") { 17 configs = _shared_binary_target_configs 18} 19set_defaults("shared_library") { 20 configs = _shared_binary_target_configs 21} 22set_defaults("source_set") { 23 configs = _shared_binary_target_configs 24} 25 26set_default_toolchain("//build/toolchain:gcc") 27