summaryrefslogtreecommitdiff
path: root/www-client/chromium/files
diff options
context:
space:
mode:
Diffstat (limited to 'www-client/chromium/files')
-rw-r--r--www-client/chromium/files/chromium-134-gn-exec_script_allowlist.patch64
1 files changed, 64 insertions, 0 deletions
diff --git a/www-client/chromium/files/chromium-134-gn-exec_script_allowlist.patch b/www-client/chromium/files/chromium-134-gn-exec_script_allowlist.patch
new file mode 100644
index 0000000..008e149
--- /dev/null
+++ b/www-client/chromium/files/chromium-134-gn-exec_script_allowlist.patch
@@ -0,0 +1,64 @@
+diff --git a/.gn b/.gn
+index 3f65718281..0170ef8d0f 100644
+--- a/.gn
++++ b/.gn
+@@ -145,31 +145,31 @@ no_check_targets = [
+ # this situation much easier to create. if the build always lists the
+ # files and passes them to a script, it will always be correct.
+
+-exec_script_allowlist =
+- build_dotfile_settings.exec_script_allowlist +
+- angle_dotfile_settings.exec_script_whitelist +
+- [
+- # Allowlist entries for //build should go into
+- # //build/dotfile_settings.gni instead, so that they can be shared
+- # with other repos. The entries in this list should be only for files
+- # in the Chromium repo outside of //build.
+- "//build_overrides/build.gni",
+-
+- "//chrome/android/webapk/shell_apk/prepare_upload_dir/BUILD.gn",
+- "//chrome/version.gni",
+-
+- # TODO(dgn): Layer violation but breaks the build otherwise, see
+- # https://crbug.com/474506.
+- "//clank/java/BUILD.gn",
+- "//clank/native/BUILD.gn",
+-
+- "//google_apis/BUILD.gn",
+- "//printing/BUILD.gn",
+-
+- "//remoting/host/installer/linux/BUILD.gn",
+- "//remoting/remoting_version.gni",
+- "//remoting/host/installer/win/generate_clsids.gni",
+-
+- "//tools/grit/grit_rule.gni",
+- "//tools/gritsettings/BUILD.gn",
+- ]
++#exec_script_allowlist =
++# build_dotfile_settings.exec_script_allowlist +
++# angle_dotfile_settings.exec_script_whitelist +
++# [
++# # Allowlist entries for //build should go into
++# # //build/dotfile_settings.gni instead, so that they can be shared
++# # with other repos. The entries in this list should be only for files
++# # in the Chromium repo outside of //build.
++# "//build_overrides/build.gni",
++#
++# "//chrome/android/webapk/shell_apk/prepare_upload_dir/BUILD.gn",
++# "//chrome/version.gni",
++#
++# # TODO(dgn): Layer violation but breaks the build otherwise, see
++# # https://crbug.com/474506.
++# "//clank/java/BUILD.gn",
++# "//clank/native/BUILD.gn",
++#
++# "//google_apis/BUILD.gn",
++# "//printing/BUILD.gn",
++#
++# "//remoting/host/installer/linux/BUILD.gn",
++# "//remoting/remoting_version.gni",
++# "//remoting/host/installer/win/generate_clsids.gni",
++#
++# "//tools/grit/grit_rule.gni",
++# "//tools/gritsettings/BUILD.gn",
++# ]