• Home
  • Raw
  • Download

Lines Matching refs:config

5 import("//build/config/clang/clang.gni")
6 import("//build/config/ohos/config.gni")
7 import("//build/config/sanitizers/sanitizers.gni")
89 config("sanitizer_options_link_helper") {
109 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
135 config("default_sanitizer_ldflags") {
246 config("common_sanitizer_flags") {
260 # Frame pointers are controlled in //build/config/compiler:default_stack_frames
264 config("asan_flags") {
284 config("link_executable") {
302 config("link_shared_library") {
315 config("cfi_flags") {
362 config("cfi_icall_generalize_pointers") {
368 config("cfi_icall_disable") {
374 config("coverage_flags") {
401 config("lsan_flags") {
407 config("msan_flags") {
422 config("safestack_flags") {
428 config("tsan_flags") {
442 config("ubsan_flags") {
486 config("ubsan_no_recover") {
492 config("ubsan_security_flags") {
510 config("ubsan_null_flags") {
516 config("ubsan_vptr_flags") {
529 config("fuzzing_build_mode") {
553 # This config is applied by default to all targets. It sets the compiler flags
556 # This needs to be in a separate config so that targets can opt out of
557 # sanitizers (by removing the config) if they desire. Even if a target
558 # removes this config, executables & shared libraries should still depend on
561 config("default_sanitizer_flags") {
565 # This config is equivalent to default_sanitizer_flags, but excludes ubsan_vptr.
569 config("default_sanitizer_flags_but_ubsan_vptr") {
573 config("default_sanitizer_flags_but_coverage") {
577 # This config is used by parts of code that aren't targeted in fuzzers and
579 # sanitizer instrumentation either. The config also tells the compiler to
582 # works. The config only does anything if the build is a fuzzing build.
583 config("not_fuzzed") {
589 # Since this config will always be depended on after
590 # "//build/config/compiler:default_optimization" (which adds -O1 when
596 # We need to include this config when we remove default_sanitizer_flags or
607 config("sanitizer_trap_all_flags") {
616 config("cfi_config_release") {
617 _cfi_blocklist_path = "//build/config/sanitizers/cfi_blocklist.txt"
619 configs = [ "//build/config/gcc:symbol_visibility_default" ]
630 rebase_path("//build/config/sanitizers/cfi.versionscript")
636 config("cfi_config_debug") {
644 config("cfi_cross_dso_release") {
654 config("cfi_cross_dso_debug") {
663 config("shadow_call_stack_config") {
692 config(target_name) {
718 config("all_undefined_behavior_sanitize_config_release") {
726 config("all_undefined_behavior_sanitize_config_debug") {
734 config("undefined_behavior_sanitize_config_release") {
743 config("undefined_behavior_sanitize_config_debug") {
752 config("boundary_sanitize_config_release") {
761 config("boundary_sanitize_config_debug") {
770 config("common_integer_overflow_config_release") {
780 config("common_integer_overflow_config_debug") {
790 config("signed_integer_overflow_config") {
794 config("unsigned_integer_overflow_config") {