Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(195)

Side by Side Diff: tools/gn/example/build/BUILDCONFIG.gn

Issue 440333002: Support more configurability in GN toolchains (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: unsigned check Created 6 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « tools/gn/example/build/BUILD.gn ('k') | tools/gn/example/build/toolchain/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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.
11 set_defaults("executable") {
12 configs = _shared_binary_target_configs
13 # Executables get this additional configuration.
14 configs += [ "//build:executable_ldconfig" ]
15 }
16 set_defaults("static_library") {
17 configs = _shared_binary_target_configs
18 }
19 set_defaults("shared_library") {
20 configs = _shared_binary_target_configs
21 }
22 set_defaults("source_set") {
23 configs = _shared_binary_target_configs
24 }
25
26 set_default_toolchain("//build/toolchain:gcc")
OLDNEW
« no previous file with comments | « tools/gn/example/build/BUILD.gn ('k') | tools/gn/example/build/toolchain/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698