@@ -93,17 +93,28 @@ build:v8-codegen-opt --per_file_copt=external/com_google_absl@-O2
9393
9494# In Google projects, exceptions are not used as a rule. Disabling them is more consistent with the
9595# canonical V8 build and improves code size.
96- build --per_file_copt=external/com_google_absl@-fno-exceptions
97- build --per_file_copt=external/com_google_protobuf@-fno-exceptions
98- build --per_file_copt=external/com_google_tcmalloc@-fno-exceptions
99- build --per_file_copt=external/com_googlesource_chromium_icu@-fno-exceptions
100- build --per_file_copt=external/perfetto@-fno-exceptions
101- build --per_file_copt=external/ssl@-fno-exceptions
102- build --per_file_copt=external/v8@-fno-exceptions
103- build --per_file_copt=external/ada-url@-fno-exceptions
104- build --per_file_copt=external/simdutf@-fno-exceptions
96+ build:unix --per_file_copt=external/com_google_absl@-fno-exceptions
97+ build:unix --per_file_copt=external/com_google_protobuf@-fno-exceptions
98+ build:unix --per_file_copt=external/com_google_tcmalloc@-fno-exceptions
99+ build:unix --per_file_copt=external/com_googlesource_chromium_icu@-fno-exceptions
100+ build:unix --per_file_copt=external/perfetto@-fno-exceptions
101+ build:unix --per_file_copt=external/ssl@-fno-exceptions
102+ build:unix --per_file_copt=external/v8@-fno-exceptions
103+ build:unix --per_file_copt=external/ada-url@-fno-exceptions
104+ build:unix --per_file_copt=external/simdutf@-fno-exceptions
105+ build:windows --per_file_copt=external/com_google_absl@/GX-
106+ build:windows --per_file_copt=external/com_google_protobuf@/GX-
107+ build:windows --per_file_copt=external/com_google_tcmalloc@/GX-
108+ build:windows --per_file_copt=external/com_googlesource_chromium_icu@/GX-
109+ build:windows --per_file_copt=external/perfetto@/GX-
110+ build:windows --per_file_copt=external/ssl@/GX-
111+ build:windows --per_file_copt=external/v8@/GX-
112+ build:windows --per_file_copt=external/ada-url@/GX-
113+ build:windows --per_file_copt=external/simdutf@/GX-
114+
105115# V8 torque is an exception from this policy, see v8 BUILD.gn.
106- build --per_file_copt=external/v8/src/torque@-fexceptions
116+ build:unix --per_file_copt=external/v8/src/torque@-fexceptions
117+ build:windows --per_file_copt=external/v8/src/torque@/GX
107118
108119# Disable relaxing all jumps during LLVM codegen under -O0, which previously led to build
109120# performance improvements but makes code size worse. This will be the default in LLVM19.
0 commit comments