• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Copyright 2014 The Chromium Authors
2# Use of this source code is governed by a BSD-style license that can be
3# found in the LICENSE file.
4
5import("//build/toolchain/toolchain.gni")
6
7default_clang_base_path = "//third_party/llvm-build/Release+Asserts"
8
9declare_args() {
10  # Indicates if the build should use the Chrome-specific plugins for enforcing
11  # coding guidelines, etc. Only used when compiling with Chrome's Clang, not
12  # Chrome OS's.
13  clang_use_chrome_plugins =
14      is_clang && !is_nacl && current_os != "zos" &&
15      default_toolchain != "//build/toolchain/cros:target"
16
17  enable_check_raw_ptr_fields =
18      build_with_chromium && !is_official_build &&
19      ((is_linux && !is_castos) || (is_android && !is_cast_android))
20
21  clang_base_path = default_clang_base_path
22}
23