Update build.gni to match chromium/src/build
This is necessary to allow DEPS updates to get the new build/
from chromium/src/build/.
[email protected], [email protected]
BUG=https://bugs.chromium.org/p/nativeclient/issues/detail?id=4381
Review URL: https://codereview.chromium.org/2457703003 .
diff --git a/build.gni b/build.gni
index 68be7a2..541c474 100644
--- a/build.gni
+++ b/build.gni
@@ -2,13 +2,12 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+# Several dependencies of Chrome require a different min sdk and/or deployment
+# target when built as stand-alone projects. If this is ever not the case, these
+# variables can be removed.
# See https://bugs.chromium.org/p/webrtc/issues/detail?id=5453.
-# Some WebRTC targets require the 10.7 deployment version of the Mac SDK
-# and a 10.11 min SDK, but those targets are only used in non-Chromium
-# builds. We can remove this when Chromium drops 10.6 support and also
-# requires 10.7.
mac_sdk_min_build_override = "10.10"
-mac_deployment_target_build_override = "10.7"
+mac_deployment_target_build_override = "10.8"
# Variable that can be used to support multiple build scenarios, like having
# Chromium specific targets in a client project's GN file etc.
@@ -32,3 +31,10 @@
# Uncomment these to specify a different lint suppressions file for android
# lint_suppressions_file = path/to/your/suppressions/file/suppressions.xml
+
+declare_args() {
+ # Android 32-bit non-component, non-clang builds cannot have symbol_level=2
+ # due to 4GiB file size limit, see https://crbug.com/648948.
+ # Set this flag to true to skip the assertion.
+ ignore_elf32_limitations = false
+}