@@ -26,13 +26,13 @@ gcc_toolchain("chip_pw_fuzztest") {
26
26
forward_variables_from (pw_target_toolchain_host .clang_fuzz , " *" , [ " name" ])
27
27
28
28
toolchain_args = {
29
- # This is needed to have the defaults passed from pw_target_toolchain_host.clang_fuzz to the current scope
29
+ # This is needed to have the defaults passed from pw_target_toolchain_host.clang_fuzz to the current scope
30
30
forward_variables_from (defaults , " *" )
31
31
32
32
pw_unit_test_MAIN = " $dir_pw_fuzzer :fuzztest_main"
33
33
pw_unit_test_BACKEND = " $dir_pw_fuzzer :gtest"
34
34
35
- # below three lines are needed by gcc_toolchain template
35
+ # The next three lines are needed by the gcc_toolchain template
36
36
current_os = host_os
37
37
current_cpu = host_cpu
38
38
is_clang = true
@@ -43,7 +43,7 @@ gcc_toolchain("chip_pw_fuzztest") {
43
43
# discussion on: https://discord.com/channels/691686718377558037/1275092695764959232
44
44
remove_default_configs = [ " $dir_pw_toolchain /host_clang:linux_sysroot" ]
45
45
46
- # when is_debug = True , we pass -O0 to cflags and ldflags, while upstream pw_fuzzer toolchain defines "optimize_speed" config that passes -O2.
46
+ # when is_debug = true , we pass -O0 to cflags and ldflags, while upstream pw_fuzzer toolchain defines "optimize_speed" config that passes -O2.
47
47
# This condition was added to prevent mixing the flags
48
48
if (is_debug ) {
49
49
remove_default_configs += [ " $dir_pw_build :optimize_speed" ]
@@ -63,8 +63,8 @@ gcc_toolchain("chip_pw_fuzztest") {
63
63
dir_pw_third_party_fuzztest = " //third_party/fuzztest"
64
64
dir_pw_third_party_googletest = " //third_party/googletest"
65
65
66
- # TODO: Seems that re2 support within FuzzTest was deprecated, keeping it defined is giving warning
67
- # Remove if re2 is indeed not needed
66
+ # TODO: Seems that re2 support within FuzzTest was deprecated, keeping it defined is triggering warning
67
+ # Remove if re2 is indeed not needed
68
68
# dir_pw_third_party_re2 = "//third_party/re2/src"
69
69
}
70
70
}
0 commit comments