Commit 9724aa3d by Jamie Madill Committed by Commit Bot

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: 's avatarCody Northrop <cnorthrop@google.com>
parent e8d71eb3
...@@ -201,7 +201,14 @@ if (angle_build_capture_replay_sample) { ...@@ -201,7 +201,14 @@ if (angle_build_capture_replay_sample) {
"ANGLE_CAPTURE_REPLAY_SAMPLE_CONTEXT_ID=${_contextid}", "ANGLE_CAPTURE_REPLAY_SAMPLE_CONTEXT_ID=${_contextid}",
"ANGLE_CAPTURE_REPLAY_SAMPLE_HEADER=angle_capture_context${_contextid}.h", "ANGLE_CAPTURE_REPLAY_SAMPLE_HEADER=angle_capture_context${_contextid}.h",
] ]
suppressed_configs = [ "$angle_root:constructor_and_destructor_warnings" ] 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" ]
}
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment