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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
59 is_desktop_linux = current_os == "linux" && current_os != "chromeos" | 59 is_desktop_linux = current_os == "linux" && current_os != "chromeos" |
60 | 60 |
61 # Set to true when compiling with the Clang compiler. Typically this is used | 61 # Set to true when compiling with the Clang compiler. Typically this is used |
62 # to configure warnings. | 62 # to configure warnings. |
63 is_clang = current_os == "mac" || current_os == "ios" || | 63 is_clang = current_os == "mac" || current_os == "ios" || |
64 current_os == "linux" || current_os == "chromeos" | 64 current_os == "linux" || current_os == "chromeos" |
65 | 65 |
66 # Selects the desired build flavor. Official builds get additional | 66 # Selects the desired build flavor. Official builds get additional |
67 # processing to prepare for release. Normally you will want to develop and | 67 # processing to prepare for release. Normally you will want to develop and |
68 # test with this flag off. | 68 # test with this flag off. |
| 69 # TODO(brettw) move to chrome_build.gni when DEPS are updated. |
69 is_official_build = false | 70 is_official_build = false |
70 | 71 |
71 # Select the desired branding flavor. False means normal Chromium branding, | 72 # Select the desired branding flavor. False means normal Chromium branding, |
72 # true means official Google Chrome branding (requires extra Google-internal | 73 # true means official Google Chrome branding (requires extra Google-internal |
73 # resources). | 74 # resources). |
| 75 # TODO(brettw) move to chrome_build.gni when DEPS are updated. |
74 is_chrome_branded = false | 76 is_chrome_branded = false |
75 | 77 |
76 # Compile for Address Sanitizer to find memory bugs. | 78 # Compile for Address Sanitizer to find memory bugs. |
77 is_asan = false | 79 is_asan = false |
78 | 80 |
79 # Compile for Leak Sanitizer to find leaks. | 81 # Compile for Leak Sanitizer to find leaks. |
80 is_lsan = false | 82 is_lsan = false |
81 | 83 |
82 # Compile for Memory Sanitizer to find uninitialized reads. | 84 # Compile for Memory Sanitizer to find uninitialized reads. |
83 is_msan = false | 85 is_msan = false |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
718 } | 720 } |
719 if (defined(invoker.testonly)) { | 721 if (defined(invoker.testonly)) { |
720 testonly = invoker.testonly | 722 testonly = invoker.testonly |
721 } | 723 } |
722 if (defined(invoker.visibility)) { | 724 if (defined(invoker.visibility)) { |
723 visibility = invoker.visibility | 725 visibility = invoker.visibility |
724 } | 726 } |
725 } | 727 } |
726 } | 728 } |
727 } | 729 } |
OLD | NEW |