aboutsummaryrefslogtreecommitdiff
path: root/build
diff options
context:
space:
mode:
authorandroid-autoroll <android-autoroll@skia-public.iam.gserviceaccount.com>2024-05-20 08:46:13 +0000
committerandroid-autoroll <android-autoroll@skia-public.iam.gserviceaccount.com>2024-05-20 08:46:13 +0000
commitf9333db2f34c9502e5bd70a880b88584a2bc7796 (patch)
tree85346842d637ad3290fd2a8e7df60002dc2e32ef /build
parentd6f598d9c4555977f4a85e02a7119355810e236d (diff)
parent9ce8d3ba042d42f0e31d2a261ed4d4b9b9f7668a (diff)
downloadangle-f9333db2f34c9502e5bd70a880b88584a2bc7796.tar.gz
Roll ANGLE from 519d6d7e39bc to 9ce8d3ba042d (2 revisions)
https://chromium.googlesource.com/angle/angle.git/+log/519d6d7e39bc..9ce8d3ba042d Please enable autosubmit on changes if possible when approving them. If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/angle-android-autoroll Please CC angle-team@google.com,rmistry@google.com,yuxinhu@google.com on the revert to ensure that a human is aware of the problem. To file a bug in ANGLE: https://bugs.chromium.org/p/angleproject/issues/entry To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Test: Presubmit checks will test this change. Exempt-From-Owner-Approval: The autoroll bot does not require owner approval. Bug: b/340665604 Change-Id: I409f0b735309d5c144e172bd416912584f783e8b
Diffstat (limited to 'build')
-rw-r--r--build/config/compiler/BUILD.gn8
-rw-r--r--build/config/logging.gni2
-rw-r--r--build/config/rust.gni2
-rw-r--r--build/config/sanitizers/BUILD.gn3
-rw-r--r--build/rust/BUILD.gn2
-rw-r--r--build/util/LASTCHANGE2
-rw-r--r--build/util/LASTCHANGE.committime2
7 files changed, 11 insertions, 10 deletions
diff --git a/build/config/compiler/BUILD.gn b/build/config/compiler/BUILD.gn
index 652170b10b..ea426b1587 100644
--- a/build/config/compiler/BUILD.gn
+++ b/build/config/compiler/BUILD.gn
@@ -2406,10 +2406,10 @@ config("optimize") {
if (is_win) {
cflags = [ "/O2" ] + common_optimize_on_cflags
- # https://doc.rust-lang.org/rustc/profile-guided-optimization.html#usage
- # suggests not using an explicit `-Copt-level` at all, and the default is
- # to optimize for performance like `/O2` for clang.
- rustflags = []
+ # The `-O3` for clang turns on extra optimizations compared to the standard
+ # `-O2`. But for rust, `-Copt-level=3` is the default and is thus reliable
+ # to use.
+ rustflags = [ "-Copt-level=3" ]
} else if (optimize_for_size || is_chromeos) {
# Favor size over speed.
# -Os in clang is more of a size-conscious -O2 than "size at any cost"
diff --git a/build/config/logging.gni b/build/config/logging.gni
index 43125f8a1b..9a1dbb4254 100644
--- a/build/config/logging.gni
+++ b/build/config/logging.gni
@@ -7,7 +7,7 @@ import("//build/config/compiler/compiler.gni")
import("//build/config/dcheck_always_on.gni")
declare_args() {
- # Use LogErrorNotReached() for NOTREACHED().
+ # Use LogErrorNotReached() for NOTREACHED_IN_MIGRATION().
enable_log_error_not_reached =
is_chromeos_ash && !(is_debug || dcheck_always_on)
diff --git a/build/config/rust.gni b/build/config/rust.gni
index e99d7d08e1..43ebdd5f73 100644
--- a/build/config/rust.gni
+++ b/build/config/rust.gni
@@ -206,6 +206,8 @@ if (is_linux || is_chromeos) {
} else {
rust_abi_target = "arm-unknown-linux-gnueabi" + float_suffix
}
+ } else if (current_cpu == "riscv64") {
+ rust_abi_target = "riscv64gc-unknown-linux-gnu"
} else {
# Best guess for other future platforms.
rust_abi_target = current_cpu + "-unknown-linux-gnu"
diff --git a/build/config/sanitizers/BUILD.gn b/build/config/sanitizers/BUILD.gn
index ecd4173445..4d52da392b 100644
--- a/build/config/sanitizers/BUILD.gn
+++ b/build/config/sanitizers/BUILD.gn
@@ -24,6 +24,7 @@ use_dlcloseshim = use_libfuzzer && is_linux
# Contains the dependencies needed for sanitizers to link into executables and
# shared_libraries.
group("deps") {
+ deps = []
if (using_sanitizer) {
public_configs = [
# Even when a target removes default_sanitizer_flags, it may be depending
@@ -31,7 +32,6 @@ group("deps") {
# to add the ldflags here as well as in default_sanitizer_flags.
":default_sanitizer_ldflags",
]
- deps = []
if (!is_fuchsia) {
if (is_win) {
exe = ".exe"
@@ -180,7 +180,6 @@ static_library("options_sources") {
}
}
-
if (use_dlcloseshim) {
source_set("dlclose_shim") {
sources = [ "//build/sanitizers/dlcloseshim.c" ]
diff --git a/build/rust/BUILD.gn b/build/rust/BUILD.gn
index 6fc7527d18..ec82053808 100644
--- a/build/rust/BUILD.gn
+++ b/build/rust/BUILD.gn
@@ -21,7 +21,7 @@ if (toolchain_has_rust) {
# The version of cxx under //third_party/rust/chromium_crates_io/vendor.
# Update this whenever cxx is rolled. Also update the version number in the
# //third_party/rust/cxx/v1/cxx.h header.
- cxx_version = "1.0.121"
+ cxx_version = "1.0.122"
# The required dependencies for cxx-generated bindings, that must be included
# on the C++ side.
diff --git a/build/util/LASTCHANGE b/build/util/LASTCHANGE
index 8017da35e9..4f3dcd582e 100644
--- a/build/util/LASTCHANGE
+++ b/build/util/LASTCHANGE
@@ -1,2 +1,2 @@
-LASTCHANGE=1664b9f470e99102d0c834bf8bac3bdd3698abc5-refs/heads/main@{#1302523}
+LASTCHANGE=dbd3873447f647584690532e2fb935e103c8860c-refs/heads/main@{#1302866}
LASTCHANGE_YEAR=2024
diff --git a/build/util/LASTCHANGE.committime b/build/util/LASTCHANGE.committime
index c475561d2f..15f753f9e5 100644
--- a/build/util/LASTCHANGE.committime
+++ b/build/util/LASTCHANGE.committime
@@ -1 +1 @@
-1715951586 \ No newline at end of file
+1715983977 \ No newline at end of file