Files
brave-core/patches/components-policy-tools-template_writers-writer_configuration.py.patch
T
Michael Herrmann ac63b6881b Generate Windows Group Policy templates for Brave
It's possible to generate them when building on Windows via:

    npm run build -- --target=brave/components/policy:pack_policy_templates

The templates get placed in `brave_policy_templates.zip`.
2022-11-07 15:00:51 +01:00

10 lines
766 B
Diff

diff --git a/components/policy/tools/template_writers/writer_configuration.py b/components/policy/tools/template_writers/writer_configuration.py
index 259e467fee3e9280c512db87ab8f48ed09c20ed3..1e6b41f7853e1a5062c6a9e9c527da9c06e6a9d6 100755
--- a/components/policy/tools/template_writers/writer_configuration.py
+++ b/components/policy/tools/template_writers/writer_configuration.py
@@ -131,3 +131,4 @@ def GetConfigurationForBuild(defines):
config['mac_bundle_id'] = defines['mac_bundle_id']
config['android_webview_restriction_prefix'] = 'com.android.browser:'
return config
+from import_inline import inline_file_from_src; inline_file_from_src("brave/chromium_src/components/policy/tools/template_writers/writer_configuration.py", globals(), locals())