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")
90 config("sanitizer_options_link_helper") {
110 configs -= [ "//build/config/sanitizers:default_sanitizer_flags" ]
136 config("default_sanitizer_ldflags") {
240 config("common_sanitizer_flags") {
254 # Frame pointers are controlled in //build/config/compiler:default_stack_frames
258 config("asan_flags") {
278 config("link_executable") {
296 config("link_shared_library") {
309 config("cfi_flags") {
356 config("cfi_icall_generalize_pointers") {
362 config("cfi_icall_disable") {
368 config("coverage_flags") {
398 config("lsan_flags") {
404 config("msan_flags") {
419 config("safestack_flags") {
425 config("tsan_flags") {
439 config("ubsan_flags") {
483 config("ubsan_no_recover") {
489 config("ubsan_security_flags") {
507 config("ubsan_null_flags") {
513 config("ubsan_vptr_flags") {
526 config("fuzzing_build_mode") {
550 # This config is applied by default to all targets. It sets the compiler flags
553 # This needs to be in a separate config so that targets can opt out of
554 # sanitizers (by removing the config) if they desire. Even if a target
555 # removes this config, executables & shared libraries should still depend on
558 config("default_sanitizer_flags") {
562 # This config is equivalent to default_sanitizer_flags, but excludes ubsan_vptr.
566 config("default_sanitizer_flags_but_ubsan_vptr") {
570 config("default_sanitizer_flags_but_coverage") {
574 # This config is used by parts of code that aren't targeted in fuzzers and
576 # sanitizer instrumentation either. The config also tells the compiler to
579 # works. The config only does anything if the build is a fuzzing build.
580 config("not_fuzzed") {
586 # Since this config will always be depended on after
587 # "//build/config/compiler:default_optimization" (which adds -O1 when
593 # We need to include this config when we remove default_sanitizer_flags or
604 config("sanitizer_trap_all_flags") {
613 config("cfi_config_release") {
614 _cfi_blocklist_path = "//build/config/sanitizers/cfi_blocklist.txt"
616 configs = [ "//build/config/gcc:symbol_visibility_default" ]
625 config("cfi_config_debug") {
633 config("shadow_call_stack_config") {
662 config(target_name) {
715 config("common_integer_overflow_config_release") {
725 config("common_integer_overflow_config_debug") {
735 config("signed_integer_overflow_config") {
739 config("unsigned_integer_overflow_config") {