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. | |
70 is_official_build = false | 69 is_official_build = false |
71 | 70 |
72 # Select the desired branding flavor. False means normal Chromium branding, | 71 # Select the desired branding flavor. False means normal Chromium branding, |
73 # true means official Google Chrome branding (requires extra Google-internal | 72 # true means official Google Chrome branding (requires extra Google-internal |
74 # resources). | 73 # resources). |
75 # TODO(brettw) move to chrome_build.gni when DEPS are updated. | |
76 is_chrome_branded = false | 74 is_chrome_branded = false |
77 | 75 |
78 # Compile for Address Sanitizer to find memory bugs. | 76 # Compile for Address Sanitizer to find memory bugs. |
79 is_asan = false | 77 is_asan = false |
80 | 78 |
81 # Compile for Leak Sanitizer to find leaks. | 79 # Compile for Leak Sanitizer to find leaks. |
82 is_lsan = false | 80 is_lsan = false |
83 | 81 |
84 # Compile for Memory Sanitizer to find uninitialized reads. | 82 # Compile for Memory Sanitizer to find uninitialized reads. |
85 is_msan = false | 83 is_msan = false |
(...skipping 634 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
720 } | 718 } |
721 if (defined(invoker.testonly)) { | 719 if (defined(invoker.testonly)) { |
722 testonly = invoker.testonly | 720 testonly = invoker.testonly |
723 } | 721 } |
724 if (defined(invoker.visibility)) { | 722 if (defined(invoker.visibility)) { |
725 visibility = invoker.visibility | 723 visibility = invoker.visibility |
726 } | 724 } |
727 } | 725 } |
728 } | 726 } |
729 } | 727 } |
OLD | NEW |