зеркало из https://github.com/AvaloniaUI/angle.git
Suppress optimization in trace/replay sample.
Bug: angleproject:4048 Change-Id: I44154a53698fb2447682cbbbe2f1982895677102 Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2202198 Commit-Queue: Jamie Madill <jmadill@chromium.org> Reviewed-by: Cody Northrop <cnorthrop@google.com>
This commit is contained in:
Родитель
e8d71eb381
Коммит
9724aa3d56
|
@ -201,7 +201,14 @@ if (angle_build_capture_replay_sample) {
|
|||
"ANGLE_CAPTURE_REPLAY_SAMPLE_CONTEXT_ID=${_contextid}",
|
||||
"ANGLE_CAPTURE_REPLAY_SAMPLE_HEADER=angle_capture_context${_contextid}.h",
|
||||
]
|
||||
|
||||
suppressed_configs = [ "$angle_root:constructor_and_destructor_warnings" ]
|
||||
|
||||
# Disable optimization to avoid optimizing huge files.
|
||||
if (!is_debug) {
|
||||
suppressed_configs += [ "//build/config/compiler:default_optimization" ]
|
||||
configs += [ "//build/config/compiler:no_optimize" ]
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче