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

Side by Side Diff: build/config/BUILDCONFIG.gn

Issue 666813002: GN: Fix Android component build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn-clank
Patch Set: Created 6 years, 2 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
OLDNEW
1 # Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # ============================================================================= 5 # =============================================================================
6 # BUILD FLAGS 6 # BUILD FLAGS
7 # ============================================================================= 7 # =============================================================================
8 # 8 #
9 # This block lists input arguments to the build, along with their default 9 # This block lists input arguments to the build, along with their default
10 # values. GN requires listing them explicitly so it can validate input and have 10 # values. GN requires listing them explicitly so it can validate input and have
11 # a central place to manage the build flags. 11 # a central place to manage the build flags.
12 # 12 #
13 # If a value is specified on the command line, it will overwrite the defaults 13 # If a value is specified on the command line, it will overwrite the defaults
14 # given here, otherwise the default will be injected into the root scope. 14 # given here, otherwise the default will be injected into the root scope.
15 # 15 #
16 # KEEP IN ALPHABETICAL ORDER and write a good description for everything. 16 # KEEP IN ALPHABETICAL ORDER and write a good description for everything.
17 # Use "is_*" names for intrinsic platform descriptions and build modes, and 17 # Use "is_*" names for intrinsic platform descriptions and build modes, and
18 # "use_*" names for optional features libraries, and configurations. 18 # "use_*" names for optional features libraries, and configurations.
19 declare_args() { 19 declare_args() {
20 # How many symbols to include in the build. This affects the performance of 20 # How many symbols to include in the build. This affects the performance of
21 # the build since the symbols are large and dealing with them is slow. 21 # the build since the symbols are large and dealing with them is slow.
22 # 2 means regular build with symbols. 22 # 2 means regular build with symbols.
23 # 1 means minimal symbols, usually enough for backtraces only. 23 # 1 means minimal symbols, usually enough for backtraces only.
24 # 0 means no symbols. 24 # 0 means no symbols.
25 # -1 means auto-set (off in release, regular in debug). 25 # -1 means auto-set (off in release, regular in debug).
26 symbol_level = -1 26 symbol_level = -1
27 27
28 # Component build. 28 # Component build.
29 is_component_build = false 29 is_component_build = os == "android"
jamesr 2014/10/20 23:11:24 huh? why would this be the default? the production
cjhopman 2014/10/21 00:19:06 Yeah, the production builds also have is_debug = f
30 # Debug build. 30 # Debug build.
31 is_debug = true 31 is_debug = true
32 32
33 # Set to true when compiling with the Clang compiler. Typically this is used 33 # Set to true when compiling with the Clang compiler. Typically this is used
34 # to configure warnings. 34 # to configure warnings.
35 is_clang = (os == "mac" || os == "ios" || os == "linux") 35 is_clang = (os == "mac" || os == "ios" || os == "linux")
36 36
37 # Forces a 64-bit build on Windows. Does nothing on other platforms. Normally 37 # Forces a 64-bit build on Windows. Does nothing on other platforms. Normally
38 # we build 32-bit on Windows regardless of the current host OS bit depth. 38 # we build 32-bit on Windows regardless of the current host OS bit depth.
39 # Setting this flag will override this logic and generate 64-bit toolchains. 39 # Setting this flag will override this logic and generate 64-bit toolchains.
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after
701 if (defined(invoker.output_extension)) { output_extension = invoker.output _extension } 701 if (defined(invoker.output_extension)) { output_extension = invoker.output _extension }
702 if (defined(invoker.output_name)) { output_name = invoker.output_name } 702 if (defined(invoker.output_name)) { output_name = invoker.output_name }
703 if (defined(invoker.public)) { public = invoker.public } 703 if (defined(invoker.public)) { public = invoker.public }
704 if (defined(invoker.public_configs)) { public_configs = invoker.public_con figs } 704 if (defined(invoker.public_configs)) { public_configs = invoker.public_con figs }
705 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } 705 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps }
706 if (defined(invoker.sources)) { sources = invoker.sources } 706 if (defined(invoker.sources)) { sources = invoker.sources }
707 if (defined(invoker.visibility)) { visibility = invoker.visibility } 707 if (defined(invoker.visibility)) { visibility = invoker.visibility }
708 } 708 }
709 } 709 }
710 } 710 }
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | cc/surfaces/BUILD.gn » ('j') | chrome/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698