summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py')
-rw-r--r--www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py b/www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
index 488f666a4aad..4b50c6c1587f 100644
--- a/www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
+++ b/www/chromium/files/patch-tools_json__schema__compiler_cpp__bundle__generator.py
@@ -1,11 +1,11 @@
---- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2022-02-07 13:39:41 UTC
+--- tools/json_schema_compiler/cpp_bundle_generator.py.orig 2022-03-25 21:59:56 UTC
+++ tools/json_schema_compiler/cpp_bundle_generator.py
@@ -154,7 +154,7 @@ class CppBundleGenerator(object):
- # defined(OS_CHROMEOS) && BUILDFLAG(IS_CHROMEOS_LACROS).
+ # BUILDFLAG(IS_CHROMEOS) && BUILDFLAG(IS_CHROMEOS_LACROS).
ifdefs.append('BUILDFLAG(IS_CHROMEOS_LACROS)')
elif platform == Platforms.LINUX:
-- ifdefs.append('(defined(OS_LINUX) && !defined(OS_CHROMEOS))')
-+ ifdefs.append('(defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)')
+- ifdefs.append('BUILDFLAG(IS_LINUX)')
++ ifdefs.append('BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)')
elif platform == Platforms.MAC:
- ifdefs.append('defined(OS_MAC)')
+ ifdefs.append('BUILDFLAG(IS_MAC)')
elif platform == Platforms.WIN: