OLD | NEW |
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 |
(...skipping 14 matching lines...) Expand all Loading... |
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 = false |
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" || os == "chromeos") |
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. |
40 # | 40 # |
41 # Normally this would get set automatically when you specify a target using | 41 # Normally this would get set automatically when you specify a target using |
42 # the 64-bit toolchain. You can also set this on the command line to convert | 42 # the 64-bit toolchain. You can also set this on the command line to convert |
43 # the default toolchain to 64-bit. | 43 # the default toolchain to 64-bit. |
44 force_win64 = false | 44 force_win64 = false |
45 | 45 |
(...skipping 670 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
716 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } | 716 if (defined(invoker.output_extension)) { output_extension = invoker.output
_extension } |
717 if (defined(invoker.output_name)) { output_name = invoker.output_name } | 717 if (defined(invoker.output_name)) { output_name = invoker.output_name } |
718 if (defined(invoker.public)) { public = invoker.public } | 718 if (defined(invoker.public)) { public = invoker.public } |
719 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } | 719 if (defined(invoker.public_configs)) { public_configs = invoker.public_con
figs } |
720 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } | 720 if (defined(invoker.public_deps)) { public_deps = invoker.public_deps } |
721 if (defined(invoker.sources)) { sources = invoker.sources } | 721 if (defined(invoker.sources)) { sources = invoker.sources } |
722 if (defined(invoker.visibility)) { visibility = invoker.visibility } | 722 if (defined(invoker.visibility)) { visibility = invoker.visibility } |
723 } | 723 } |
724 } | 724 } |
725 } | 725 } |
OLD | NEW |