# Copyright 2020 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. import("//build/config/compiler/pgo/pgo.gni") import("//build/config/coverage/coverage.gni") declare_args() { use_clang_profiling = is_a_target_toolchain && (use_clang_coverage || chrome_pgo_phase == 1) } assert(!use_clang_profiling || is_clang, "Clang Source-based profiling requires clang.")