build_allow_electron_to_use_exec_script.patch 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
  2. From: Samuel Attard <[email protected]>
  3. Date: Fri, 21 Oct 2022 16:29:06 -0700
  4. Subject: build: allow electron to use exec_script
  5. This is similar to the //build usecase so we're OK adding ourselves here
  6. diff --git a/.gn b/.gn
  7. index 3f6571828197301361ebde2e19e8e3138597c276..9effa81a564c3d2afae3eb2bb7438635e45f124a 100644
  8. --- a/.gn
  9. +++ b/.gn
  10. @@ -172,4 +172,26 @@ exec_script_allowlist =
  11. "//tools/grit/grit_rule.gni",
  12. "//tools/gritsettings/BUILD.gn",
  13. +
  14. + "//electron/BUILD.gn",
  15. + "//third_party/electron_node/deps/ada/unofficial.gni",
  16. + "//third_party/electron_node/deps/base64/BUILD.gn",
  17. + "//third_party/electron_node/deps/base64/unofficial.gni",
  18. + "//third_party/electron_node/node.gni",
  19. + "//third_party/electron_node/unofficial.gni",
  20. + "//third_party/electron_node/deps/brotli/unofficial.gni",
  21. + "//third_party/electron_node/deps/cares/unofficial.gni",
  22. + "//third_party/electron_node/deps/googletest/unofficial.gni",
  23. + "//third_party/electron_node/deps/histogram/unofficial.gni",
  24. + "//third_party/electron_node/deps/llhttp/unofficial.gni",
  25. + "//third_party/electron_node/deps/nbytes/unofficial.gni",
  26. + "//third_party/electron_node/deps/ncrypto/unofficial.gni",
  27. + "//third_party/electron_node/deps/nghttp2/unofficial.gni",
  28. + "//third_party/electron_node/deps/ngtcp2/unofficial.gni",
  29. + "//third_party/electron_node/deps/openssl/unofficial.gni",
  30. + "//third_party/electron_node/deps/simdjson/unofficial.gni",
  31. + "//third_party/electron_node/deps/sqlite/unofficial.gni",
  32. + "//third_party/electron_node/deps/uv/unofficial.gni",
  33. + "//third_party/electron_node/deps/uvwasi/unofficial.gni",
  34. + "//third_party/electron_node/src/inspector/unofficial.gni",
  35. ]