OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/config/android/config.gni") | 5 import("//build/config/android/config.gni") |
6 import("//build/config/chrome_build.gni") | 6 import("//build/config/chrome_build.gni") |
7 import("//build/config/chromecast_build.gni") | 7 import("//build/config/chromecast_build.gni") |
8 import("//build/config/compiler/pgo/pgo.gni") | 8 import("//build/config/compiler/pgo/pgo.gni") |
9 import("//build/config/sanitizers/sanitizers.gni") | 9 import("//build/config/sanitizers/sanitizers.gni") |
10 import("//build/toolchain/goma.gni") | 10 import("//build/toolchain/goma.gni") |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
110 symbol_level = 1 | 110 symbol_level = 1 |
111 } else { | 111 } else { |
112 symbol_level = 0 | 112 symbol_level = 0 |
113 } | 113 } |
114 } | 114 } |
115 | 115 |
116 # Assert that the configuration isn't going to hit https://crbug.com/648948. | 116 # Assert that the configuration isn't going to hit https://crbug.com/648948. |
117 assert(ignore_elf32_limitations || !is_android || | 117 assert(ignore_elf32_limitations || !is_android || |
118 (android_64bit_target_cpu && !build_apk_secondary_abi) || | 118 (android_64bit_target_cpu && !build_apk_secondary_abi) || |
119 is_component_build || symbol_level < 2, | 119 is_component_build || symbol_level < 2, |
120 "Android 32-bit non-component, non-clang builds cannot have " + | 120 "Android 32-bit non-component builds cannot have symbol_level=2 " + |
121 "symbol_level=2 due to 4GiB file size limit, see " + | 121 "due to 4GiB file size limit, see https://crbug.com/648948. " + |
122 "https://crbug.com/648948. If you really want to try this out, " + | 122 "If you really want to try this out, " + |
123 "set ignore_elf32_limitations=true.") | 123 "set ignore_elf32_limitations=true.") |
OLD | NEW |