Skip to content

Commit

Permalink
Suppress warning in Win32 VS 2022 Cobalt Build (#644)
Browse files Browse the repository at this point in the history
b/265873968

(cherry picked from commit b5a0219)
  • Loading branch information
arjungm committed Jun 28, 2023
1 parent c6a77b1 commit 995868c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion starboard/build/config/win/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,13 @@ config("host") {
}

config("common") {
configs = []

if (!cobalt_fastbuild) {
# Containers cannot use PDBs, so we conditionally disable them.
# We want to keep them for non-docker builds as they make compilation
# significantly faster.
configs = [ ":no_pdbs" ]
configs += [ ":no_pdbs" ]
}

cflags_cc = [ "/TP" ]
Expand All @@ -41,6 +43,9 @@ config("common") {
"UNICODE",
]

# Allows compilation against VS 2022.
configs += [ "//build/config/win:visual_studio_version_compat" ]

# msvs_base
# OutputDirectory and IntermediateDirectory, maybe CharacterSet
include_dirs += [
Expand Down

0 comments on commit 995868c

Please sign in to comment.