# Copyright 2019 The Chromium Authors | |
# Use of this source code is governed by a BSD-style license that can be | |
# found in the LICENSE file. | |
import("//build/config/chromeos/ui_mode.gni") | |
import("//build/config/compiler/compiler.gni") | |
import("//build/config/dcheck_always_on.gni") | |
declare_args() { | |
# Use LogErrorNotReached() for NOTREACHED(). | |
enable_log_error_not_reached = | |
is_chromeos_ash && !(is_debug || dcheck_always_on) | |
enable_stack_trace_line_numbers = symbol_level > 0 | |
} |