mirror of
https://github.com/godotengine/godot-angle-static.git
synced 2026-01-03 14:09:33 +03:00
Manually add third_party/cpu_features DEPS per https://chromium-review.googlesource.com/c/chromium/src/+/454527157b220f0ca..a4089b2e79If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/chromium-angle-autoroll Please CC angle-team@google.com,solti@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Chromium: https://bugs.chromium.org/p/chromium/issues/entry 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://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md Changed dependencies * build:6cb0fb63f3..1ee2c02fc6* testing:5102dd5718..dddefcbae6* third_party/abseil-cpp:48cb81215e..2445bb17e1* third_party/android_build_tools/lint: pSX8QZklEn1odNNyvBBDnanIA4IBlNNFgsAYPXnk-SYC..FObSM0x4tmlkstBzjEhG3sHenn993tmoNjl5naaW28AC * third_party/android_build_tools/manifest_merger: guwWgYx931yQa5Mj6M08VMupp2R1bo_2F6zOS-azX9UC..u2r6t6i4MR-JZBn40RJTHzLBwT4y59mjHv6kkrAlLSQC * third_party/android_ndk: https://chromium.googlesource.com/android_ndk.git/+log/8388a2be54..310956bd12 * third_party/android_platform:f312145c41..9f29aca7dd* third_party/catapult: https://chromium.googlesource.com/catapult.git/+log/{catapult_..9f3ef9c2ea * third_party/depot_tools:530d86d40b..05ab73be51* third_party/fuchsia-sdk/sdk: version:12.20230529.1.1..version:12.20230530.1.1 * third_party/r8: 9dmrdF_0VI2W4VoKglVJJXLHpn8Aw00PAHSpkQL63hcC..4Oq32DG2vuDh7Frxj6tH5xyi77sVgBWpvvl4hwvZRR4C * third_party/zlib:337322d10f..0cf42a2592* tools/mb:fa0546ccb6..b86e044e91* tools/perf:2ff63e72c7..6f1c5c73daNo update to Clang. Bug: chromium:1446042 No-try: true Change-Id: Id621741615cdfd54657f8f6cb9f88ec303dcb0a2 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/4575480 Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org> Commit-Queue: Yuly Novikov <ynovikov@chromium.org>
62 lines
1.8 KiB
Plaintext
62 lines
1.8 KiB
Plaintext
# Copyright 2023 The Chromium Authors. All rights reserved.
|
|
# Use of this source code is governed by a BSD-style license that can be
|
|
# found in the LICENSE file.
|
|
|
|
config("cpu_features_config") {
|
|
cflags = [ "-Wno-unused-function" ]
|
|
defines = [
|
|
"STACK_LINE_READER_BUFFER_SIZE=1024",
|
|
"HAVE_STRONG_GETAUXVAL",
|
|
]
|
|
include_dirs = [ "src/include" ]
|
|
}
|
|
|
|
config("ndk_compat_headers") {
|
|
include_dirs = [ "src/ndk_compat" ]
|
|
}
|
|
|
|
source_set("cpuinfo") {
|
|
sources = [
|
|
"src/src/copy.inl",
|
|
"src/src/define_introspection.inl",
|
|
"src/src/define_introspection_and_hwcaps.inl",
|
|
"src/src/equals.inl",
|
|
"src/src/filesystem.c",
|
|
"src/src/hwcaps.c",
|
|
"src/src/stack_line_reader.c",
|
|
"src/src/string_view.c",
|
|
]
|
|
if (current_cpu == "x86" || current_cpu == "x64") {
|
|
sources += [
|
|
"src/src/impl_x86__base_implementation.inl",
|
|
"src/src/impl_x86_freebsd.c",
|
|
"src/src/impl_x86_linux_or_android.c",
|
|
"src/src/impl_x86_macos.c",
|
|
"src/src/impl_x86_windows.c",
|
|
]
|
|
} else if (current_cpu == "arm") {
|
|
sources += [ "src/src/impl_arm_linux_or_android.c" ]
|
|
} else if (current_cpu == "arm64") {
|
|
sources += [ "src/src/impl_aarch64_linux_or_android.c" ]
|
|
} else if (current_cpu == "mips") {
|
|
sources += [ "src/src/impl_mips_linux_or_android.c" ]
|
|
} else if (current_cpu == "ppc") {
|
|
sources += [ "src/src/impl_ppc_linux.c" ]
|
|
} else if (current_cpu == "riscv64") {
|
|
sources += [ "src/src/impl_riscv_linux.c" ]
|
|
} else {
|
|
error("Missing definition for architecture: $current_cpu")
|
|
}
|
|
configs += [ ":cpu_features_config" ]
|
|
}
|
|
|
|
source_set("ndk_compat") {
|
|
sources = [
|
|
"src/ndk_compat/cpu-features.c",
|
|
"src/ndk_compat/cpu-features.h",
|
|
]
|
|
configs += [ ":cpu_features_config" ]
|
|
public_configs = [ ":ndk_compat_headers" ]
|
|
deps = [ ":cpuinfo" ]
|
|
}
|