aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn/gn_to_bp_utils.py
diff options
context:
space:
mode:
Diffstat (limited to 'gn/gn_to_bp_utils.py')
-rw-r--r--gn/gn_to_bp_utils.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/gn/gn_to_bp_utils.py b/gn/gn_to_bp_utils.py
index 65456408cd..78217a79db 100644
--- a/gn/gn_to_bp_utils.py
+++ b/gn/gn_to_bp_utils.py
@@ -45,6 +45,13 @@ def GrabDependentValues(js, name, value_type, list_to_extend, exclude):
def CleanupCFlags(cflags):
# Only use the generated flags related to warnings.
cflags = {s for s in cflags if s.startswith('-W')}
+ # Add additional warning suppressions so we can build
+ # third_party/vulkanmemoryallocator
+ cflags = cflags.union([
+ "-Wno-thread-safety-analysis",
+ "-Wno-missing-field-initializers",
+ "-Wno-unused-variable",
+ ])
# Add the rest of the flags we want.
cflags = cflags.union([
"-fvisibility=hidden",